-
Notifications
You must be signed in to change notification settings - Fork 4
/
status.html
153 lines (144 loc) · 4.97 KB
/
status.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<!--
This is a starter template page. Use this page to start your new project from
scratch. This page gets rid of all links and provides the needed markup only.
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Status</title>
$(if refresh-timeout)
<meta http-equiv="refresh" content="$(refresh-timeout-secs)">
$(endif)
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="assets/all.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="assets/adminlte.min.css">
<!-- Google Font: Source Sans Pro -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
<style>
.content {
background-color: grey;
background-image: url("img/pattern.png");
background-repeat: repeat;
}</style>
<script>
function openLogout() {
if (window.name != 'hotspot_status') return true;
open('$(link-logout)', 'hotspot_logout', 'toolbar=0,location=0,directories=0,status=0,menubars=0,resizable=1,width=280,height=250');
window.close();
return false;
}
</script>
</head>
<body class="hold-transition layout-top-nav">
<div class="wrapper">
<!-- Navbar -->
<nav class="main-header navbar navbar-expand-md navbar-dark navbar-primary">
<div class="container">
<button class="navbar-toggler order-1" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="#">
<img src="img/logo.png" alt="ochinetlogo" class="brand-image" width="150">
</a>
<div class="collapse navbar-collapse order-3" id="navbarCollapse">
<!-- Left navbar links -->
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a href="login.html" class="nav-link">Login</a>
</li>
<li class="nav-item">
<a href="status" class="nav-link">Status</a>
</li>
<li class="nav-item">
<a href="paket.html" class="nav-link">Harga Paket</a>
</li>
</ul>
</ul>
</div>
</div>
</nav>
<!-- /.navbar -->
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<div class="content">
<div class="container py-5">
<div class="row justify-content-md-center">
<div class="col-lg-6 auto">
<div class="card card-primary">
<div class="card-header">
<h5 class="card-title m-0">Status</h5>
</div>
<div class="col-lg-12 my-3 text-center">
<p class="h6">~ Selamat ~<p>
<p>Anda sudah terhubung ke internet</p>
</div>
<div class="card-body table-responsive p-0">
<table class="table table-striped">
<tbody>
<tr>
<td>IP Address</td>
<td><i class="fas fa-caret-right"></i></td>
<td>$(ip)</td>
</tr>
<tr>
<td>MAC Address</td>
<td><i class="fas fa-caret-right"></i></td>
<td>$(mac)</td>
</tr>
<tr>
<td>Upload / Download</td>
<td><i class="fas fa-caret-right"></i></td>
<td>$(bytes-in-nice) / $(bytes-out-nice)</td>
</tr>
<tr>
<td>Aktif</td>
<td><i class="fas fa-caret-right"></i></td>
<td>$(uptime)</td>
</tr>
$(if session-time-left)
<tr>
<td>Sisa Waktu</td>
<td><i class="fas fa-caret-right"></i></td>
<td>$(session-time-left)</td>
</tr>
$(endif)
<tr>
<td>Status Refresh</td>
<td><i class="fas fa-caret-right"></i></td>
<td>$(refresh-timeout)</td>
</tbody>
</table>
</div>
<div class="col-sm my-4">
<form action="$(link-logout)" name="logout" onSubmit="return openLogout()">
$(if login-by-mac != 'yes')<button type="submit" class="btn btn-primary btn-block mb-2" value="log off"><i class="pr-2 fas fa-sign-out-alt"></i> LOGOUT</button>$(endif)
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="main-footer">
<strong>Copyright © 2019-2020 <a href="http://troke.id">troke.id</a>.</strong> All rights
reserved.
</footer>
</div>
</div>
<!-- ./wrapper -->
<!-- REQUIRED SCRIPTS -->
<!-- jQuery -->
<script src="assets/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="assets/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="assets/adminlte.min.js"></script>
</body>
</html>