Merge branch '52-la-ventana-de-alertas-deberia-de-ser-arrastrable-y-con-zindex-3-cambiar-tambien-texto-para-desactivar-logo-en-graficas-en-setup-visual' into 'develop'

Make alert messages window draggable, zindex 3, change disable logo in graph - #52

See merge request !143
This commit is contained in:
Enrique Camargo 2017-02-10 10:33:24 +01:00
parent 7a820be983
commit ee0e286d9c
3 changed files with 6 additions and 6 deletions

View File

@ -193,7 +193,7 @@ $table_styles->data[$row][0] = __('Custom logo in login') . ui_print_help_icon("
$row++; $row++;
$table_styles->data[$row][0] = __('Disable Pandora FMS on graphs'); $table_styles->data[$row][0] = __('Disable logo in graphs');
$table_styles->data[$row][1] = __('Yes') . ' ' . $table_styles->data[$row][1] = __('Yes') . ' ' .
html_print_radio_button_extended ('fixed_graph', 1, '', $config["fixed_graph"], $open, '','',true) . html_print_radio_button_extended ('fixed_graph', 1, '', $config["fixed_graph"], $open, '','',true) .
'  '; '  ';

View File

@ -213,6 +213,9 @@ $(document).ready (function () {
$('#menu').css('top','80px'); $('#menu').css('top','80px');
} }
}); });
$("#alert_messages").draggable();
$("#alert_messages").css({'left':+parseInt(screen.width/2)-parseInt($("#alert_messages").css('width'))/2+'px'});
}); });

View File

@ -3449,13 +3449,10 @@ div.simple_value > a > span.text p
-webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
z-index:2; z-index:3;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
position:fixed; position:fixed;
width:650px; width:650px;
top: 30%;
background:white; background:white;
} }
.modalheader{ .modalheader{