From 3814daac489bdd3c5ed176d060a8ee97d1126f73 Mon Sep 17 00:00:00 2001 From: Stuart Nelson Date: Fri, 9 Jan 2015 14:23:09 +0100 Subject: [PATCH] Make Loadtime/ Resolution info look nicer. --- web/static/css/graph.css | 1 + web/static/js/graph.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/static/css/graph.css b/web/static/css/graph.css index 105ad694b..fc91ffac8 100644 --- a/web/static/css/graph.css +++ b/web/static/css/graph.css @@ -8,6 +8,7 @@ a:active { color: black; } .eval_stats { float: right; + font-size: 11px; } .graph_wrapper { diff --git a/web/static/js/graph.js b/web/static/js/graph.js index 243674566..246e22ef5 100644 --- a/web/static/js/graph.js +++ b/web/static/js/graph.js @@ -321,7 +321,7 @@ Prometheus.Graph.prototype.submitQuery = function() { }, complete: function() { var duration = new Date().getTime() - startTime; - self.evalStats.html("Load time: " + duration + "ms, resolution: " + resolution + "s"); + self.evalStats.html("Load time: " + duration + "ms
Resolution: " + resolution + "s"); self.spinner.hide(); } });