adding refresh button for jobs page, and capitlized Hosts in the pie chart tool tip on homepage

This commit is contained in:
Jared Tabor
2014-07-17 10:13:49 -04:00
parent 7d0e8c85eb
commit 985eaa70d0
4 changed files with 12 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ angular.module('HostPieChartWidget', ['RestServices', 'Utilities'])
.showLabels(true)
.labelThreshold(0.01)
.tooltipContent(function(x, y) {
return '<b>'+x+'</b>'+ '<p>' + Math.floor(y) + ' hosts ' + '</p>';
return '<b>'+x+'</b>'+ '<p>' + Math.floor(y) + ' Hosts ' + '</p>';
})
.color(['#00aa00', '#aa0000']);