forked from Daandamhuis/N-Able-Dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
244 lines (240 loc) · 10.8 KB
/
index.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>N-Central Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon.png"/>
<link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-72.png" sizes="72x72"/>
<link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-114.png" sizes="114x114"/>
<link href="style/bootstrap.min.css" rel="stylesheet" >
<link href="style/bootstrap.responsive.css" rel="stylesheet">
<link href="style/style.css" rel="stylesheet">
<link href="style/dashboard.css" rel="stylesheet">
<link rel="stylesheet" href="style/font-awesome.css">
<!--[if IE 7]>
<link rel="stylesheet" href="style/font-awesome-ie7.min.css">
<![endif]-->
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="#"><span>Company</span><i>Name</i></a>
</div>
</div>
</div>
<div class="container">
<div id="content" class="span9">
<div class="row">
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-hdd"></i><span class="break"></span>Harddisks </h2>
</div>
<div class="box-content">
<table class="table table-condensed" id="Harddisks">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<span class="break"></span>
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-tasks"></i><span class="break"></span>Exchange </h2>
</div>
<div class="box-content">
<table class="table table-condensed" id="Exchange">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<span class="break"></span>
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-tasks"></i><span class="break"></span>AV Status</h2>
</div>
<div class="box-content">
<table class="table table-condensed" id="AVStatus">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<span class="break"></span>
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-tasks"></i><span class="break"></span>SQL </h2>
</div>
<div class="box-content">
<table class="table table-condensed" id="SQL">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<span class="break"></span>
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-tasks"></i><span class="break"></span>Virtual Machines</h2>
</div>
<div class="box-content">
<table class="table table-condensed" id="vmware">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
<div class="row">
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-hdd"></i><span class="break"></span>Printer Spool </h2>
</div>
<div class="box-content">
<table class="table table-condensed" id="PrintSpool">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<span class="break"></span>
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-tasks"></i><span class="break"></span>VPN Tunnels </h2>
</div>
<div class="box-content">
<table class="table table-striped table-condensed" id="VPN">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-hdd"></i><span class="break"></span>Backups </h2>
</div>
<div class="box-content">
<table class="table table-condensed" id="Backups">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<span class="break"></span>
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-signal"></i><span class="break"></span>Connectivity </h2>
</div>
<div class="box-content">
<table class="table table-condensed" id="Connectivity">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<span class="break"></span>
<div class="span5 box">
<div class="box-header">
<h2><i class="icon-tasks"></i><span class="break"></span>Switches</h2>
</div>
<div class="box-content">
<table class="table table-condensed" id="Switch">
<thead>
<tr>
<td>Device</td>
<td>Customer</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
</div>
<div id="sidebar" class="span2 hidden-phone">
<h2>Customers</h2>
<table>
<tbody></tbody>
</table>
</div>
</div> <!-- /container -->
<div id="loading" class="modal hide fade">
<div class="modal-header">
<h3>Loading data.....</h3>
</div>
<div class="modal-body">
<i></i>
<div class="progress progress-striped active">
<div class="bar"></div>
</div>
</div>
<div class="modal-footer"></div>
</div>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.functions.js"></script>
<script>
$(function() {
displayCustomers();
setInterval("fetchCustomers()", 300000);
});
</script>
</body>
</html>