Change visual of nodo

This commit is contained in:
m-lopez-f 2015-07-02 15:31:53 +02:00
parent 5c6f66ba52
commit f3dd19a06d
2 changed files with 8 additions and 5 deletions

View File

@ -89,7 +89,8 @@ if ($edit_filter > -1) {
// Create/update form // Create/update form
if ($edit_filter > -2) { if ($edit_filter > -2) {
$table->data = array (); $table->data = array ();
$table->width = '98%'; $table->width = '100%';
$table->class = 'databox filters';
$table->data[0][0] = __('Description'); $table->data[0][0] = __('Description');
$table->data[0][1] = html_print_input_text ('description', $description, '', 60, 100, true); $table->data[0][1] = html_print_input_text ('description', $description, '', 60, 100, true);
$table->data[1][0] = __('Filter'); $table->data[1][0] = __('Filter');
@ -114,7 +115,8 @@ else {
$result = db_get_all_rows_in_table ("tsnmp_filter"); $result = db_get_all_rows_in_table ("tsnmp_filter");
if ($result === false) { if ($result === false) {
$result = array (); $result = array ();
echo "<div class='nf'>".__('There are no SNMP filters')."</div>"; require_once ($config['homedir'] . "/general/firts_task/snmp_filters.php");
return;
} }
$table->data = array (); $table->data = array ();
@ -122,8 +124,8 @@ else {
$table->size = array (); $table->size = array ();
$table->cellpadding = 4; $table->cellpadding = 4;
$table->cellspacing = 4; $table->cellspacing = 4;
$table->width = "98%"; $table->width = "100%";
$table->class= "databox"; $table->class= "databox data";
$table->align = array (); $table->align = array ();
$table->head[0] = __('Description'); $table->head[0] = __('Description');
@ -149,7 +151,7 @@ else {
unset ($table); unset ($table);
echo '<div style="text-align:right; width:98%">'; echo '<div style="text-align:right; width:100%">';
echo '<form name="agente" method="post" action="index.php?sec=snmpconsole&sec2=godmode/snmpconsole/snmp_filters&edit_filter=-1">'; echo '<form name="agente" method="post" action="index.php?sec=snmpconsole&sec2=godmode/snmpconsole/snmp_filters&edit_filter=-1">';
html_print_submit_button (__('Create'), 'submit_button', false, 'class="sub next"'); html_print_submit_button (__('Create'), 'submit_button', false, 'class="sub next"');
echo '</form></div>'; echo '</form></div>';

View File

@ -339,6 +339,7 @@ function treeview_printTable($id_agente, $server_data = array()) {
$table = new StdClass(); $table = new StdClass();
$table->width = "100%"; $table->width = "100%";
$table->class = "databox data";
$table->style = array(); $table->style = array();
$table->style['title'] = 'font-weight: bold;'; $table->style['title'] = 'font-weight: bold;';
$table->head = array(); $table->head = array();