-
Notifications
You must be signed in to change notification settings - Fork 23
/
Index.html
345 lines (313 loc) · 16.6 KB
/
Index.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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AngularJS - SignalR - ServiceDashboard</title>
<link rel="stylesheet" href="Content/epoch.min.css" />
<link rel="stylesheet" href="Content/bootstrap.min.css" />
<!-- MetisMenu CSS -->
<!-- Timeline CSS -->
<link href="Content/timeline.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="Content/sb-admin-2.css" rel="stylesheet">
<link rel="stylesheet" href="http://cdn.jsdelivr.net/bootstrap.metismenu/1.1.0/css/metismenu.min.css">
<!-- Morris Charts CSS -->
<link href="Content/morris.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href='http://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="http://code.ionicframework.com/ionicons/1.5.2/css/ionicons.min.css">
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href="Content/app.css" rel="stylesheet">
<script src="Scripts/jquery-2.1.1.min.js"></script>
<script src="Scripts/jquery.signalR-2.1.2.min.js"></script>
<script src="Scripts/angular.min.js"></script>
<script src="Scripts/bootstrap.min.js"></script>
<script src="Scripts/d3.min.js"></script>
<script src="Scripts/epoch.min.js"></script>
<script src="Scripts/ng-epoch.js"></script>
<script src="Scripts/pie-chart.min.js"></script>
<!-- Metis Menu Plugin JavaScript -->
<script src="Scripts/metisMenu.min.js"></script>
<!-- Morris Charts JavaScript -->
<script src="Scripts/raphael.min.js"></script>
<script src="Scripts/morris.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="Scripts/sb-admin-2.js"></script>
<script src="app/app.js"></script>
<script src="app/services.js"></script>
<script src="app/directives.js"></script>
<script src="app/controllers.js"></script>
<script src="Scripts/plugin.js"></script>
</head>
<body ng-app="angularServiceDashboard">
<div class="menu">
<div class="sidebar-nav ">
<ul class="nav" id="side-menu">
<li class="heading">
<a href="index.html"> AngularJs Client</a>
</li>
<li>
<a class="active" href="index.html"><i class="ion ion-speedometer"></i> Dashboard<span class="ion ion-ios7-arrow-right pull-right"></span></a>
</li>
<li>
<a href="#"><i class="ion ion-stats-bars"></i> Logging<span class="ion ion-ios7-arrow-right pull-right"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="#">Realtime Heartbeat</a>
</li>
<li>
<a href="#">Communicate</a>
</li>
</ul>
<!-- /.nav-second-level -->
</li>
<li>
<a href="#"><i class="ion ion-fork-repo"></i> Libraries Used<span class="ion ion-ios7-arrow-right pull-right"></span></a>
<ul class="nav nav-second-level">
<li class="dropdown-header">Core</li>
<li><a href="http://signalr.net/">SignalR</a></li>
<li><a href="https://angularjs.org/">Angular.js</a></li>
<li><a href="http://jquery.com/">jQuery</a></li>
<li class="divider"></li>
<li class="dropdown-header">Charting</li>
<li><a href="http://d3js.org/">D3.js</a></li>
<li><a href="http://fastly.github.io/epoch/">Epoch.js</a></li>
<li><a href="https://github.com/dainbrump/ng-epoch">Ng-Epoch</a></li>
<li class="dropdown-header">UI</li>
<li><a href="#">Custom UI design by Anton Bacaj</a></li>
<li><a href="http://getbootstrap.com/">Bootstrap</a></li>
<li><a href="http://bootswatch.com/cyborg/">Boostwatch</a></li>
<li><a href="http://bootswatch.com/cyborg/">SbAdmin</a></li>
</ul>
<!-- /.nav-second-level -->
</li>
<li>
<a href="#"><i class="ion ion-home"></i> Author <span class="ion ion-ios7-arrow-right pull-right"></span></a>
<ul class="nav nav-second-level">
<li><a href="http://coding.fitness">Coding.fitness</a></li>
<li><a href="http://louiebacaj.com">LouieBacaj.com</a></li>
<li><a href="http://codingfitness.com">Codingfitness.com</a></li>
<li class="divider"></li>
<li><a href="http://sitepoint.com">Sitepoint.com</a></li>
</ul>
<!-- /.nav-second-level -->
</li>
<li>
</li>
</ul>
</div>
<!-- /.sidebar-collapse -->
</div>
<div id="wrapper" class="inner-wrapper">
<div class="mobile-nav">
<ul>
<li><a id="outside" class="open-menu" href="#"><i class="ion ion-grid"></i></a>
</li>
<li><a href="#">coding.fitness / louiebacaj.com</a>
</li>
</ul>
</div>
<div id="page-wrapper">
<div class="row" ng-controller="PerformanceDataController">
<div class="col-lg-3 col-md-6">
<div class="panel panel-dashboard">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-center">
<div class="controls left"><i class="ion ion-more"></i></div>
<div class="controls right"><a class="remove"><i class="ion ion-minus-round"></i></a></div>
<div class="center">Memory Performance</div>
</div>
</div>
</div>
<div class="panel-body">
<div class="huge">{{currentRamNumber}}</div>
<a href="#"><span>View Details</span></a>
<div class="clearfix"></div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel panel-dashboard">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-center">
<div class="controls left"><i class="ion ion-more"></i></div>
<div class="controls right"><a class="remove"><i class="ion ion-minus-round"></i></a></div>
<div class="center">Network In K/B </div>
</div>
</div>
</div>
<div class="panel-body">
<div class="huge">{{netInData}}</div>
<a href="#"><span>View Details</span></a>
<div class="clearfix"></div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel panel-dashboard">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-center">
<div class="controls left"><i class="ion ion-more"></i></div>
<div class="controls right"><a class="remove"><i class="ion ion-minus-round"></i></a></div>
<div class="center">Network Out K/B</div>
</div>
</div>
</div>
<div class="panel-body">
<div class="huge">{{netOutData}}</div>
<a href="#"><span>View Details</span></a>
<div class="clearfix"></div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel panel-dashboard">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-center">
<div class="controls left"><i class="ion ion-more"></i></div>
<div class="controls right"><a class="remove"><i class="ion ion-minus-round"></i></a></div>
<div class="center">Disk </div>
</div>
</div>
</div>
<div class="panel-body">
<div class="huge">{{diskReaddData}}</div>
<a href="#"><span>View Details</span></a>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<!-- /.row -->
<!-- /.row -->
<div class="row">
<div class="col-lg-8">
<div class="panel panel-dashboard">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-center">
<div class="controls left"><i class="ion ion-more"></i></div>
<div class="controls right"><a class="remove"><i class="ion ion-minus-round"></i></a></div>
<div class="center">Memory/CPU/Network </div>
</div>
</div>
</div>
<!-- /.panel-heading -->
<div class="panel-body" ng-controller="PerformanceDataController">
<epoch-live-area chart-class="category10" chart-height="200" chart-data="realtimeArea" chart-stream="realtimeAreaFeed" chart-axes="areaAxes"></epoch-live-area>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
<div class="panel panel-dashboard">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-center">
<div class="controls left"><i class="ion ion-more"></i></div>
<div class="controls right"><a class="remove"><i class="ion ion-minus-round"></i></a></div>
<div class="center">NETWORK/MEMORY/CPU </div>
</div>
</div>
</div>
<div class="panel-body">
<div ng-controller="PerformanceDataController">
<epoch-live-bar chart-class="category10" chart-height="200" chart-data="realtimeBar" chart-stream="realtimeBarFeed" chart-axes="barAxes"></epoch-live-bar>
</div>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
<div class="panel panel-dashboard">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-center">
<div class="huge">{{currentRamNumber}}</div>
<div class="controls left"><i class="ion ion-more"></i></div>
<div class="controls right"><a class="remove"><i class="ion ion-minus-round"></i></a></div>
<div class="center">Responsive Timeline</div>
</div>
</div>
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div ng-controller="PerformanceDataController">
<div>
<epoch-live-line chart-class="category10" chart-height="200" chart-data="realtimeLine" chart-stream="realtimeLineFeed" chart-axes="areaAxes"></epoch-live-line>
</div>
</div>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
<!-- /.col-lg-8 -->
</div>
<!-- /.col-lg-8 -->
<div class="col-lg-4">
<div class="panel panel-dashboard">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-center">
<div class="huge">{{currentRamNumber}}</div>
<div class="controls left"><i class="ion ion-more"></i></div>
<div class="controls right"><a class="remove"><i class="ion ion-minus-round "></i></a></div>
<div class="center">CPU Performance</div>
</div>
</div>
</div>
<div class="panel-body">
<div ng-controller="PerformanceDataController">
<pie-chart data="data" options="options"></pie-chart>
</div>
</div>
<!-- /.panel-body -->
</div>
<div class="panel panel-dashboard">
<div class="panel-heading">
<div class="row">
<div class="col-xs-12 text-center">
<div class="huge">{{currentRamNumber}}</div>
<div class="controls left"><i class="ion ion-more"></i></div>
<div class="controls right"><a class="remove"><i class="ion ion-minus-round"></i></a></div>
<div class="center">Notifications Panel</div>
</div>
</div>
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div class="list-group" ng-controller="ServerTimeController">
<a href="#" class="list-group-item">
<i class="fa fa-comment fa-fw"></i> Server Time
<span class="pull-right text-muted small">
<em>{{currentServerTime}}</em>
</span>
</a>
<a href="#" class="list-group-item">
<i class="fa fa-warning fa-fw"></i> Server Not Responding
<span class="pull-right text-muted small">
<em>10:57 AM {{currentServerTimeManually}}</em>
</span>
</a>
</div>
<!-- /.list-group -->
<button ng-click="getServerTime()" class="btn btn-default btn-block">Get Manual Time</button>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
<!-- /.col-lg-4 -->
</div>
<!-- /.row -->
</div>
<!-- /#page-wrapper -->
</div>
<script src="http://cdn.jsdelivr.net/velocity/1.1.0/velocity.min.js"></script>
<script src="Scripts/plugin.js"></script>
</body>
</html>