Change visual of agents detail and admin agent
This commit is contained in:
parent
dc09a9a14e
commit
514ab2556b
|
@ -176,12 +176,12 @@ foreach ($nps as $row) {
|
|||
$select[$row["id_np"]] = $row["name"];
|
||||
}
|
||||
|
||||
echo '<table width="100%" cellpadding="2" cellspacing="2" class="databox filters" >';
|
||||
echo '<table width="100%" cellpadding="0" cellspacing="0" class="databox filters" >';
|
||||
echo "<tr><td class='datos' style='width:50%'>";
|
||||
html_print_select ($select, "template_id", '', '', '', 0, false, false, true, '', false, 'max-width: 200px !important');
|
||||
echo '</td>';
|
||||
echo '<td class="datos">';
|
||||
html_print_submit_button (__('Assign'), 'crt', false, 'class="sub next"');
|
||||
html_print_submit_button (__('Assign'), 'crt', false, 'class="sub next" style="margin-top:0px;"');
|
||||
echo '</td>';
|
||||
echo '</tr>';
|
||||
echo "</form>";
|
||||
|
@ -213,8 +213,8 @@ if ($result === false) {
|
|||
}
|
||||
|
||||
$table->width = '100%';
|
||||
$table->cellpadding = 4;
|
||||
$table->cellspacing = 4;
|
||||
$table->cellpadding = 0;
|
||||
$table->cellspacing = 0;
|
||||
$table->class = "databox data";
|
||||
$table->head = array ();
|
||||
$table->data = array ();
|
||||
|
@ -225,13 +225,16 @@ $table->head[1] = __('Type');
|
|||
$table->head[2] = __('Description');
|
||||
$table->head[3] = __('Action');
|
||||
|
||||
$table->align[1] = "center";
|
||||
$table->align[3] = "center";
|
||||
$table->align[1] = "left";
|
||||
$table->align[3] = "left";
|
||||
$table->size[0] = "30%";
|
||||
$table->size[1] = "5%";
|
||||
$table->size[3] = "8%";
|
||||
|
||||
foreach ($result as $row) {
|
||||
$data = array ();
|
||||
|
||||
$data[0] = '<span style="font-size: 7.2pt">' . $row["nombre"];
|
||||
$data[0] = '<span>' . $row["nombre"];
|
||||
if ($row["id_tipo_modulo"] > 0) {
|
||||
$data[1] = html_print_image("images/" . modules_show_icon_type ($row["id_tipo_modulo"]), true, array("border" => "0"));
|
||||
}
|
||||
|
|
|
@ -142,8 +142,9 @@ $form_filter .= "</td>";
|
|||
$form_filter .= "</tr>\n";
|
||||
$form_filter .= "</table>\n";
|
||||
$form_filter .= "</form>\n";
|
||||
if ( defined("METACONSOLE"))
|
||||
echo "<br>";
|
||||
|
||||
echo "<br>";
|
||||
ui_toggle($form_filter, __('Alert control filter'), __('Toggle filter(s)'));
|
||||
|
||||
$simple_alerts = array();
|
||||
|
@ -323,9 +324,14 @@ if (!$id_agente) {
|
|||
else {
|
||||
$url = 'index.php?sec='.$sec.'&sec2=godmode/agentes/configurar_agente&pure='.$pure.'&tab=alert&id_agente=' . $id_agente . '&offset=' . $offset . $form_params;
|
||||
}
|
||||
|
||||
$table->class = 'alert_list databox';
|
||||
if ( defined("METACONSOLE") )
|
||||
$table->class = 'alert_list databox';
|
||||
else
|
||||
$table->class = 'databox filters';
|
||||
|
||||
$table->width = '100%';
|
||||
$table->cellpadding = 0;
|
||||
$table->cellspacing = 0;
|
||||
$table->size = array ();
|
||||
|
||||
$table->align[2] = 'left';
|
||||
|
|
Loading…
Reference in New Issue