Merge branch 'ent-13503-dashboard-icono-add-cell-invisible-777-develop' into 'develop'

Ent 13503 dashboard icono add cell invisible 777 develop

See merge request artica/pandorafms!7325
This commit is contained in:
Jose Martin 2024-04-30 13:13:23 +00:00
commit 7ccaf44987
1 changed files with 12 additions and 0 deletions

View File

@ -232,6 +232,9 @@ function initialiceLayout(data) {
}); });
if (!$("#checkbox-edit-mode").is(":checked")) { if (!$("#checkbox-edit-mode").is(":checked")) {
$("#add-widget")
.parent()
.addClass("invisible_important");
$(".add-widget").hide(); $(".add-widget").hide();
} else { } else {
$(".new-widget-message").hide(); $(".new-widget-message").hide();
@ -549,6 +552,9 @@ function initialiceLayout(data) {
grid.resizable(".grid-stack-item", true); grid.resizable(".grid-stack-item", true);
grid.float(false); grid.float(false);
$(".header-options").show(); $(".header-options").show();
$("#add-widget")
.parent()
.removeClass("invisible_important");
$(".add-widget").show(); $(".add-widget").show();
$(".new-widget-message").hide(); $(".new-widget-message").hide();
$("#container-layout").addClass("container-layout"); $("#container-layout").addClass("container-layout");
@ -558,6 +564,9 @@ function initialiceLayout(data) {
grid.resizable(".grid-stack-item", false); grid.resizable(".grid-stack-item", false);
grid.float(true); grid.float(true);
$(".header-options").hide(); $(".header-options").hide();
$("#add-widget")
.parent()
.addClass("invisible_important");
$(".add-widget").hide(); $(".add-widget").hide();
$(".new-widget-message").show(); $(".new-widget-message").show();
$("#container-layout").removeClass("container-layout"); $("#container-layout").removeClass("container-layout");
@ -776,6 +785,9 @@ function initialiceLayout(data) {
}); });
if (!$("#checkbox-edit-mode").is(":checked")) { if (!$("#checkbox-edit-mode").is(":checked")) {
$("#add-widget")
.parent()
.addClass("invisible_important");
$(".add-widget").hide(); $(".add-widget").hide();
} else { } else {
$(".new-widget-message").hide(); $(".new-widget-message").hide();