-
Notifications
You must be signed in to change notification settings - Fork 0
/
logout.html
136 lines (132 loc) · 5.67 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Keluar - Voucher WiFi Hotspot</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<!-- Bootstrap icons-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" rel="stylesheet" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
<!-- Custom CSS -->
<link href="css/custom.css" rel="stylesheet" />
<script>
function openLogin() {
if (window.name != 'hotspot_logout') return true;
open('$(link-login)', '_blank', '');
window.close();
return false;
}
</script>
</head>
<body>
<!-- Navigation-->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container px-4 px-lg-5">
<a class="navbar-brand" href="#!">Voucher WiFi</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0 ms-lg-4">
<li class="nav-item"><a class="nav-link active" aria-current="page" href="#!">Utama</a></li>
<li class="nav-item"><a class="nav-link" href="#!">Tentang</a></li>
</ul>
<form class="d-flex">
<button class="btn btn-outline-dark" type="submit">
<i class="bi-telephone-fill me-1"></i>
Hubungi Kami
</button>
</form>
</div>
</div>
</nav>
<!-- Header-->
<header class="bg-dark py-5">
<div class="container px-4 px-lg-5">
<div class="text-center text-white">
<h1 class="display-4 fw-bolder">Voucher WiFi</h1>
<p class="lead fw-normal text-white-50 mb-0">Hotspot</p>
</div>
</div>
</header>
<!-- Section -->
<section class="py-5">
<div class="wrapper fadeInDown">
<div id="formContent">
<h4 class="mt-3">STATUS</h4>
<small class="text-warning">Anda baru saja keluar!</small>
<div class="m-4 table-responsive">
<table class="table">
<tbody>
<tr>
<th scope="row">Kode Voucher</th>
<td>$(username)</td>
</tr>
<tr>
<th scope="row">Alamat IP</th>
<td>$(ip)</td>
</tr>
<tr>
<th scope="row">Alamat MAC</th>
<td>$(mac)</td>
</tr>
$(if session-time-left)
<tr>
<th scope="row">Terhubung / Sisa</th>
<td>$(uptime) / $(session-time-left)</td>
</tr>
$(else)
<tr>
<th scope="row">Terhubung</th>
<td>$(uptime)</td>
</tr>
$(endif)
<tr>
<th scope="row">Unduh / Unggah</th>
<td>$(bytes-out-nice) / $(bytes-in-nice)</td>
</tr>
$(if limit-bytes-total)
<tr>
<th scope="row">Sisa Kuota</th>
<td>
$(if limit-bytes-total != '')
<script>
result = ($(limit - bytes - total) / 1000000).toFixed(2)
document.write(result)
</script>
MiB $(else) Unlimited $(endif)
</td>
</tr>
$(endif) $(if refresh-timeout)
<tr>
<th scope="row">Status refresh</th>
<td>$(refresh-timeout)</td>
</tr>
$(endif)
</tbody>
</table>
<form action="$(link-login)" name="login" onSubmit="return openLogin()">
<input type="submit" value="Log in">
</form>
</div>
</div>
</div>
</section>
<!-- Footer-->
<footer class="py-5 bg-dark">
<div class="container">
<p class="m-0 text-center text-white">
© Voucher WiFi 2021 by
<a href="">Villamas</a>
</p>
</div>
</footer>
<!-- Bootstrap core JS-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
</body>
</html>