-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogout.html
44 lines (40 loc) · 1.38 KB
/
logout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<title>Internet hotspot - Log out</title>
<link rel="stylesheet" href="css/style.css">
<script>
function openLogin() {
if (window.name != 'hotspot_logout') return true;
open('$(link-login)', '_blank', '');
window.close();
return false;
}
</script>
</head>
<body>
<div class="ie-fixMinHeight">
<div class="main">
<div class="wrap">
<h1>You have just logged out!</h1>
<table>
<tr><td>Username</td><td>$(username)</td></tr>
<tr><td>IP address</td><td>$(ip)</td></tr>
<tr><td>MAC address</td><td>$(mac)</td></tr>
<tr><td>Session time</td><td>$(uptime)</td></tr>
$(if session-time-left)
<tr><td>Time left</td><td>$(session-time-left)</td></tr>
$(endif)
<tr><td>Bytes up / down:</td><td>$(bytes-in-nice) / $(bytes-out-nice)</td></tr>
</table>
<form action="$(link-login)" name="login" onSubmit="return openLogin()">
<input type="submit" value="Log in">
</form>
</div>
</div>
</div>
</body>
</html>