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 ( if (
graphDiv $("#hidden-section").val() ===
.children() "operation/reporting/graph_analytics"
.children()
.hasClass("parent_graph") === true
) { ) {
graphDiv // Create remove button.
.children() if (
.children() graphDiv
.children(":first-child") .children()
.prepend( .children()
$( .hasClass("parent_graph") === true
'<img src="images/delete.svg" class="remove-graph-analytics" onclick="removeGraph(this);">' ) {
) graphDiv
); .children()
} else { .children()
graphDiv .children(":first-child")
.children() .prepend(
.append( $(
$( '<img src="images/delete.svg" class="remove-graph-analytics" onclick="removeGraph(this);">'
'<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( window.open(
configHomeurl + configHomeurl +
"/operation/reporting/graph_analytics_public.php?" + "operation/reporting/graph_analytics_public.php?" +
queryParams queryParams
); );
}); });

View File

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

View File

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