-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (77 loc) · 3.42 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
<!DOCTYPE html>
<html>
<head>
<title>Moniboard Dashboard</title>
<meta name="application-name" content="netdata">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Link styles -->
<link rel="stylesheet" href="assets/css/styles.min.css">
<!-- Load JQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>
<!-- Load FontAwesome -->
<script src="https://use.fontawesome.com/3e39e96a92.js"></script>
<!-- Load Scripts -->
<script src="assets/scripts/get-views.js"></script>
<script src="assets/scripts/load-sections.js"></script>
<script src="assets/scripts/edit-sections.js"></script>
</head>
<body>
<script>
// this section has to appear before loading dashboard.js
// Select a theme.
// uncomment on of the two themes:
// var netdataTheme = 'default'; // this is white
var netdataTheme = 'slate'; // this is dark
</script>
<!--
Load dashboard.js
to host this HTML file on your web server,
you have to load dashboard.js from the netdata server.
So, pick one the two below
If you pick the first, set the server name/IP.
s
The second assumes you host this file on /usr/share/netdata/web
and that you have chown it to be owned by netdata:netdata
-->
<script type="text/javascript" src="http://status.felixjen.com/reverseproxy/dashboard.js"></script>
<script>
// Set options for TV operation
// This has to be done, after dashboard.js is loaded
// destroy charts not shown (lowers memory on the browser)
NETDATA.options.current.destroy_on_hide = false;
// set this to false, to always show all dimensions
NETDATA.options.current.eliminate_zero_dimensions = true;
// lower the pressure on this browser
NETDATA.options.current.concurrent_refreshes = true;
// if the tv browser is too slow (a pi?)
// set this to false
NETDATA.options.current.parallel_refresher = true;
// always update the charts, even if focus is lostd
NETDATA.options.current.stop_updates_when_focus_is_lost = true;
</script>
<div id="sidebar">
<div id="logo">
<h1>Moni</h1>
</div>
<hr>
<div id="view-select">
<ul id="view-select-list">
</ul>
</div>
<div id="add-view-button">
<i class="fa fa-plus-square-o" aria-hidden="true"></i>
</div>
</div>
<div id="section-container">
</div>
<!-- Adding the view overlay -->
<div id="add-view-overlay">
</div>
</body>
</html>