This commit is contained in:
Dante
2015-04-27 16:53:49 -04:00
parent 710297dfc4
commit eda9767c06
2 changed files with 3 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ ViewDashboardPresenter.prototype.dashboardIndicatorsViewModel = function(data) {
//to be sure that percentages sum up to 100 (the rounding will lost decimals)% //to be sure that percentages sum up to 100 (the rounding will lost decimals)%
newObject.percentageOnTime = 100 - newObject.percentageOverdue - newObject.percentageAtRisk; newObject.percentageOnTime = 100 - newObject.percentageOverdue - newObject.percentageAtRisk;
newObject.overdueVisibility = (newObject.percentageOverdue > 0)? "visible" : "hidden"; newObject.overdueVisibility = (newObject.percentageOverdue > 0)? "visible" : "hidden";
newObject.atRiskVisiblity = (newObject.percentageAtRisk > 0)? "visible" : "hidden"; newObject.atRiskVisibility = (newObject.percentageAtRisk > 0)? "visible" : "hidden";
newObject.onTimeVisibility = (newObject.percentageOnTime > 0)? "visible" : "hidden"; newObject.onTimeVisibility = (newObject.percentageOnTime > 0)? "visible" : "hidden";
returnList.push(newObject); returnList.push(newObject);
i++; i++;
@@ -174,7 +174,7 @@ ViewDashboardPresenter.prototype.peiViewModel = function(data) {
var retval = {}; var retval = {};
retval = data; retval = data;
this.makeShortLabel(graphData, 12); this.makeShortLabel(graphData, 10);
retval.dataToDraw = this.adaptGraphData(graphData); retval.dataToDraw = this.adaptGraphData(graphData);
//TODO aumentar el símbolo de moneda $ //TODO aumentar el símbolo de moneda $

View File

@@ -39,8 +39,7 @@
.status-indicator-low, .status-indicator-low,
.status-indicator-medium, .status-indicator-medium,
.status-indicator-high { .status-indicator-high {
padding:0px; padding:30px 0px 0px 0;
padding-top:30px;
color:#444; color:#444;
float:left; float:left;
} }