fixed visual error dashboards
This commit is contained in:
parent
971f86601a
commit
2b8b27a863
|
@ -452,7 +452,7 @@ function initialiceLayout(data) {
|
||||||
$(".add-widget").show();
|
$(".add-widget").show();
|
||||||
$(".new-widget-message").hide();
|
$(".new-widget-message").hide();
|
||||||
$("#container-layout").addClass("container-layout");
|
$("#container-layout").addClass("container-layout");
|
||||||
$("#add-widget").show();
|
$("#add-widget").removeClass("invisible");
|
||||||
} else {
|
} else {
|
||||||
grid.movable(".grid-stack-item", false);
|
grid.movable(".grid-stack-item", false);
|
||||||
grid.resizable(".grid-stack-item", false);
|
grid.resizable(".grid-stack-item", false);
|
||||||
|
@ -461,7 +461,7 @@ function initialiceLayout(data) {
|
||||||
$(".add-widget").hide();
|
$(".add-widget").hide();
|
||||||
$(".new-widget-message").show();
|
$(".new-widget-message").show();
|
||||||
$("#container-layout").removeClass("container-layout");
|
$("#container-layout").removeClass("container-layout");
|
||||||
$("#add-widget").hide();
|
$("#add-widget").addClass("invisible");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -43,10 +43,10 @@
|
||||||
$output = '';
|
$output = '';
|
||||||
|
|
||||||
// Div for modal update dashboard.
|
// Div for modal update dashboard.
|
||||||
$output .= '<div id="modal-update-dashboard" class=""></div>';
|
$output .= '<div id="modal-update-dashboard" style="display:none;"></div>';
|
||||||
$output .= '<div id="modal-add-widget" class=""></div>';
|
$output .= '<div id="modal-add-widget" style="display:none;"></div>';
|
||||||
$output .= '<div id="modal-config-widget" class=""></div>';
|
$output .= '<div id="modal-config-widget" style="display:none;"></div>';
|
||||||
$output .= '<div id="modal-slides-dialog" class=""></div>';
|
$output .= '<div id="modal-slides-dialog" style="display:none;"></div>';
|
||||||
|
|
||||||
// Layout.
|
// Layout.
|
||||||
$output .= '<div class="container-fluid">';
|
$output .= '<div class="container-fluid">';
|
||||||
|
|
Loading…
Reference in New Issue