@cryptotaxi247 / netdata-1 / commits / 60c13081d

minor fixes

Costa Tsaousis (ktsaou) committed Jan 19, 2016 at 00:54 UTC 60c13081dcdbfd522f2a0affe47a52c3ab0aab31
3 files changed +16 -6
web/dashboard.css
+11 -5
@@ -1,5 +1,9 @@
1 -html {
2 - font-family: sans-serif;
1 +html,
2 +body {
3 + /*font-family: Calibri,"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;*/
4 + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
5 + font-style: normal;
6 + font-variant: normal;
7 }
8
9 .netdata-chart-alignment {
@@ -246,7 +250,7 @@ html {
250 padding: 0px;
251 padding-left: 15px;
252 cursor: pointer;
249 - -webkit-font-smoothing: none;
253 + /* -webkit-font-smoothing: none; */
254 }
255 .netdata-legend-name.not-selected {
256 font-weight: normal;
@@ -344,7 +348,7 @@ html {
348 color: #666;
349 font-weight: normal;
350 text-shadow: #BBB 0px 0px 1px;
347 - -webkit-font-smoothing: none;
351 + /* -webkit-font-smoothing: none; */
352 }
353
354 .easyPieChartTitle {
@@ -394,7 +398,9 @@ html {
398 font-weight: bold;
399 z-index: 1;
400 text-shadow: #777 0px 0px 1px;
397 - -webkit-font-smoothing: none;
401 + /* text-shadow: #CCC 1px 1px 0px, #CCC -1px -1px 0px, #CCC 1px -1px 0px, #CCC -1px 1px 0px; */
402 + /* -webkit-text-stroke: 1px #777; */
403 + /* -webkit-font-smoothing: none; */
404 }
405
406 .gaugeChartTitle {
web/dashboard.js
+4
@@ -4532,6 +4532,10 @@
4532 // is always between min and max
4533 var pcent = (value - min) * 100 / (max - min);
4534
4535 + // these should never happen
4536 + if(pcent < 0) pcent = 0;
4537 + if(pcent > 100) pcent = 100;
4538 +
4539 state.gauge_instance.set(pcent);
4540
4541 state.___gaugeOld__.value = value;
web/index.html
+1 -1
@@ -281,7 +281,7 @@
281 <!-- <script> netdataServer = "http://box:19999"; </script> -->
282
283 <!-- load the dashboard manager - it will do the rest -->
284 - <script type="text/javascript" src="dashboard.js?v21"></script>
284 + <script type="text/javascript" src="dashboard.js?v22"></script>
285 </head>
286
287 <body data-spy="scroll" data-target="#sidebar">