From 3a477467d30f57cc75dd68b8e87458df76a49da6 Mon Sep 17 00:00:00 2001 From: raulmateos Date: Tue, 1 May 2007 13:28:33 +0000 Subject: [PATCH] 2007-05-01 Raul Mateos * images/bricks.png: Changed red colour to orange one. * include/pandora.css: Changed background colour for View Mode tab. * operation/agentes/estado_agente.php: Changed space between combo and table, including the style into the table, deleting div. * operation/agentes/estado_grupo.php: Style correction. * operation/messages/message.php: Added style to some table cells. * pandoradb.sql, pandoradb_data.sql: Added column disable to table tgrupo and default value 0. * operation/snmpconsole/snmp_alert.php: Deleted duplicated br tag. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 18 ++++++++++++++++++ pandora_console/images/bricks.png | Bin 825 -> 836 bytes .../images/groups_small/bricks.png | Bin 825 -> 836 bytes pandora_console/include/styles/pandora.css | 2 +- .../operation/agentes/estado_agente.php | 4 +--- .../operation/agentes/estado_grupo.php | 11 ++++++----- .../operation/messages/message.php | 4 ++-- .../operation/snmpconsole/snmp_alert.php | 4 ++-- pandora_console/pandoradb.sql | 1 + pandora_console/pandoradb_data.sql | 18 +++++++++--------- 10 files changed, 40 insertions(+), 22 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 7b2ae29ad1..73b137fded 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,21 @@ +2007-05-01 Raul Mateos + + * images/bricks.png: Changed red colour to orange one. + + * include/pandora.css: Changed background colour for View Mode tab. + + * operation/agentes/estado_agente.php: Changed space between combo and + table, including the style into the table, deleting div. + + * operation/agentes/estado_grupo.php: Style correction. + + * operation/messages/message.php: Added style to some table cells. + + * pandoradb.sql, pandoradb_data.sql: Added column disable to table tgrupo + and default value 0. + + * operation/snmpconsole/snmp_alert.php: Deleted duplicated br tag. + 2007-04-29 Raul Mateos * images/recon.png: Renamed file from chart_organization.png diff --git a/pandora_console/images/bricks.png b/pand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Fobb%hyAlLc?Poq1i_r8L% zWs->a-~sCP8OWPnKxhj>Q035PY2E6$woiqwIVbvGd&pVj+r}`n7DHfu8=lE`sOftR zLuUj<_UA-g+BywUUGVhroSd9oFtq6uN*9%`@P8>#-b)es=)ZlJM#c>{Wx-rgY3D#Ol9rJ zl39A<60Xo5cneo(9g5a4q>ayzV-7%Ue2}0_&TIets{Cl`n(nefrZ+9F8|N&Kp}^St gT^nw8RiD-T1hV9|XF+zBIsgCw07*qoM6N<$g2Co_`v3p{ diff --git a/pandora_console/images/groups_small/bricks.png b/pandora_console/images/groups_small/bricks.png index 0905f933b87ab32f21098d7db8d603209730c753..d56767d1a9c3a6be5a2d22afb850b08d30b727ce 100644 GIT binary patch delta 813 zcmV+|1JeAt2E+!CB!32COGiWi{{a60|De66lK=n!32;bRa{vGf6951U69E94oEQKA z00(qQO+^RS1py5bBVqXb&;S4e(Md!>RCwB@lS^ovWf+B@_xo@2&&9SjNhc;l3&z1r z9NM6!E-dOsaHR{ug^PlMqM+hNx+$eD#D${n6a*CuVz+`Iwto?-LW7_fq0)x*5`%4$ zHkrK5ZR# zJb&4D8^1jG%(3_%0d^J6&(!mS#?R4(#@pQmU6Mr`?B7*=CU(K)V7LH01fXsQw6ZI6 zZv76LqxXU35`Szi5ezPY<FAtD9E+H*Iyau5*!41(Y8V}G|MDWgr4tB`6t!{}Rp++?zU z@_ufFo0O&^H#WlyUxNmtD=->k%yu(S6ajIOn=?z(yN|r{McuZ6bFMwZ^voE=R>Z}?p0kw}vmUHTWh$zwB&!Ov(flCe z+;iYfzWMzRR<|;G-Eo)%me)Cdaf37~u-uy1-k|Zw>4oo3($ejIr%%IcU|TLq3C)^E zZ)$>0lyPYzWEkbdS%EErvMrPXF~*RlsT}#}jeqB2C;Y%^sfIC{wdJRH;mHHs2oe+! z=Oy1Su7Wm*C5R{ngJc`R9X`xv-_a}~HVT>jUbCNJN z@^5c^@#u$#BIBQ|+&kN|y>Xhp%g-0qNwS<^5aa8?^@gO+%75KCO;dUOtmPe)9Iq?*jYwd|HNMlZ|>D)M67h?OIjz3DJbk0=97q(mSBd~-ilc0Oupt^z$#N6 zO&at_s8u-PL@999o%qP>)^Vb)d8IDe)a!HiU5=Vk%voOXBOYkNCV zO?JdfWJJgV4!G`HqHNY=b6+(#`!fXU9yyjiEnsRRgyE%rbO-7&ucNRl$s;$xyWr2_ zKqkSCFdMT9Icn{GRCY(8X&8tK%6m((usw%~wNV6D1Mo*ZFb(Tqv$znYq}&bUVON}s zXo&=On142?+QM*5ti$44L@qPL3N&5?JGL@}k!3%ImVEFobb%hyAlLc?Poq1i_r8L% zWs->a-~sCP8OWPnKxhj>Q035PY2E6$woiqwIVbvGd&pVj+r}`n7DHfu8=lE`sOftR zLuUj<_UA-g+BywUUGVhroSd9oFtq6uN*9%`@P8>#-b)es=)ZlJM#c>{Wx-rgY3D#Ol9rJ zl39A<60Xo5cneo(9g5a4q>ayzV-7%Ue2}0_&TIets{Cl`n(nefrZ+9F8|N&Kp}^St gT^nw8RiD-T1hV9|XF+zBIsgCw07*qoM6N<$g2Co_`v3p{ diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 95c558a29f..f8c80a76b4 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -529,7 +529,7 @@ div.data_box { } #menu_tab_left li a, #menu_tab_left li.nomn a { - background: #999; + background: #ac4444; padding: 2px 10px 2px 10px; color: #fff; font-weight: bold; diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php index bf283dd695..0c931b4332 100644 --- a/pandora_console/operation/agentes/estado_agente.php +++ b/pandora_console/operation/agentes/estado_agente.php @@ -104,15 +104,13 @@ if (comprueba_login() == 0) { $result2=mysql_query($sql2); $row2=mysql_fetch_array($result2); $total_events = $row2[0]; - echo "
"; // Prepare pagination pagination ($total_events, "index.php?sec=estado&sec2=operation/agentes/estado_agente&group_id=$group_id&refr=60", $offset); // Show data. - echo "
"; $result=mysql_query($sql); if (mysql_num_rows($result)){ - echo ""; + echo "
"; echo ""; echo ""; echo ""; diff --git a/pandora_console/operation/agentes/estado_grupo.php b/pandora_console/operation/agentes/estado_grupo.php index 115fc0df14..3d506e80cc 100644 --- a/pandora_console/operation/agentes/estado_grupo.php +++ b/pandora_console/operation/agentes/estado_grupo.php @@ -162,18 +162,19 @@ // Show red flag is group has disabled alert system if (give_disabled_group($grupo[$real_count]["id_grupo"]) == 1) - $icono_type = $icono_type." ".$lang_label["disabled"].""; + $icono_type = $icono_type."  + ".$lang_label["disabled"].""; // By default green border - $celda = " - - +
".$lang_label["agent"]."".$lang_label["os"]."".$lang_label["interval"].""; + $celda = ""; // Grey border if agent down if ($grupo[$real_count]["down"] > 0) - $celda = ""; + $celda = ""; // Yellow border if agents with alerts if ($grupo[$real_count]["alerts"] > 0) - $celda = ""; + $celda = ""; // Red border if agents bad if ($grupo[$real_count]["bad"] > 0) @@ -181,7 +182,7 @@ // Orange if alerts and down modules if (($grupo[$real_count]["bad"] > 0) && ($grupo[$real_count]["alerts"] > 0)) - $celda = ""; + $celda = ""; $celda .= "'.$iduser.'
'.$lang_label["m_to"].':'; +
'.$lang_label["m_to"].':'; if (isset($_POST["u_destino"])) { echo ''.$_POST["u_destino"].''; } @@ -104,7 +104,7 @@ if (isset($_GET["nuevo"]) || isset($_GET["nuevo_g"])){ } else echo ''; echo '
'.$lang_label["message"].':
'.$lang_label["message"].':