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
commit 6b168873fa
3 changed files with 6 additions and 6 deletions

View File

@ -214,7 +214,7 @@ $table_styles->data[$row][0] = __('Custom logo in login') . ui_print_help_icon("
$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') . ' ' .
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');
}
});
$("#alert_messages").draggable();
$("#alert_messages").css({'left':+parseInt(screen.width/2)-parseInt($("#alert_messages").css('width'))/2+'px'});
});

View File

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