Fixed error styles
This commit is contained in:
parent
09f6b7a29a
commit
f6e9cf37b0
|
@ -48,9 +48,14 @@ function pandora_realtime_graphs () {
|
|||
$table->style = array ();
|
||||
$table->cellpadding = '0';
|
||||
$table->cellspacing = '0';
|
||||
$table->style[0] = 'font-weight: bold;';
|
||||
$table->style[1] = 'font-weight: bold;';
|
||||
$table->style[2] = 'font-weight: bold;';
|
||||
$table->style['graph'] = 'font-weight: bold;';
|
||||
$table->style['refresh'] = 'font-weight: bold;';
|
||||
$table->style['incremental'] = 'font-weight: bold;';
|
||||
$table->style['reset'] = 'font-weight: bold;';
|
||||
$table->style['snmp_address'] = 'font-weight: bold;';
|
||||
$table->style['snmp_community'] = 'font-weight: bold;';
|
||||
$table->style['snmp_oid'] = 'font-weight: bold;';
|
||||
$table->style['snmp_oid'] = 'font-weight: bold;';
|
||||
$table->data = array ();
|
||||
|
||||
$graph_fields['cpu_load'] = __('Pandora Server CPU');
|
||||
|
|
|
@ -39,6 +39,7 @@ $table = new StdClass();
|
|||
$table->width = '100%';
|
||||
$table->class = "databox filters";
|
||||
$table->data = array ();
|
||||
$table->style[0] = "font-weight: bold";
|
||||
|
||||
$table->size[0] = '70%';
|
||||
$table->size[1] = '30%';
|
||||
|
@ -71,6 +72,7 @@ $table_other = new stdClass();
|
|||
$table_other->width = '100%';
|
||||
$table_other->class = 'databox filters';
|
||||
$table_other->data = array ();
|
||||
$table_other->style[0] = "font-weight: bold";
|
||||
|
||||
$table_other->size[0] = '70%';
|
||||
$table_other->size[1] = '30%';
|
||||
|
|
|
@ -34,6 +34,7 @@ $table->data = array ();
|
|||
$table->width = '100%';
|
||||
$table->class = 'databox filters';
|
||||
$table->size[0] = '30%';
|
||||
$table->style[0] = "font-weight: bold";
|
||||
|
||||
$table->data[0][0] = __('Authentication method');
|
||||
$auth_methods = array ('mysql' => __('Local Pandora FMS'), 'ldap' => __('ldap'));
|
||||
|
|
|
@ -291,7 +291,7 @@ if ($create_profile) {
|
|||
$table = new stdClass();
|
||||
$table->cellpadding = 0;
|
||||
$table->cellspacing = 0;
|
||||
$table->class = 'databox data';
|
||||
$table->class = 'databox profile_list';
|
||||
$table->width = '100%';
|
||||
|
||||
$table->head = array ();
|
||||
|
@ -327,7 +327,32 @@ $table->head['PM'] = "PM" . ui_print_help_tip (__('Systems management'), true);
|
|||
$table->head['operations'] = '<span title="Operations">' . __('Op.') . '</span>';
|
||||
|
||||
$table->align = array_fill (1, 11, "center");
|
||||
$table->size = array_fill ("1%", "10%", "40%");
|
||||
|
||||
$table->size['profiles'] = "200px";
|
||||
$table->size['IR'] = "10px";
|
||||
$table->size['IW'] = "10px";
|
||||
$table->size['IM'] = "10px";
|
||||
$table->size['AR'] = "10px";
|
||||
$table->size['AW'] = "10px";
|
||||
$table->size['AD'] = "10px";
|
||||
$table->size['LW'] = "10px";
|
||||
$table->size['LM'] = "10px";
|
||||
$table->size['UM'] = "10px";
|
||||
$table->size['DM'] = "10px";
|
||||
$table->size['ER'] = "10px";
|
||||
$table->size['EW'] = "10px";
|
||||
$table->size['EM'] = "10px";
|
||||
$table->size['RR'] = "10px";
|
||||
$table->size['RW'] = "10px";
|
||||
$table->size['RM'] = "10px";
|
||||
$table->size['MR'] = "10px";
|
||||
$table->size['MW'] = "10px";
|
||||
$table->size['MM'] = "10px";
|
||||
$table->size['VR'] = "10px";
|
||||
$table->size['VW'] = "10px";
|
||||
$table->size['VM'] = "10px";
|
||||
$table->size['PM'] = "10px";
|
||||
$table->size['operations'] = "5%";
|
||||
|
||||
$profiles = db_get_all_rows_in_table ("tperfil");
|
||||
if ($profiles === false) {
|
||||
|
|
|
@ -1738,12 +1738,10 @@ ol.steps li.visited {
|
|||
}
|
||||
|
||||
fieldset {
|
||||
background-color:#fafafa;
|
||||
border: 1px solid #f2f2f2;
|
||||
background-color:#F9FAF9;
|
||||
border: 1px solid #E2E2E2;
|
||||
padding:0.5em;
|
||||
margin-top:0.5em;
|
||||
margin-right: -1px;
|
||||
margin-bottom:1em;
|
||||
margin-bottom:20px;
|
||||
position:relative;
|
||||
}
|
||||
fieldset legend {
|
||||
|
@ -2991,7 +2989,18 @@ table#policy_modules td * {
|
|||
margin-top: 0px !important ;
|
||||
}
|
||||
|
||||
.databox.filters, .databox.data{
|
||||
.agents_modules_table{
|
||||
border: 1px solid #E2E2E2;
|
||||
border-spacing: 0px;
|
||||
}
|
||||
.agents_modules_table td{
|
||||
border: 1px solid #E2E2E2;
|
||||
}
|
||||
.agents_modules_table th{
|
||||
border: 1px solid #E2E2E2;
|
||||
}
|
||||
|
||||
.databox.filters, .databox.data, .databox.profile_list{
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
|
@ -2999,6 +3008,14 @@ table#policy_modules td * {
|
|||
padding: 10px;
|
||||
padding-left:20px;
|
||||
}
|
||||
.databox.profile_list td{
|
||||
padding: 4px 1px;
|
||||
padding-left: 5px;
|
||||
border-bottom: 1px solid #E2E2E2;
|
||||
}
|
||||
.databox.profile_list a.tip > img{
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.databox.filters td>img, .databox.filters td>div>a>img,
|
||||
.databox.filters td>span>img, .databox.filters td>span>a>img,
|
||||
|
|
Loading…
Reference in New Issue