Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logout.html #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 52 additions & 49 deletions logout.html
Original file line number Diff line number Diff line change
@@ -1,66 +1,69 @@
<html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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">
<title>mikrotik hotspot > logout</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<link href="css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
<style>
body {
background: url(background.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.card {
width: 100%;
max-width: 400px;
margin: 0 auto;
}
</style>
</head>

<body>
<script language="JavaScript">
<!--
function openLogin() {
if (window.name != 'hotspot_logout') return true;
open('$(link-login)', '_blank', '');
window.close();
return false;
}
//-->
<script>
function openLogin() {
if (window.name != 'hotspot_logout') return true;
open('$(link-login)', '_blank', '');
window.close();
return false;
}
</script>
<div class="page-header" align="center">
<!-- TODO:
* Change To fit your Hotspot name
* Ganti ke nama Hotspot anda
-->
<h1 style="color:#323131;text-shadow: 2px 2px 4px #FFFFFF;">iBNuX hotspot<br />
<small>Wireless Internet</small></h1>

<div class="text-center mt-5">
<h1 class="text-dark" style="text-shadow: 2px 2px 4px #FFFFFF;">iBNuX Hotspot<br />
<small>Wireless Internet</small>
</h1>
</div>

<div class="container-fluid">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">you have just logged out</h3>
</div>
<table class="table" border="1">
<tr><td align="right">user name</td><td>$(username)</td></tr>
<tr><td align="right">IP address</td><td>$(ip)</td></tr>
<tr><td align="right">MAC address</td><td>$(mac)</td></tr>
<tr><td align="right">session time</td><td>$(uptime)</td></tr>
$(if session-time-left)
<tr><td align="right">time left</td><td>$(session-time-left)</td></tr>
$(endif)
<tr><td align="right">bytes up/down:</td><td>$(bytes-in-nice) / $(bytes-out-nice)</td></tr>
</table>
<div class="panel-footer">
<form action="$(link-login)" name="login" onSubmit="return openLogin()">
<input type="submit" class="btn btn-primary btn-block" value="log in">
</form>
</div>
</div>
</div>
</div>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="card">
<div class="card-header bg-primary text-white">
<h3 class="card-title">You have just logged out</h3>
</div>
<div class="card-body">
<table class="table table-bordered">
<tr><td align="right">User Name:</td><td>$(username)</td></tr>
<tr><td align="right">IP Address:</td><td>$(ip)</td></tr>
<tr><td align="right">MAC Address:</td><td>$(mac)</td></tr>
<tr><td align="right">Session Time:</td><td>$(uptime)</td></tr>
$(if session-time-left)
<tr><td align="right">Time Left:</td><td>$(session-time-left)</td></tr>
$(endif)
<tr><td align="right">Bytes Up/Down:</td><td>$(bytes-in-nice) / $(bytes-out-nice)</td></tr>
</table>
</div>
<div class="card-footer">
<form action="$(link-login)" name="login" onSubmit="return openLogin()">
<input type="submit" class="btn btn-primary btn-block" value="Log In">
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>