minor fixes; the new dashboard menu is still in progress
Costa Tsaousis (ktsaou) committed
Dec 14, 2015 at 10:21 UTC
cece9131156788a6f62dc0b8a377a81db9865ff1
2 files changed
+38
-38
web/dashboard.js
+1
-1
@@ -613,7 +613,7 @@
613
}
614
}
615
616
- this.globalSelectionSyncDelay(100);
616
+ // this.globalSelectionSyncDelay(100);
617
}
618
619
// can the chart participate to the global selection sync as a slave?
web/dashboard_full.html
+37
-37
@@ -10,40 +10,47 @@
10
<meta name="apple-mobile-web-app-capable" content="yes">
11
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
12
<meta name="author" content="costa@tsaousis.gr">
13
-<style>
14
-body {
15
- padding-top:50px;
16
-}
13
+ <style>
14
+ body {
15
+ padding-top:50px;
16
+ }
17
18
-#masthead h1 {
19
- /*font-size: 30px;*/
20
- line-height: 1;
21
- padding-top:20px;
22
-}
18
+ #masthead h1 {
19
+ /*font-size: 30px;*/
20
+ line-height: 1;
21
+ padding-top:20px;
22
+ }
23
24
-#masthead .well {
25
- margin-top:4%;
26
-}
24
+ #masthead .well {
25
+ margin-top:4%;
26
+ }
27
28
-#sidebar li.active {
29
- border:0 #eee solid;
30
- border-right-width:5px;
31
-}
28
+ #sidebar li.active {
29
+ border:0 #eee solid;
30
+ border-right-width:5px;
31
+ }
32
33
-@media (min-width: 979px) {
34
- #sidebar.affix-top {
35
- position: static;
36
- margin-top:30px;
37
- width:228px;
38
- }
39
-
40
- #sidebar.affix {
41
- position: fixed;
42
- top:70px;
43
- width:228px;
44
- }
45
-}
46
-</style>
33
+ @media (min-width: 979px) {
34
+ #sidebar.affix-top {
35
+ position: static;
36
+ margin-top:30px;
37
+ width:228px;
38
+ }
39
+
40
+ #sidebar.affix {
41
+ position: fixed;
42
+ top:70px;
43
+ width:228px;
44
+ }
45
+ }
46
+ </style>
47
+
48
+ <!-- you can set your netdata server globally, by ucommenting this -->
49
+ <!-- you can also give a different server per chart, with the attribute: data-host="http://netdata.server:19999" -->
50
+ <!-- <script> netdataServer = "http://box:19999"; </script> -->
51
+
52
+ <!-- load the dashboard manager - it will do the rest -->
53
+ <script type="text/javascript" src="dashboard.js"></script>
54
</head>
55
<body>
56
<nav class="navbar navbar-default navbar-fixed-top" role="banner">
@@ -117,13 +124,6 @@ body {
124
125
</body>
126
</html>
120
- <!-- you can set your netdata server globally, by ucommenting this -->
121
- <!-- you can also give a different server per chart, with the attribute: data-host="http://netdata.server:19999" -->
122
- <!-- <script> netdataServer = "http://box:19999"; </script> -->
123
-
124
- <!-- load the dashboard manager - it will do the rest -->
125
- <script type="text/javascript" src="dashboard.js"></script>
126
-
127
<script>
128
var options = {
129
data: null,