local host problem calls solved
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
var ViewDashboardModel = function (oauthToken, server, workspace) {
|
var ViewDashboardModel = function (oauthToken, server, workspace) {
|
||||||
this.server = server;
|
this.server = server;
|
||||||
this.workspace = workspace;
|
this.workspace = workspace;
|
||||||
//this.baseUrl = "/api/1.0/" + workspace + "/";
|
this.baseUrl = "/api/1.0/" + workspace + "/";
|
||||||
this.baseUrl = "http://127.0.0.1:8080/api/1.0/workflow/";
|
//this.baseUrl = "http://127.0.0.1:8080/api/1.0/workflow/";
|
||||||
this.oauthToken = oauthToken;
|
this.oauthToken = oauthToken;
|
||||||
this.helper = new ViewDashboardHelper();
|
this.helper = new ViewDashboardHelper();
|
||||||
this.cache = [];
|
this.cache = [];
|
||||||
|
|||||||
@@ -432,6 +432,7 @@ var selectDefaultMonthAndYear = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var initialDraw = function () {
|
var initialDraw = function () {
|
||||||
|
selectDefaultMonthAndYear();
|
||||||
presenter.getUserDashboards(pageUserId)
|
presenter.getUserDashboards(pageUserId)
|
||||||
.then(function(dashboardsVM) {
|
.then(function(dashboardsVM) {
|
||||||
fillDashboardsList(dashboardsVM);
|
fillDashboardsList(dashboardsVM);
|
||||||
@@ -439,7 +440,6 @@ var initialDraw = function () {
|
|||||||
/**** window initialization with favorite dashboard*****/
|
/**** window initialization with favorite dashboard*****/
|
||||||
presenter.getDashboardIndicators(window.currentDashboardId, defaultInitDate(), defaultEndDate())
|
presenter.getDashboardIndicators(window.currentDashboardId, defaultInitDate(), defaultEndDate())
|
||||||
.done(function(indicatorsVM) {
|
.done(function(indicatorsVM) {
|
||||||
selectDefaultMonthAndYear();
|
|
||||||
fillIndicatorWidgets(indicatorsVM);
|
fillIndicatorWidgets(indicatorsVM);
|
||||||
loadIndicator(getFavoriteIndicator().id, defaultInitDate(), defaultEndDate());
|
loadIndicator(getFavoriteIndicator().id, defaultInitDate(), defaultEndDate());
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
<a data-toggle="collapse" href="#efficiencyindex" aria-expanded="false" aria-controls="efficiencyindex">
|
<a data-toggle="collapse" href="#efficiencyindex" aria-expanded="false" aria-controls="efficiencyindex">
|
||||||
<div class="panel-heading status-indicator-low"
|
<div class="panel-heading status-indicator-low"
|
||||||
style=" width:<%- indicator.percentageOverdueWidth %>%;
|
style=" width:<%- indicator.percentageOverdueWidth %>%;
|
||||||
visibility: <%- indicator.overdueVisibility %>" >
|
visibility: <%- indicator.overdueVisibility %>;overflow:hidden;" >
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<div class="small ind-comparative-selector"><%- indicator.percentageOverdueToShow %></div>
|
<div class="small ind-comparative-selector"><%- indicator.percentageOverdueToShow %></div>
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel-heading status-indicator-medium"
|
<div class="panel-heading status-indicator-medium"
|
||||||
style=" width:<%- indicator.percentageAtRiskWidth %>%;
|
style=" width:<%- indicator.percentageAtRiskWidth %>%;
|
||||||
visibility: <%- indicator.atRiskVisibility %>;" >
|
visibility: <%- indicator.atRiskVisibility %>;overflow:hidden;" >
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<div class="small ind-comparative-selector"><%- indicator.percentageAtRiskToShow %></div>
|
<div class="small ind-comparative-selector"><%- indicator.percentageAtRiskToShow %></div>
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel-heading status-indicator-high"
|
<div class="panel-heading status-indicator-high"
|
||||||
style=" width:<%- indicator.percentageOnTimeWidth %>%;
|
style=" width:<%- indicator.percentageOnTimeWidth %>%;
|
||||||
visibility: <%- indicator.onTimeVisibility %>;">
|
visibility: <%- indicator.onTimeVisibility %>; overflow:hidden;">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<div class="small ind-comparative-selector"><%- indicator.percentageOnTimeToShow %></div>
|
<div class="small ind-comparative-selector"><%- indicator.percentageOnTimeToShow %></div>
|
||||||
@@ -347,7 +347,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<body id="page-top" class="index">
|
<body id="page-top" class="index">
|
||||||
<img id="scrollImg" class="floating" src="/images/scrolldown.gif" width="80" height="80" style="border-radius:85px; visibility:hidden;"/>
|
<img id="scrollImg" class="floating" src="images/scrolldown.gif" width="80" height="80" style="border-radius:85px; visibility:hidden;"/>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div id="page-wrapper">
|
<div id="page-wrapper">
|
||||||
<!--Cabezera-->
|
<!--Cabezera-->
|
||||||
|
|||||||
@@ -616,9 +616,11 @@ table.dataTable thead .sorting:after {
|
|||||||
margin-top:10px;
|
margin-top:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-red .panel-heading, .panel-low .panel-heading{
|
/*panel red for color must be white
|
||||||
|
* .panel-red .panel-heading, .panel-low .panel-heading{
|
||||||
color:rgba(0,0,0,0.4) !important;
|
color:rgba(0,0,0,0.4) !important;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
.panel-high .progress-bar{
|
.panel-high .progress-bar{
|
||||||
background: #fcb322;
|
background: #fcb322;
|
||||||
|
|||||||
Reference in New Issue
Block a user