From 8d50891c76106ceb02a02878d88c485d44293b55 Mon Sep 17 00:00:00 2001 From: cubedro Date: Tue, 25 Aug 2015 12:32:33 +0300 Subject: [PATCH] updated block time colors --- src/js/script.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/script.js b/src/js/script.js index 4df326f..5a981b3 100644 --- a/src/js/script.js +++ b/src/js/script.js @@ -13,10 +13,10 @@ $.fn.sparkline.defaults.bar.tooltipFormat = $.spformat('
{{prefix}}{{value}} {{suffix}}
'); $.fn.sparkline.defaults.bar.colorMap = $.range_map({ '0:6': '#10a0de', - '6:13': '#7bcc3a', - '13:20': '#FFD162', - '20:30': '#ff8a00', - '30:': '#F74B4B' + '6:15': '#7bcc3a', + '15:40': '#FFD162', + '40:60': '#ff8a00', + '60:': '#F74B4B' }); moment.relativeTimeThreshold('s', 60);