-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmikrotik_nas_admin.html
355 lines (336 loc) · 14.6 KB
/
mikrotik_nas_admin.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="cache-control" content="no-store" /> <!-- no-cache nao funciona em todos os browsers -->
<!-- Add jQuery library -->
<script type="text/javascript" src="assets/jquery-1.10.1.min.js"></script>
<!-- Add mousewheel plugin (this is optional) - good to scrool iframes pages -->
<script type="text/javascript" src="assets/jquery.mousewheel-3.0.6.pack.js"></script>
<!-- Add fancyBox main JS and CSS files -->
<script type="text/javascript" src="assets/jquery.fancybox.js?v=2.1.5"></script>
<script type="text/javascript">$(document).ready(function(){$('.fancybox').fancybox();});/*Uses default settings*/</script>
<link rel="stylesheet" type="text/css" href="assets/jquery.fancybox.css?v=2.1.5" media="screen" />
<title>Informações do Dispositivo</title>
</head>
<!--
* Mikrotik NAS Admin Interface
*
* Interface de exemplo para administrar NAS
*
* PHP versions 5 and 7
*
* LICENSE: This source file is subject to version 3 of the GNU license
* that is available through the world-wide-web at the following URI:
* https://www.gnu.org/licenses/gpl.txt. If you did not receive a copy of
* the GNU License and are unable to obtain it through the web, please
* send a note to gnu@gnu.org so we they can mail you a copy immediately.
*
* @category Servers
* @package Mikrotik
* @author costa <deepcell@gmail.com>
* @copyright Free to use and change under the terms of the license.
* @license https://www.gnu.org/licenses/gpl.txt GNU License Version 3
* @version 0.1
* @link https://github.com/deepcell/Mikrotik
* @see ..
* @since File available since Release 0.1
* @deprecated ..
-->
<body>
<div align="center">
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" colspan="3" bgcolor="#C0C0C0">
<font face="Arial" size="5"><strong>#NAME# (#ARCHITECTURE#)</strong></font></td>
</tr>
<tr>
<td width="33%" align="left"><font face="Arial" color="#FFFFFF">
<span style="font-size: 5pt">.</span></font></td>
<td width="34%" align="center"><font face="Arial" color="#FFFFFF">
<span style="font-size: 5pt">.</span></font></td>
<td width="33%" align="right">
<font face="Arial" color="#FFFFFF"><span style="font-size: 5pt">.</span></font></td>
</tr>
<tr>
<td width="33%" align="left" bgcolor="#C0C0C0"><font face="Arial" size="2"><b>
Informações do Dispositivo:</b></font></td>
<td width="34%" align="center" bgcolor="#C0C0C0"> </td>
<td width="33%" align="right" bgcolor="#C0C0C0">
<p align="right"><font face="Arial" size="2"><b>Uptime: #UPTIME# </b></font></td> <!-- (mo/w/d/hh/mm/ss) -->
</tr>
<tr>
<td width="33%" align="left"><font face="Arial" size="2">OS: #PLATFORM#</font></td>
<td width="34%" align="center"><font face="Arial" size="2">Plataforma: #BOARD_NAME#</font></td>
<td width="33%" align="right">
<font face="Arial" size="2">Versão: #VERSION# - #ARCHITECTURE_NAME# - Level: #LEVEL#</font></td>
</tr>
<tr>
<td width="33%" align="left"> </td>
<td width="34%" align="center"> </td>
<td width="33%" align="right"> </td>
</tr>
</table>
<p> </p>
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="35%" align="left" valign="top" bgcolor="#C0C0C0"><b><font face="Arial" size="2">Informações da CPU:</font></b></td>
<td width="45%" align="center" colspan="2" valign="top" bgcolor="#C0C0C0"><font face="Arial" size="2">#CPU# (#CPU_FREQUENCY# Mhz) #CPU_COUNT# Core(s) Disponível(is)</font></td>
<td width="20%" align="right" valign="top" bgcolor="#C0C0C0"><b><font face="Arial" size="2">Uso em #CPU_LOAD#%</font></b></td>
</tr>
<tr>
<td width="50%" align="center" colspan="2">
<font color="#FFFFFF" style="font-size: 5pt" face="Arial">.</font></td>
<td width="50%" align="center" colspan="2">
<font color="#FFFFFF" style="font-size: 5pt" face="Arial">.</font></td>
</tr>
<tr>
<td width="50%" align="center" colspan="2" bgcolor="#C0C0C0">
<font face="Arial" size="2">Últimas 24h</font></td>
<td width="50%" align="center" colspan="2" bgcolor="#C0C0C0">
<font face="Arial" size="2">Últimos 7 dias</font></td>
</tr>
<tr><td colspan=4>#SERVER_PORT_ERROR#</td></tr>
<tr>
<td width="50%" align="left" colspan="2">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/cpu/daily.gif" width="370" height="170"></td>
<td width="50%" align="left" colspan="2">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/cpu/weekly.gif" width="370" height="170"></td>
</tr>
<tr>
<td width="35%" align="left"> </td>
<td width="45%" align="center" colspan="2"> </td>
<td width="20%" align="right">
</td>
</tr>
</table>
<p> </p>
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" align="left" bgcolor="#C0C0C0"><font face="Arial" size="2"><b>Memória RAM:</b></font></td>
<td width="34%" align="center" bgcolor="#C0C0C0"><font face="Arial" size="2">Total: #TOTAL_MEMORY# Kb</font></td>
<td align="right" width="33%" bgcolor="#C0C0C0"><font face="Arial" size="2">Livre: #FREE_MEMORY# Kb (#FREE_MEMORY_PERC#%) </font></td>
</tr>
<tr>
<td width="33%" align="center">
<font face="Arial" style="font-size: 5pt" color="#FFFFFF">.</font></td>
<td width="34%" align="center">
<font face="Arial" style="font-size: 5pt" color="#FFFFFF">.</font></td>
<td width="33%" align="center">
<font face="Arial" style="font-size: 5pt" color="#FFFFFF">.</font></td>
</tr>
<tr>
<td width="33%" align="center" bgcolor="#C0C0C0"><font face="Arial" size="2">Últimas 24 horas</font></td>
<td width="34%" align="center" bgcolor="#C0C0C0"><font face="Arial" size="2">Últimos 7 dias</font></td>
<td width="33%" align="center" bgcolor="#C0C0C0"><font face="Arial" size="2">Últimos 30 dias</font></td>
</tr>
<tr><td colspan=6>#SERVER_PORT_ERROR#</td></tr>
<tr>
<td width="33%" align="left">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/ram/daily.gif" width="250" height="170"></td>
<td width="34%" align="center">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/ram/weekly.gif" width="250" height="170"></td>
<td width="33%" align="right">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/ram/monthly.gif" width="250" height="170"></td>
</tr>
<tr>
<td width="33%" align="left"> </td>
<td width="34%" align="center"> </td>
<td width="33%" align="right"> </td>
</tr>
</table>
<p> </p>
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" align="left" bgcolor="#C0C0C0"><font face="Arial" size="2"><b>HD/SD:</b></font></td>
<td width="25%" align="left" bgcolor="#C0C0C0"><font face="Arial" size="2">Total: #TOTAL_HDD_SPACE# kb</font></td>
<td width="25%" align="left" bgcolor="#C0C0C0"> </td>
<td width="25%" align="left" bgcolor="#C0C0C0"><font face="Arial" size="2">Livre: #FREE_HDD_SPACE# kb (#FREE_HDD_SPACE_PERC#%)</font></td>
</tr>
<tr>
<td width="25%" align="left" bgcolor="#C0C0C0"><font face="Arial" size="2"><b>Setores:</b></font></td>
<td width="25%" align="left" bgcolor="#C0C0C0"><font face="Arial" size="2">Em Branco: #WRITE_SECT_TOTAL#</font></td>
<td width="25%" align="left" bgcolor="#C0C0C0"><font face="Arial" size="2">Desde Reboot: #WRITE_SECT_SINCE_REBOOT#</font></td>
<td width="25%" align="left" bgcolor="#C0C0C0"><font face="Arial" size="2">Bad Blocks: #BAD_BLOCKS#%</font></td>
</tr>
<tr>
<td width="25%" align="left"><font face="Arial" color="#FFFFFF">
<span style="font-size: 5pt">.</span></font></td>
<td width="25%" align="left"><font face="Arial" color="#FFFFFF">
<span style="font-size: 5pt">.</span></font></td>
<td width="25%" align="left"><font face="Arial" color="#FFFFFF">
<span style="font-size: 5pt">.</span></font></td>
<td width="25%" align="left"><font face="Arial" color="#FFFFFF">
<span style="font-size: 5pt">.</span></font></td>
</tr>
</table>
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" align="center" bgcolor="#C0C0C0">
<font face="Arial" size="2">Últimas 24 horas</font></td>
<td width="34%" align="center" bgcolor="#C0C0C0">
<font face="Arial" size="2">Últimos 7 dias</font></td>
<td width="33%" align="center" bgcolor="#C0C0C0">
<font face="Arial" size="2">Últimos 30 dias</font></td>
</tr>
<tr><td colspan=6>#SERVER_PORT_ERROR#</td></tr>
<tr>
<td width="33%" align="left">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/hdd/daily.gif" width="250" height="170"></td>
<td width="34%" align="center">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/hdd/weekly.gif" width="250" height="170"></td>
<td width="33%" align="right">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/hdd/monthly.gif" width="250" height="170"></td>
</tr>
<tr>
<td width="33%" align="left"> </td>
<td width="34%" align="center"> </td>
<td width="33%" align="right"> </td>
</tr>
</table>
<p> </p>
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" align="left" bgcolor="#C0C0C0"><b><font face="Arial" size="2">Consumo
da interface de saída:</font></b></td>
<td width="34%" align="center" bgcolor="#C0C0C0"> </td>
<td align="right" width="33%" bgcolor="#C0C0C0"> </td>
</tr>
<tr>
<td width="33%" align="center">
<font face="Arial" color="#FFFFFF" style="font-size: 5pt">.</font></td>
<td width="34%" align="center">
<font face="Arial" color="#FFFFFF" style="font-size: 5pt">.</font></td>
<td width="33%" align="center">
<font face="Arial" color="#FFFFFF" style="font-size: 5pt">.</font></td>
</tr>
<tr>
<td width="33%" align="center" bgcolor="#C0C0C0"><font face="Arial" size="2">Últimas
24 horas</font></td>
<td width="34%" align="center" bgcolor="#C0C0C0"><font face="Arial" size="2">Últimos 7 dias</font></td>
<td width="33%" align="center" bgcolor="#C0C0C0"><font face="Arial" size="2">Últimos 30 dias</font></td>
</tr>
<tr><td colspan=6>#SERVER_PORT_ERROR#</td></tr>
<tr>
<td width="33%" align="left">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/iface/pppoe%2D15419/daily.gif" width="250" height="170"></td>
<td width="34%" align="center">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/iface/pppoe%2D15419/weekly.gif" width="250" height="170"></td>
<td width="33%" align="right">
<img border="0" src="//#SERVER_IP#:#SERVER_PORT#/graphs/iface/pppoe%2D15419/monthly.gif" width="250" height="170"></td>
</tr>
<tr>
<td width="33%" align="left"> </td>
<td width="34%" align="center"> </td>
<td width="33%" align="right"> </td>
</tr>
</table>
<p> </p>
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" colspan="3" bgcolor="#C0C0C0"><strong>
<font face="Arial" size="5">INTERFACES</font></strong></td>
</tr>
<tr>
<td width="33%" align="center">
<font color="#FFFFFF" style="font-size: 5pt" face="Arial">.</font></td>
<td width="34%" align="center">
<font color="#FFFFFF" style="font-size: 5pt" face="Arial">.</font></td>
<td align="center" width="33%">
<font color="#FFFFFF" style="font-size: 5pt" face="Arial">.</font></td>
</tr>
<tr>
<td width="33%" align="center" bgcolor="#C0C0C0"><font face="Arial" size="2"><b>ETHER</b></font></td>
<td width="34%" align="center" bgcolor="#C0C0C0"><font face="Arial" size="2"><b>WLAN</b></font></td>
<td align="center" width="33%" bgcolor="#C0C0C0"><font face="Arial" size="2"><b>Bridge</b></font></td>
</tr>
<tr>
<td width="33%" valign="top">
<div align="center"> <table border="0" width="95%" cellspacing="0" cellpadding="0">
<tr>
<td width="13" bgcolor="#C0C0C0"> </td>
<td width="167" bgcolor="#C0C0C0"><b>
<font size="2" face="Arial">Nome</font></b></td>
<td bgcolor="#C0C0C0">
<b><font size="2" face="Arial">Ação</font></b></td>
</tr>
<!-- mostrar o bloco tr da tabela -->
#ETHER_HTML_TR#
</table>
</div>
</td>
<td width="34%" valign="top" align="center">
<div align="center"> <table border="0" width="95%" cellspacing="0" cellpadding="0">
<tr>
<td width="13" bgcolor="#C0C0C0"> </td>
<td width="167" bgcolor="#C0C0C0"><b>
<font size="2" face="Arial">Nome</font></b></td>
<td bgcolor="#C0C0C0">
<b><font size="2" face="Arial">Ação</font></b></td>
</tr>
<!-- mostra wireless (WLAN) bloco -->
#WLAN_HTML_TR#
</table>
</div>
<p><b><font face="Arial" size="2">Security Profiles</font></b><table border="0" width="95%" cellspacing="0" cellpadding="0">
<tr>
<td width="13" bgcolor="#C0C0C0"> </td>
<td width="167" bgcolor="#C0C0C0"><b>
<font size="2" face="Arial">Nome</font></b>
</td>
<td bgcolor="#C0C0C0">
<b><font size="2" face="Arial">Ação</font></b>
<!-- mostra o botao + para adicionar um novo security profile -->
#SEC_PROFILE_ADD#
</td>
</tr>
<!-- mostra security profile -->
#SEC_PROFILE_HTML_TR#
</table>
<p> </p>
<p> </p>
<p>
</td>
<td valign="top" width="33%" align="center">
<div align="center"> <table border="0" width="95%" cellspacing="0" cellpadding="0">
<tr>
<td width="13" bgcolor="#C0C0C0"> </td>
<td width="167" bgcolor="#C0C0C0"><b>
<font size="2" face="Arial">Nome</font></b></td>
<td bgcolor="#C0C0C0">
<b><font size="2" face="Arial">Ação</font></b>
<!-- mostra o botao + para adicionar uma nova bridge -->
#BRIDGE_ADD#
</td>
</tr>
<!-- mostra bridges -->
#BRIDGE_HTML_TR#
</table>
</div>
<p><b><font face="Arial" size="2">Bridge Ports</font></b><table border="0" width="95%" cellspacing="0" cellpadding="0">
<tr>
<td width="13" bgcolor="#C0C0C0"> </td>
<td width="167" bgcolor="#C0C0C0"><b>
<font size="2" face="Arial">Nome</font></b>
</td>
<td bgcolor="#C0C0C0">
<b><font size="2" face="Arial">Ação</font></b>
<!-- mostra o botao + para adicionar um novo bridge ports -->
#BRIDGE_PORTS_ADD#
</td>
</tr>
<!-- mostra bridge ports -->
#BRIDGE_PORTS_HTML_TR#
</table>
<p> </p>
<p> </td>
</tr>
<tr>
<td width="33%"> </td>
<td width="34%"> </td>
<td width="33%"> </td>
</tr>
</table>
<p> </div>
</body>
</html>