Merge branch 'ent-12633-errores-visuales-en-la-funcionalidad-graph-analytics' into 'develop'

Ent 12633 errores visuales en la funcionalidad graph analytics

See merge request artica/pandorafms!6918
This commit is contained in:
Rafael Ameijeiras 2024-02-20 08:02:32 +00:00
commit f570e25e5d
3 changed files with 39 additions and 25 deletions

View File

@ -253,30 +253,35 @@ function createDroppableZones(
)
);
// Create remove button.
if (
graphDiv
.children()
.children()
.hasClass("parent_graph") === true
$("#hidden-section").val() ===
"operation/reporting/graph_analytics"
) {
graphDiv
.children()
.children()
.children(":first-child")
.prepend(
$(
'<img src="images/delete.svg" class="remove-graph-analytics" onclick="removeGraph(this);">'
)
);
} else {
graphDiv
.children()
.append(
$(
'<img src="images/delete.svg" class="remove-graph-analytics" onclick="removeGraph(this);">'
)
);
// Create remove button.
if (
graphDiv
.children()
.children()
.hasClass("parent_graph") === true
) {
graphDiv
.children()
.children()
.children(":first-child")
.prepend(
$(
'<img src="images/delete.svg" class="remove-graph-analytics" onclick="removeGraph(this);">'
)
);
} else {
graphDiv
.children()
.append(
$(
'<img src="images/delete.svg" class="remove-graph-analytics" onclick="removeGraph(this);">'
)
);
}
}
}
}
@ -753,7 +758,7 @@ $("#button-share-modal").click(function(e) {
window.open(
configHomeurl +
"/operation/reporting/graph_analytics_public.php?" +
"operation/reporting/graph_analytics_public.php?" +
queryParams
);
});

View File

@ -1945,7 +1945,7 @@ div.title_line {
#menu_tab_frame_view_bc {
position: sticky;
top: 61px;
z-index: 2;
z-index: 3;
display: flex;
align-items: flex-end;
justify-content: space-between;
@ -13517,6 +13517,10 @@ tr.shown td.details-control {
-webkit-mask: url(../../images/minimizar.svg) no-repeat right / contain;
}
#modules-toggle > .modules > .white-box-content div {
z-index: 1 !important;
}
/* Import/export */
.div-import-export {
display: flex;
@ -13584,3 +13588,7 @@ button.disabled {
background: #c0ccdc !important;
border: 0px;
}
.ui-draggable-handle {
z-index: 2 !important;
}

View File

@ -811,6 +811,7 @@ ui_print_standard_header(
$tab_new,
$tab_pause_realtime,
$tab_start_realtime,
html_print_input_hidden('section', get_parameter('sec2'), true),
],
[
[
@ -885,7 +886,7 @@ $left_content .= '
'modules-toggle',
true,
true,
'',
'modules',
'white-box-content',
'box-flat white_table_graph',
'images/arrow@svg.svg',