Modify styles in tactical view and tables is responsibe with window size
This commit is contained in:
parent
25277eb550
commit
a77d962590
|
@ -2095,6 +2095,9 @@ function ui_toggle($code, $name, $title = '', $hidden_default = true, $return =
|
|||
$output .= '<a href="javascript:" id="tgl_ctrl_'.$uniqid.'">' . html_print_image ($original, true, array ("title" => $title, "id" => "image_".$uniqid)) . ' <b>'.$name.'</b></a>';
|
||||
$output .= '<br />';
|
||||
|
||||
if (!defined("METACONSOLE"))
|
||||
$output .= '<br />';
|
||||
|
||||
// Code into a div
|
||||
$output .= "<div id='tgl_div_".$uniqid."' style='".$style."'>\n";
|
||||
$output .= $code;
|
||||
|
|
|
@ -1357,8 +1357,9 @@ table.databox {
|
|||
.tactical_set{
|
||||
background: #FFF;
|
||||
border: 1px solid #E2E2E2;
|
||||
margin-left: 10%;
|
||||
width: 71%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* For use in Netflow */
|
||||
|
@ -2825,8 +2826,9 @@ table#policy_modules td * {
|
|||
}
|
||||
|
||||
.status_tactical{
|
||||
width: 78%;
|
||||
margin-left: 10%;
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
background-color: #FFF !important;
|
||||
padding: 10px;
|
||||
border: 1px solid #E2E2E2;
|
||||
|
@ -2866,9 +2868,14 @@ table#policy_modules td * {
|
|||
|
||||
.databox td{
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-top: 7px;
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
.databox.pies fieldset.tactical_set{
|
||||
width:70% !important;
|
||||
height: 285px;
|
||||
}
|
||||
|
||||
.difference{
|
||||
border-left-width: 2px;
|
||||
|
|
|
@ -242,18 +242,18 @@ if ($is_admin) {
|
|||
require($config['homedir'] . '/godmode/servers/servers.build_table.php');
|
||||
|
||||
}
|
||||
$out .= '<table cellpadding=0 cellspacing=0 class="databox" style="margin-top:15px;" width=100%><tr><td>';
|
||||
$out .= '<table cellpadding=0 cellspacing=0 class="databox pies" style="margin-top:15px;" width=100%><tr><td>';
|
||||
$out .= '<fieldset class="databox tactical_set">
|
||||
<legend>' .
|
||||
__('Event graph') .
|
||||
'</legend>' .
|
||||
grafico_eventos_total("", 250, 80, false) . '</fieldset>';
|
||||
grafico_eventos_total("", 250, 150, false) . '</fieldset>';
|
||||
$out .="</td><td>";
|
||||
$out .= '<fieldset class="databox tactical_set">
|
||||
<legend>' .
|
||||
__('Event graph by agent') .
|
||||
'</legend>' .
|
||||
grafico_eventos_grupo(250, 80, "", false, false, false) . '</fieldset>';
|
||||
grafico_eventos_grupo(250, 150, "", false, false, false) . '</fieldset>';
|
||||
$out .= '</td></tr></table>';
|
||||
echo $out;
|
||||
|
||||
|
|
Loading…
Reference in New Issue