Make Loadtime/ Resolution info look nicer.
This commit is contained in:
parent
071d98f3d0
commit
3814daac48
|
@ -8,6 +8,7 @@ a:active { color: black; }
|
||||||
|
|
||||||
.eval_stats {
|
.eval_stats {
|
||||||
float: right;
|
float: right;
|
||||||
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.graph_wrapper {
|
.graph_wrapper {
|
||||||
|
|
|
@ -321,7 +321,7 @@ Prometheus.Graph.prototype.submitQuery = function() {
|
||||||
},
|
},
|
||||||
complete: function() {
|
complete: function() {
|
||||||
var duration = new Date().getTime() - startTime;
|
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();
|
self.spinner.hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue