From b2af235de5b6044074990d321683799d5cbc354a Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Fri, 7 Feb 2014 10:07:54 +0000 Subject: [PATCH] 2014-02-07 Sergio Martin * mobile/operation/networkmaps.php mobile/operation/agent.php mobile/include/style/main.css mobile/include/ui.class.php mobile/include/user.class.php mobile/images/pandora_mobile_console.png: Improve network map ACLs and more usability/aesthetic issues git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 10 ++++ .../mobile/images/pandora_mobile_console.png | Bin 0 -> 13092 bytes pandora_console/mobile/include/style/main.css | 10 ++++ pandora_console/mobile/include/ui.class.php | 2 +- pandora_console/mobile/include/user.class.php | 4 +- pandora_console/mobile/operation/agent.php | 50 +++++++++++++++--- .../mobile/operation/networkmaps.php | 9 +++- 7 files changed, 75 insertions(+), 10 deletions(-) create mode 100644 pandora_console/mobile/images/pandora_mobile_console.png diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 45a926eaf0..71fa7149a6 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,13 @@ +2014-02-07 Sergio Martin + + * mobile/operation/networkmaps.php + mobile/operation/agent.php + mobile/include/style/main.css + mobile/include/ui.class.php + mobile/include/user.class.php + mobile/images/pandora_mobile_console.png: Improve + network map ACLs and more usability/aesthetic issues + 2014-02-06 Sergio Martin * mobile/index.php diff --git a/pandora_console/mobile/images/pandora_mobile_console.png b/pandora_console/mobile/images/pandora_mobile_console.png new file mode 100644 index 0000000000000000000000000000000000000000..772736b31ecf0b6796b666cfe1700ad93cc741b4 GIT binary patch literal 13092 zcma)DRZv@9w8n}hNO6~9#ob+sOAAGc1`F=m0>#~mJCtI@gF6Jb;KkkDix;^0U+>(9 zdor;zbIxS1z4!WLtwerQSHQv~!$d$pz*16_(?mc(WP^WBK}UtZZcPmO!ru_xG!Ue};a^bAR21Y8UjKXi>?lcspTTfe{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YK}#rtvufInk!-U0G0(4^6kQ~LG)LqS=nZ9Ni0HsB z|GWM0$hdj?HRS6m@_r_2yX>3hq=VwTKj;9^o%ietlg_oS*Qd);NLlaI9a65M_u2rz z{+t`40wel$_QIcBjvk)rE=PM~ZcBT|Lx?-6<(aFFlz2KYTq+MZ(=z&?XZ<|&+DlcX_L_tUxSq+T=+^qJ>GI{5z7cB1e$=QAILOM6;zS$Izf|L`W?DLZFb&U{M$h{tYIWWk zvN$<@jv%Sh0$YyMO!V!F^!(e!EaB9aZb3zdNoh@-hOn&VB`t@E2{kcS+l@gzUze)S zpRLqP5NMtLJ~PcHQqzrtTotVgJGL8gbFp_ln>RHwM#%m=-`G%7de6AQ%bXx>qWs*5 z(%jhX)8bupZo$T33(}m34gD8nLsNk?)sOv7S+=&l3I`|JPvq20aO0oeeQ##X0{h%& zkwr=asd~4Z5acZh(bP!M-O7zGzb<0)@QSKhqTj3AO51zhz7@X8JN-G{))&%@)Es(g z)MI2`d-Qp3e=yUe0Ny|A{xh(L>F+_Nb)2QIfxxh?D|QZA`7Msd z<@*Y4@40mHmM&I(t6QX}U|T=p<~BB&c?crMyX(#Mq{rl@o3*F*^DJQqAR6Pvdzpx#+7wzZ1z86dEaA-0 zte#zm@vY?(_oe-9j2|oB$WBo`&2xAD-$(lF{cHc<#32K<=}!1xSP+yxsLNH!fP(%9 Djh|`R literal 0 HcmV?d00001 diff --git a/pandora_console/mobile/include/style/main.css b/pandora_console/mobile/include/style/main.css index 642b31d4ad..bd51f2e0e0 100644 --- a/pandora_console/mobile/include/style/main.css +++ b/pandora_console/mobile/include/style/main.css @@ -1020,6 +1020,11 @@ li.ui-btn { padding-top: 15px !important; height: 20px !important; } + + .login_logo img { + width: 185px; + margin-bottom: 10px; + } } /* For tablets */ @media screen and (min-width: 750px) @@ -1053,6 +1058,11 @@ li.ui-btn { .event_name { font-size: 18px !important; } + + .login_logo img { + width: 300px; + margin-bottom: 20px; + } } #login_container { diff --git a/pandora_console/mobile/include/ui.class.php b/pandora_console/mobile/include/ui.class.php index 9785195a6c..e9791d7865 100755 --- a/pandora_console/mobile/include/ui.class.php +++ b/pandora_console/mobile/include/ui.class.php @@ -123,7 +123,7 @@ class Ui { $this->header = array(); $this->header['button_left'] = ''; $this->header['button_right'] = ''; - $this->header['title'] = __('Pandora FMS mobile'); + $this->header['title'] = ''; $this->endHeader = false; } diff --git a/pandora_console/mobile/include/user.class.php b/pandora_console/mobile/include/user.class.php index e725b25b05..b79818e5c1 100644 --- a/pandora_console/mobile/include/user.class.php +++ b/pandora_console/mobile/include/user.class.php @@ -155,8 +155,8 @@ class User { $ui->createHeader(); $ui->showFooter(false); $ui->beginContent(); - $ui->contentAddHtml('
' . - html_print_image ("images/pandora_login.png", + $ui->contentAddHtml(''); $ui->contentAddHtml('
'); diff --git a/pandora_console/mobile/operation/agent.php b/pandora_console/mobile/operation/agent.php index c3df1c9e49..9a6194af4d 100644 --- a/pandora_console/mobile/operation/agent.php +++ b/pandora_console/mobile/operation/agent.php @@ -112,11 +112,16 @@ class Agent { } $ip .= '
'; - $last_contact = __('Last contact') . ' / ' . __('Remote') . ': ' - .ui_print_timestamp ($this->agent["ultimo_contacto"], true) . '
'; + $last_contact = '' . __('Last contact') . ': ' + .ui_print_timestamp ($this->agent["ultimo_contacto"], true) . '
'; - $description = - empty($agent["comentarios"]) ? '' : $this->agent["comentarios"] . '
'; + $description = '' . __('Description') . ':
'; + if (empty($agent["comentarios"])) { + $description .= '' . __('N/A') . ''; + } + else { + $description .= $this->agent["comentarios"]; + } $html = '
'; @@ -129,15 +134,18 @@ class Agent { $ui->contentGridAddCell($html); ob_start(); - $html = graph_agent_status ($this->id, 160, 160, true); + $html = '
'; + $html .= "" . __('Modules by status') . "
"; + $html .= graph_agent_status ($this->id, 160, 160, true); $graph_js = ob_get_clean(); $html = $graph_js . $html; unset($this->agent['fired_count']); $html .= '' . reporting_tiny_stats($this->agent, true) . '
'; - $html .= "" . __('Events (24h)') . "
"; + $html .= "" . __('Events (24h)') . "

