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