Some clean-up and new additions:

- New entry to the News page
- Made titles of the various pages more consistent within the head tags
- Added some accessibility tweaks: titles to iframes, meta description tags and labels to input tags
- Removed version pinning from cpanfile that was no longer needed
This commit is contained in:
swagg boi 2021-06-10 20:41:27 -04:00
parent 48bf2dea84
commit e46e0b78c4
7 changed files with 48 additions and 13 deletions

View file

@ -56,7 +56,8 @@ footer =
if cgi_env['address'] =~ /[a-fA-F:]/
cgi.img(easter_egg) + cgi.br + "\n" + cgi.br + "\n" + footer
else
'<iframe width="560"
'<iframe title="Jackie chan who am I roar! video"
width="560"
height="315"
src="https://www.youtube-nocookie.com/embed/QOQ2JxIddzw"
frameborder="0" allow="accelerometer;

View file

@ -4,9 +4,5 @@ requires 'Mojolicious';
requires 'Mojolicious::Plugin::CGI';
requires 'Number::Format';
requires 'Regexp::Common';
# Version 0.106 of Getopt::Long::Descriptive won't build for me; as
# it's just a dependency for WebService::Mattermost anyways let's just
# go with 0.105 since we know that works
requires 'Getopt::Long::Descriptive', '<= 0.105';
requires 'WebService::Mattermost';
requires 'WebService::Mattermost', '>= 0.25';
requires 'XML::LibXML';

View file

@ -1,4 +1,4 @@
% title 'Swagg::Net Homepage';
% title 'Homepage';
% layout 'swagg';
<div class="inner">
<center>
@ -31,8 +31,8 @@
+--------------------------+<br>
</div>
<div class="inner">
<p><input type="radio" onclick="blinkIt();">
Make HTML <span id="blink">&lt;blink&gt;</span> again!!</p>
<p><label><input type="radio" onclick="blinkIt();">
Make HTML <span id="blink">&lt;blink&gt;</span> again!!</label></p>
</div>
<!-- Source: https://www.w3docs.com/learn-html/html-blink-tag.html -->
<script>
@ -67,7 +67,8 @@
give it one. Maybe some wayward network nerd standing up an IPv6 lab
will find this useful :)
</p>
<iframe src="/ula6" width="720" style="border:none;"></iframe>
<iframe title="ULA Generator" src="/ula6" width="720" style="border:none;">
</iframe>
<p>
<i>Limit of 1,208,925,819,614,629,174,706,176 ULA addresses per
customer.</i>

View file

@ -3,7 +3,8 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= title %></title>
<meta name="description" content="Swagg::Net - <%= title %>">
<title>Swagg::Net - <%= title %></title>
<link rel="stylesheet" type="text/css" href="/css/swagg.css">
</head>
<body>

View file

@ -6,6 +6,41 @@
<div class="outer">
+--------------------------+<br>
</div>
<div class="inner">
<br>
06/08/2021 - <b>New ISP</b><br>
<br>
</div>
<div class="outer">
+--------------------------+<br>
</div>
<div class="inner">
<p>
Once again in the process of moving and I've subscribed to a new
ISP. This comes with some good news and some bad news. Good news
is it's a fiber connection that will be much faster. The bad news
is it is not a business class connection like my previous
connection was (as I wouldn't have been able to afford a business
class fiber connection) which limits the support I'll get from the
ISP I'm sure. For example IPv6 support appears to be
non-existant. This means www and ipv6.swagg.net will still carry
on (as they're migrated to the cloud) however the hostnames I have
self-hosted still such as chat and mirror.swagg.net will not. Also
as I haven't moved just yet, there will be downtime when I move
the gear this weekend (6/11/2021 - 6/13/2021).
</p>
<p>
I hope to restore IPv6 support one way or another... If the ISP
won't support this then I'll be left to implement some sort of
tunnel. I performed a tcpdump from my new firewall and haven't
seen any IPv6 traffic outside of the firewall throwing out
unanswered DHCPv6 requests but other subscribers in my area report
IPv6 being turned on throughout this year. More to come...
</p>
</div>
<div class="outer">
+--------------------------+<br>
</div>
<div class="inner">
<br>
6/25/2020 - <b>Major Downtime Coming</b><br>

View file

@ -5,6 +5,7 @@
+--------------------------+<br>
<h3>Search the Web</h3>
<iframe
title="Search the Web"
src="https://duckduckgo.com/search.html?width=415&duck=yes&prefill=Search DuckDuckGo&bgcolor=000"
style="overflow:hidden;margin:0;padding:0;width:548px;height:60px;"
frameborder="0">

View file

@ -4,8 +4,8 @@
<p>Your IPv6 ULA prefix is <%= $ula6 %>.</p>
<% } else { %>
<form action="/ula6" method="get">
MAC address:<br>
<input type="text" name="macaddr"><br>
<label>MAC address:<br>
<input type="text" name="macaddr"></label><br>
<br>
<input type="submit" value="Submit">
</form>