"; $html .= graph_graphic_agentevents( $this->id, 250, 15, 86400, ui_get_full_url(false), true); $html .= '
'; + $html .= '
'; $ui->contentGridAddCell($html); $ui->contentEndGrid(); @@ -165,6 +173,36 @@ class Agent { $ui->contentCollapsibleAddItem($events->putEventsTableJS($this->id)); $ui->contentEndCollapsible(); } + + $ui->contentAddHtml(""); + $ui->endContent(); $ui->showPage(); } diff --git a/pandora_console/mobile/operation/networkmaps.php b/pandora_console/mobile/operation/networkmaps.php index d1605c7c68..1e6ab2dd4a 100755 --- a/pandora_console/mobile/operation/networkmaps.php +++ b/pandora_console/mobile/operation/networkmaps.php @@ -163,8 +163,12 @@ class Networkmaps { // Order by type field $where['order'] = 'type'; - if ($this->group != '0') + if ($this->group != '0') { $where['id_group'] = $this->group; + } + else { + $where['id_group'] = array_keys(users_get_groups()); + } if ($this->type != '0') $where['type'] = $this->type; @@ -176,6 +180,9 @@ class Networkmaps { } $list = array(); foreach ($network_maps as $networkmap) { + // If enterprise not loaded then skip this code + if ($networkmap['type'] == 'policies' and (!defined('PANDORA_ENTERPRISE'))) + continue; $row = array(); $row[__('Name')] = '' . io_safe_output($networkmap['name']) . ''; $row[__('Type')] = $networkmap['type'];