Skip to content

Commit

Permalink
Merge pull request #293 from nodogsplash/html-updates
Browse files Browse the repository at this point in the history
Custom tag names - html 5.2 compliance
  • Loading branch information
bluewavenet committed Sep 5, 2018
2 parents c028e62 + 08eeaaa commit d6d0f38
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 33 deletions.
8 changes: 4 additions & 4 deletions resources/splash.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,27 @@ input[type=submit] {
border-style: inset;
}

med_blue {
med-blue {
font-size: 1.3em;
color: blue;
font-weight: bold;
font-style: normal;
}

big_red {
big-red {
font-size: 1.7em;
color: red;
font-weight: bold;
}

italic_black {
italic-black {
font-size: 1.3em;
color: black;
font-weight: bold;
font-style: italic;
}

copyright {
copy-right {
font-size: 0.7em;
color: darkgrey;
font-weight: bold;
Expand Down
34 changes: 17 additions & 17 deletions resources/splash.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="shortcut icon" href="/$imagesdir/splash.jpg" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/splash.css">

<title>$gatewayname Hotspot Gateway.</title>

<!--
Content:
Nodogsplash (NDS), by default, serves this splash page (splash.html)
Expand Down Expand Up @@ -40,43 +51,32 @@
authtarget: $authtarget
clientip: $clientip
clientmac: $clientmac
clientupload: $clientupload
clientdownload: $clientdownload
gatewaymac: $gatewaymac
nclients: $nclients
maxclients: $maxclients
uptime: $uptime
imagesdir: $imagesdir
pagesdir: $pagesdir
clientupload: $clientupload
clientdownload: $clientdownload
Additional Variables that can be passed back via the HTTP get,
or appended to the query string of the authtarget link:
username
password
-->

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="shortcut icon" href="/$imagesdir/splash.jpg" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/splash.css">

<title>$gatewayname Hotspot Gateway.</title>

</head>

<body>
<med_blue>$gatewayname Hotspot Gateway.</med_blue>
<med-blue>$gatewayname Hotspot Gateway.</med-blue>
<br><br>
<img src="$imagesdir/splash.jpg" alt="Splash Page: For access to the Internet, please click Continue.">
<hr>
<big_red>Welcome!</big_red>
<big-red>Welcome!</big-red>
<hr>
<br>
<italic_black>For access to the Internet, please tap or click Continue.</italic_black>
<italic-black>For access to the Internet, please tap or click Continue.</italic-black>
<br><br>
<hr>

Expand All @@ -87,7 +87,7 @@
</form>

<hr>
<copyright>Copyright &copy; The Nodogsplash Contributors 2004-2018.<br>This software is released under the GNU GPL license.</copyright>
<copy-right>Copyright &copy; The Nodogsplash Contributors 2004-2018.<br>This software is released under the GNU GPL license.</copy-right>

</body>
</html>
25 changes: 13 additions & 12 deletions resources/status.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<!--
Status:
The Status page is served to a client if they are already authenticated.
This may occur if the client user selects "Back" on the CPD browser
screen after they have successfully authenticated.
The same template variables are available as for the splash page.
-->

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
Expand All @@ -21,20 +13,29 @@

<title>$gatewayname Hotspot Gateway Status</title>

<!--
Status:
The Status page is served to a client if they are already authenticated.
This may occur if the client user selects "Back" on the CPD browser
screen after they have successfully authenticated.
The same template variables are available as for the splash page.
-->

</head>

<body>

<med_blue>$gatewayname Hotspot Gateway.</med_blue>
<med-blue>$gatewayname Hotspot Gateway.</med-blue>
<br><br>
<img src="$imagesdir/splash.jpg" alt="You are already logged in and have access to the Internet.">
<hr>
<p><big_red>You are already logged in and have access to the Internet.</big_red></p>
<p><big-red>You are already logged in and have access to the Internet.</big-red></p>
<hr>
<p><italic_black>You can use your Browser, Email and other network Apps as you normally would.</italic_black></p>
<p><italic-black>You can use your Browser, Email and other network Apps as you normally would.</italic-black></p>

<hr>
<copyright>Copyright &copy; The Nodogsplash Contributors 2004-2018.<br>This software is released under the GNU GPL license.</copyright>
<copy-right>Copyright &copy; The Nodogsplash Contributors 2004-2018.<br>This software is released under the GNU GPL license.</copy-right>

</body>
</html>

0 comments on commit d6d0f38

Please sign in to comment.