diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-11-26 18:52:53 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-11-26 18:52:53 +0200 |
commit | e17f6ade778fdffa8c070c571dc9af1265e330f7 (patch) | |
tree | 0ff3275cdb07de65a49a640938f137c10fb8983a /web | |
parent | 94167bbc5788975ddc272bb8c8c6f9bf099907e9 (diff) |
added "+ add more charts" and info legend on the dashboard
Diffstat (limited to 'web')
-rw-r--r-- | web/dashboard.js | 4 | ||||
-rw-r--r-- | web/index.html | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/web/dashboard.js b/web/dashboard.js index 59026f4fd3..080ae7dd2c 100644 --- a/web/dashboard.js +++ b/web/dashboard.js @@ -129,8 +129,8 @@ dashboard_css: NETDATA.serverDefault + 'dashboard.css?v20161002-1', background: '#FFFFFF', foreground: '#000000', - grid: '#DDDDDD', - axis: '#CCCCCC', + grid: '#F0F0F0', + axis: '#F0F0F0', colors: [ '#3366CC', '#DC3912', '#109618', '#FF9900', '#990099', '#DD4477', '#3B3EAC', '#66AA00', '#0099C6', '#B82E2E', '#AAAA11', '#5574A6', '#994499', '#22AA99', '#6633CC', '#E67300', '#316395', '#8B0707', diff --git a/web/index.html b/web/index.html index e8e0b18c90..9f5c0f3a61 100644 --- a/web/index.html +++ b/web/index.html @@ -1325,6 +1325,8 @@ html += mhead + shtml + '</div></div><hr role="separator"/>'; } + sidebar += '<li class="" style="padding-top:15px;"><a href="https://github.com/firehol/netdata/wiki/Add-more-charts-to-netdata" target="_blank"><i class="fa fa-plus" aria-hidden="true"></i> add more charts</a></li>'; + sidebar += '<li class="" style="margin:20px;color:#666;"><small>netdata on <b>' + data.hostname.toString() + '</b>, collects every ' + ((data.update_every == 1)?'second':data.update_every.toString() + ' seconds') + ', <b>' + data.dimensions_count.toLocaleString() + '</b> metrics presented in <b>' + data.charts_count.toLocaleString() + '</b> charts, using ' + Math.round(data.rrd_memory_bytes / 1024 / 1024).toLocaleString() + ' MB of memory, for ' + Math.round(data.history / 3600).toLocaleString() + ' ' + ((data.history == 3600)?'hour':'hours').toString() + ' of real-time history.</small></li>'; sidebar += '</ul>'; div.innerHTML = html; document.getElementById('sidebar').innerHTML = sidebar; @@ -3167,4 +3169,4 @@ </div> </body> </html> -<script type="text/javascript" src="dashboard.js?v20161112-1"></script> +<script type="text/javascript" src="dashboard.js?v20161126-1"></script> |