Make Loadtime/ Resolution info look nicer.

This commit is contained in:
Stuart Nelson 2015-01-09 14:23:09 +01:00
parent 071d98f3d0
commit 3814daac48
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ a:active { color: black; }
.eval_stats {
float: right;
font-size: 11px;
}
.graph_wrapper {

View File

@ -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 <br /> Resolution: " + resolution + "s");
self.spinner.hide();
}
});