updated block time colors

This commit is contained in:
cubedro 2015-08-25 12:32:33 +03:00
parent 84037d3671
commit 8d50891c76

View File

@ -13,10 +13,10 @@
$.fn.sparkline.defaults.bar.tooltipFormat = $.spformat('<div class="tooltip-arrow"></div><div class="tooltip-inner">{{prefix}}{{value}} {{suffix}}</div>'); $.fn.sparkline.defaults.bar.tooltipFormat = $.spformat('<div class="tooltip-arrow"></div><div class="tooltip-inner">{{prefix}}{{value}} {{suffix}}</div>');
$.fn.sparkline.defaults.bar.colorMap = $.range_map({ $.fn.sparkline.defaults.bar.colorMap = $.range_map({
'0:6': '#10a0de', '0:6': '#10a0de',
'6:13': '#7bcc3a', '6:15': '#7bcc3a',
'13:20': '#FFD162', '15:40': '#FFD162',
'20:30': '#ff8a00', '40:60': '#ff8a00',
'30:': '#F74B4B' '60:': '#F74B4B'
}); });
moment.relativeTimeThreshold('s', 60); moment.relativeTimeThreshold('s', 60);