Changed visual of metaconsole
This commit is contained in:
parent
b47e72a151
commit
d673737e2d
|
@ -124,7 +124,9 @@ $table->head[2] = __('Action') .
|
|||
$table->style = array ();
|
||||
$table->style[0] = 'font-weight: bold';
|
||||
$table->align = array ();
|
||||
$table->align[1] = 'center';
|
||||
if (!defined('METACONSOLE'))
|
||||
$table->align[1] = 'center';
|
||||
|
||||
$table->align[2] = 'center';
|
||||
$table->size = array ();
|
||||
$table->size[0] = '60%';
|
||||
|
@ -155,7 +157,7 @@ if (isset($data)) {
|
|||
html_print_input_hidden('multiple_delete', 1);
|
||||
html_print_table ($table);
|
||||
if (defined('METACONSOLE'))
|
||||
echo "<div style='padding-bottom: 20px; text-align: right; width:100%'>";
|
||||
echo "<div style='text-align: right; width:100%'>";
|
||||
else
|
||||
echo "<div style='padding-bottom: 20px; text-align: right; width:" . $table->width . "'>";
|
||||
|
||||
|
|
|
@ -142,8 +142,11 @@ $row = array();
|
|||
$row[] = __('Agent status');
|
||||
$row[] = html_print_select($agent_status_arr, "status_agent", $status_agent, '', '', 0, true);
|
||||
$row[] = __('Search agent');
|
||||
$row[] = html_print_input_text("search_agent", $search_agent, '', 40, 30, true);
|
||||
|
||||
if (defined('METACONSOLE'))
|
||||
$row[] = html_print_input_text("search_agent", $search_agent, '', 70, 30, true);
|
||||
else
|
||||
$row[] = html_print_input_text("search_agent", $search_agent, '', 40, 30, true);
|
||||
|
||||
// Button
|
||||
$row[] = html_print_submit_button(__('Filter'), "uptbutton", false, 'class="sub search"', true);
|
||||
$table->rowspan[][count($row)-1] = 2;
|
||||
|
@ -164,22 +167,28 @@ if (!$strict_acl) {
|
|||
$row[] = __('Module status');
|
||||
$row[] = html_print_select($module_status_arr, "status_module", $status_module, '', '', 0, true);
|
||||
$row[] = __('Search module');
|
||||
$row[] = html_print_input_text("search_module", $search_module, '', 40, 30, true);
|
||||
if (defined('METACONSOLE'))
|
||||
$row[] = html_print_input_text("search_module", $search_module, '', 70, 30, true);
|
||||
else
|
||||
$row[] = html_print_input_text("search_module", $search_module, '', 40, 30, true);
|
||||
|
||||
$table->data[] = $row;
|
||||
}
|
||||
|
||||
if (defined('METACONSOLE')) {
|
||||
$table->width = "70%";
|
||||
$table->class='tree_filters';
|
||||
echo "<div class='view_tree'>";
|
||||
$table->width = "96%";
|
||||
$table->cellpadding = "0";
|
||||
$table->cellspacing = "0";
|
||||
$table->class='databox_filters';
|
||||
$table->styleTable='padding:0px;margin-bottom:0px; ';
|
||||
}
|
||||
|
||||
$form_html = '<form id="tree_search" method="post" action="index.php?sec=monitoring&sec2=operation/tree&refr=0&tab='.$tab.'&pure='.$config['pure'].'">';
|
||||
$form_html .= html_print_table($table, true);
|
||||
$form_html .= '</form>';
|
||||
if (defined('METACONSOLE')) {
|
||||
echo $form_html;
|
||||
echo "<div class='view_tree'>";
|
||||
ui_toggle($form_html, __('Show Options'));
|
||||
echo "<br>";
|
||||
}else{
|
||||
echo "<br>";
|
||||
|
|
Loading…
Reference in New Issue