mirror of
https://github.com/openNDS/openNDS.git
synced 2026-01-14 22:27:57 -05:00
Make status.html say something meaningful. Tidy up splash.html a bit Signed-off-by: Rob White <rob@blue-wave.net>
96 lines
2.3 KiB
HTML
96 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!--
|
|
A client is authenticated by requesting the page $authtarget.
|
|
So, href to it here, with an img or link text the user can click on.
|
|
Alternatively submit an HTTP form method=get, passing $authaction, $tok and $redir
|
|
Also, note that any images you reference must reside in the
|
|
subdirectory that is the value of $imagesdir (default: "images").
|
|
|
|
Available variables:
|
|
error_msg: $error_msg
|
|
gatewayname: $gatewayname
|
|
tok: $tok
|
|
redir: $redir
|
|
authaction: $authaction
|
|
denyaction: $denyaction
|
|
authtarget: $authtarget
|
|
clientip: $clientip
|
|
clientmac: $clientmac
|
|
gatewaymac: $gatewaymac
|
|
nclients: $nclients
|
|
maxclients: $maxclients
|
|
uptime: $uptime
|
|
imagesdir: $imagesdir
|
|
pagesdir: $pagesdir
|
|
uploadedbytes: $uploadedbytes
|
|
downloadedbytes: $downloadedbytes
|
|
|
|
Additional Variables that can also be passed back via HTTP get.
|
|
Or just append them to the authentication 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' />
|
|
<title>$gatewayname Entry</title>
|
|
|
|
<style>
|
|
body {
|
|
background-color:lightgrey;
|
|
color:black;
|
|
margin-left: 5%;
|
|
margin-right: 5%;
|
|
text-align: left;
|
|
}
|
|
|
|
img {
|
|
width: 40%;
|
|
max-width: 180px;
|
|
margin-left: 0%;
|
|
margin-right: 5%;
|
|
}
|
|
|
|
input[type=submit] {
|
|
color:black;
|
|
margin-left: 0%;
|
|
margin-right: 5%;
|
|
text-align:left;
|
|
font-size: 1.0em;
|
|
line-height: 2.5em;
|
|
font-weight: bold;
|
|
border: 2px solid;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<b>$gatewayname Hotspot Gateway.</b>
|
|
<br><br>
|
|
<img src="$imagesdir/splash.jpg" alt="Splash Page:For access to the Internet, please click Continue.">
|
|
<hr>
|
|
<b style="font-size:1.5em; font-style:normal; color:red;">Welcome!</b>
|
|
<hr>
|
|
<br>
|
|
<b style="font-size:1.5em; color:green; font-style:italic;">For access to the Internet, please click Continue.</b>
|
|
<br>
|
|
<br>
|
|
<hr>
|
|
|
|
<form method='get' action='$authaction'>
|
|
<input type='hidden' name='tok' value='$tok'>
|
|
<input type='hidden' name='redir' value='$redir'>
|
|
<input type='submit' value='Continue'>
|
|
</form>
|
|
|
|
<hr>Copyright (C) 2004-2018. This software is released under the GNU GPL license.
|
|
|
|
</body>
|
|
</html>
|