@cryptotaxi247 / netdata-1 / commits / 23f317b05

default dashboard settings, duplicate option-crontrol leads to a visual bug

gooodmorningopenstack committed Nov 18, 2016 at 11:16 UTC 23f317b05dce51c09090bf57aede2f3c072197b7
1 file changed +9 -19
web/index.html
+9 -19
@@ -364,7 +364,7 @@
364 width: 233px !important;
365 }
366 }
367 -
367 +
368 @media (min-width: 1360px) {
369 .container {
370 padding-left: 3% !important;
@@ -399,7 +399,7 @@
399
400 // enable registry updates
401 var netdataRegistry = true;
402 -
402 +
403 // --------------------------------------------------------------------
404 // urlOptions
405
@@ -496,7 +496,7 @@
496
497 // --------------------------------------------------------------------
498 // check options that should be processed before loading netdata.js
499 -
499 +
500 function loadLocalStorage(name) {
501 var ret = null;
502
@@ -697,7 +697,7 @@
697
698 else if(document.location.toString().startsWith('https://') && url.toString().startsWith('http://'))
699 error = 'can\'t check';
700 -
700 +
701 var finalURL = netdataURL(url);
702
703 setTimeout(function() {
@@ -1503,7 +1503,7 @@
1503 seconds -= (minutes * 60);
1504
1505 var txt = '';
1506 -
1506 +
1507 if(hours > 1) txt += hours.toString() + options.space + options.hours;
1508 else if(hours === 1) txt += hours.toString() + options.space + options.hour;
1509
@@ -2982,23 +2982,13 @@
2982 <td class="option-info"><strong>Which chart refresh policy to use?</strong><br/>
2983 <small>When set to <b>parallel</b>, visible charts are refreshed in parallel (all queries are sent to netdata server in parallel) and are rendered asynchronously. When set to <b>sequential</b> charts are refreshed one after another. Set it to parallel if your browser can cope with it (most modern browsers do), set it to sequential if you work on an older/slower computer.</small>
2984 </td>
2985 - </tr>
2985 + </tr>
2986 <tr class="option-row" id="concurrent_refreshes_row">
2987 - <td class="option-control"></td>
2988 - <td class="option-info">
2989 - <table>
2990 - <tr class="option-row">
2991 - <td class="option-control">
2992 - <input id="concurrent_refreshes" type="checkbox" checked data-toggle="toggle" data-on="Resync" data-off="Best Effort" data-width="110px">
2993 - </td>
2994 - <td class="option-info">
2995 - <strong>Shall we re-sync chart refreshes?</strong><br/>
2987 + <td class="option-control"><input id="concurrent_refreshes" type="checkbox" checked data-toggle="toggle" data-on="Resync" data-off="Best Effort" data-width="110px"></td>
2988 + <td class="option-info"><strong>Shall we re-sync chart refreshes?</strong><br/>
2989 <small>When set to <b>Resync</b>, the dashboard will attempt to re-synchronize all the charts so that they are refreshed concurrently. When set to <b>Best Effort</b>, each chart may be refreshed with a little time difference to the others. Normally, the dashboard starts refreshing them in parallel, but depending on the speed of your computer and the network latencies, charts start having a slight time difference. Setting this to <b>Resync</b> will attempt to re-synchronize the charts on every update. Setting it to <b>Best Effort</b> may lower the pressure on your browser and the network.</small>
2997 - </td>
2998 - </tr>
2999 - </table>
2990 </td>
3001 - </tr>
2991 + </tr>
2992 <tr class="option-row">
2993 <td class="option-control"><input id="sync_selection" type="checkbox" checked data-toggle="toggle" data-on="Sync" data-off="Don't Sync" data-onstyle="success" data-offstyle="danger" data-width="110px"></td>
2994 <td class="option-info"><strong>Sync hover selection on all charts?</strong><br/>