From 8ff045d8b0ed9fba11498f5f1d5a483c9bfb4e51 Mon Sep 17 00:00:00 2001 From: cubedro Date: Fri, 17 Apr 2015 13:12:25 +0300 Subject: [PATCH 1/3] adjusted chartRangeMax --- public/js/controllers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/controllers.js b/public/js/controllers.js index c2b1430..127cc8b 100644 --- a/public/js/controllers.js +++ b/public/js/controllers.js @@ -164,7 +164,7 @@ function StatsCtrl($scope, $filter, socket, _, toastr) { barWidth : 2, barSpacing : 1, tooltipSuffix: ' ms', - chartRangeMax: 12000, + chartRangeMax: 8000, colorMap: jQuery.range_map({ '0:1': '#10a0de', '1:1000': '#7bcc3a', @@ -189,7 +189,7 @@ function StatsCtrl($scope, $filter, socket, _, toastr) { barWidth : 2, barSpacing : 1, tooltipSuffix: ' ms', - chartRangeMax: 12000, + chartRangeMax: 8000, colorMap: jQuery.range_map({ '0:1': '#10a0de', '1:1000': '#7bcc3a', From 8f27ce44842e9fb02a5c7e364664bfddc83cc474 Mon Sep 17 00:00:00 2001 From: cubedro Date: Fri, 17 Apr 2015 13:18:14 +0300 Subject: [PATCH 2/3] adjusted node type width --- public/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/css/style.css b/public/css/style.css index 3cbe054..6bc760e 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -230,7 +230,7 @@ table td i:before { } .th-nodename { - width: 400px; + width: 200px; } .th-latency { From f0953628e5aaa41e7d39cea079239e316015a487 Mon Sep 17 00:00:00 2001 From: cubedro Date: Fri, 17 Apr 2015 13:19:53 +0300 Subject: [PATCH 3/3] fixed ng-cloak --- views/index.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/index.jade b/views/index.jade index 0eacaad..3c67248 100644 --- a/views/index.jade +++ b/views/index.jade @@ -57,7 +57,7 @@ block content div.clearfix - div.row + div.row(ng-cloak) div.col-xs-6.stats-boxes(style="padding-top: 30px;") div.row div.col-xs-4.stat-holder @@ -130,7 +130,7 @@ block content th.th-peerPropagationChart th i.icon-bulb(data-toggle="tooltip", data-placement="top", title="Up-time", ng-click="orderTable(['-stats.active', '-stats.uptime'], false)") - tbody + tbody(ng-cloak) tr(ng-repeat='node in nodes | orderBy:predicate:reverse', class="{{ node.stats | mainClass : bestBlock }}") td.nodeInfo(rel="{{node.id}}") span.small(data-toggle="tooltip", data-placement="top", data-html="true", data-original-title="{{node | geoTooltip}}") {{node.info.name}}