From 639861068e2968f75173f3fde008a65cd108e10d Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Mon, 15 Apr 2013 16:04:39 +0000 Subject: [PATCH] 2013-04-15 Sergio Martin * include/functions_html.php include/styles/pandora.css include/functions_ui.php include/functions_graph.php include/functions_events.php include/graphs/fgraph.php operation/events/events_list.php operation/agentes/alerts_status.php operation/agentes/estado_generalagente.php operation/agentes/estado_monitores.php images/help.png images/blade.png images/image_problem_pie.png images/input_module.png images/err.png images/image_problem_area.png images/input_agent.png images/help_w.png images/suc.png images/image_problem_bars.png images/information.png: Change new icons, modernize the error, success and info messages and more aesthetic changes Fix warning and notices from previous commit git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 26 +++++++ pandora_console/images/blade.png | Bin 1300 -> 330 bytes pandora_console/images/err.png | Bin 1140 -> 1301 bytes pandora_console/images/help.png | Bin 761 -> 1541 bytes pandora_console/images/help_w.png | Bin 0 -> 1415 bytes pandora_console/images/image_problem_area.png | Bin 0 -> 2811 bytes pandora_console/images/image_problem_bars.png | Bin 0 -> 2441 bytes pandora_console/images/image_problem_pie.png | Bin 0 -> 3348 bytes pandora_console/images/information.png | Bin 764 -> 1371 bytes pandora_console/images/input_agent.png | Bin 0 -> 1316 bytes pandora_console/images/input_module.png | Bin 0 -> 1383 bytes pandora_console/images/suc.png | Bin 1165 -> 1377 bytes pandora_console/include/functions_events.php | 9 +-- pandora_console/include/functions_graph.php | 25 ++++++- pandora_console/include/functions_html.php | 2 +- pandora_console/include/functions_ui.php | 15 ++-- pandora_console/include/graphs/fgraph.php | 1 + pandora_console/include/styles/pandora.css | 68 ++++++++++++------ .../operation/agentes/alerts_status.php | 2 +- .../agentes/estado_generalagente.php | 4 +- .../operation/agentes/estado_monitores.php | 6 +- .../operation/events/events_list.php | 2 +- 22 files changed, 116 insertions(+), 44 deletions(-) create mode 100644 pandora_console/images/help_w.png create mode 100644 pandora_console/images/image_problem_area.png create mode 100644 pandora_console/images/image_problem_bars.png create mode 100644 pandora_console/images/image_problem_pie.png create mode 100644 pandora_console/images/input_agent.png create mode 100644 pandora_console/images/input_module.png diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 63c1aeb839..207891e1c2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,29 @@ +2013-04-15 Sergio Martin + + * include/functions_html.php + include/styles/pandora.css + include/functions_ui.php + include/functions_graph.php + include/functions_events.php + include/graphs/fgraph.php + operation/events/events_list.php + operation/agentes/alerts_status.php + operation/agentes/estado_generalagente.php + operation/agentes/estado_monitores.php + images/help.png + images/blade.png + images/image_problem_pie.png + images/input_module.png + images/err.png + images/image_problem_area.png + images/input_agent.png + images/help_w.png + images/suc.png + images/image_problem_bars.png + images/information.png: Change new icons, modernize the + error, success and info messages and more aesthetic changes + Fix warning and notices from previous commit + 2013-04-15 Miguel de Dios * godmode/reporting/reporting_builder.item_editor.php: fixed the diff --git a/pandora_console/images/blade.png b/pandora_console/images/blade.png index c6706738c3a728ce5aeeef7a7d8b329c7ea9d20c..69a6fb73cac8d7ba012ca988b16aa28cd6a70b4b 100644 GIT binary patch delta 301 zcmbQjb&AQXGr-TCmrII^fq{Y7)59eQNOJ=*7Y7>y1Ec8oDWX6QXMsm#F;H9>gc%uT z&5@X>s9w)--P6S}q~cc6pa1{unK=v^JG`gs)iQ7>xJ}@Ae6(Afmw}1n3=>zQhy)Xh zfU=KbgkeAkgBJ6(N`?+rN0|l&r)!%9R$0aQ`}a>|J;lg*OnIXuP{+{(i3CQeK!zp1 z9itW=^KF?~%Xs1<`=fpbPe!#Bd=n1DD?Dr8&A*B%CGVrF!hHsX0}sR)Ex8>`0*n~b z6n9CS(PLck{L8{u@0d0kP5CR>A=@COx1fS?MW*D0E|*Vd(-tV%OR%RI-Kh3Z`^oe% vMP;@clc}gdgGjT1fgMXj1mm&eYHSQ~3GMG}!>e}zz0Tn2>gTe~DWM4fdMsbn literal 1300 zcmbVMZ)h837=N2IrGHl2+A(Tz?(J1{jwN^R<=^FK)?9K)m$Bo)Fr_?&S{uYL znw5uf9Lwp_@lS9M0M?9>NE%7$FrU)04%x&wirE}t1JKi3%*m+{Y`{T0tf+qKm+S9S zP)Yl#V{VC&av_{i4vy=1V7xz(8Xrmd(p2vO*i+<*fh;y;Sj>*9dA{hUHth1`Y^rGr zZa|C?KeZWDQi{Qlreo-KF!mJVLD1uJAQ$6v`SwGWK@5#pn(^8Z!@IpagJ9*Mh&Mew z#K*-*#TSwMRK_rJJWUr01xLZ@(DY#%`FuW_VQH4N6NEiqQVqFiSM%Lf3nI>^bR}mf znhH&e@}M?m_$dyuMp#ir8K}k+2s;My>w3)Anb>#$3M|3R< zH!934+eE-PIR+uGi}6-6_j*_%1Ka-dtIkzWAH*+-j}&dyAK#U!uVu36IGy}19q=;=te_1bd_a-C~_&y)a}J^PMu xmO0-dSUm|=*XAB?`0US?xgTsR?-qW2vKb`33;a(tuLsS0DjMz=uLhq#^$$FyruqN? diff --git a/pandora_console/images/err.png b/pandora_console/images/err.png index 3cb2e983a4e3f26b914e4a9474f442648fce24cd..88bbb1b04a1f9cc7d7fafe2ab1479cc21518e75d 100644 GIT binary patch literal 1301 zcmV+w1?u{VP)N)DAOJEQ%w&XG^dG~bOP4O8 z7zz+TjM$vS^ySN!|4{A!fjS^6K7aoF9~oS{coFI(kW&l|85ll%fM^Gk`uYqE7cMX` z2naB6aBx7q2@-$;W@csvmV5W^Vb~53Kwu}qZAAlmdU}kA5CJMgcNMbhK=?m2P*4?u zgh1Hd9*cM24guO^U;t5i@E`+2Ljy*n!Q8>X@ZbRhgM$Nv4F%lX-1yxH19$G+`4134 zSR(=(U;zdV$RYJuCjcpxTx`H*-Rsw{LB9P8O*srqxU2%j8xU{-ZJdDDL^ObA z;(`T`uw-P!Olc^*#6*ZikmoH!bN|B$Dfs&FEDB*$9 z70B?*_(Pirz{$x8HWUPY|NgB5Ej<*0VfcV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K^cG^_Yy=CcF|CL#fTv9FFT@>Rkjz-|M_yn~7=%M%|+ z-~8#x?!9bc@uGZxs;O%!(k;1KKKYyb0N=TN`r;E$IT1Me&HTB`LuKcJE9dw4d;4dv zb!cbm-ViQK%-r6anp-ZUe494aecqW>ek3rlk8HZXobij?n)vvK*YA}c?UapuWlsAE zk=dVr^OMPuVej_bX3U2=T8`)58Ba`kW_obXF7#^M_}rD%*A~OC-uc)(oXQ}Jjs8~K z)dT4_o3&ko4(D`czv2f|w#OLmoP9s#<>rPnM5IYJ^QSTE@QZEk_XdAH30s*@cZJ1q zc3=DFo%?N{jU@NtcDq( R1If{=(P=A!CoJV{{{YO7`8ogq literal 0 HcmV?d00001 diff --git a/pandora_console/images/image_problem_area.png b/pandora_console/images/image_problem_area.png new file mode 100644 index 0000000000000000000000000000000000000000..9b203cdad962c6a94719cc7f98bc866070f73589 GIT binary patch literal 2811 zcmV~ltB_)RY_wSQr7z;iZiHnO<=CW@LhZ*!_){+%y7%mfdF3)fSh#4fwhyi@D`Q^(O z1|A+BqRpaD(x4>F7^z_xKmajPE2A?}+j|r_>+IRH8yU`=In(f;Lh$L+r~h!T-MxF4 zHem!xoMdMkiobwMj@Fn3&ASai$^nS&jg5^#e2~`lcP^xVgDWskcZ5oSdB4GcX9ed-o1!_JI{UdSvELvPu;~0OpuG zckVE#sHo82QJ_%ydySjn>jyEo7@yUBu)}zHc?T|})=6wi+{C}8R7^&Ga zr4|4Pph4*m~b?X{zF>`0|L;SE(f5^2oydYzyYA04d_jm4Flb5xq9^~JokYK zXgg-W0kmBQNmH)I7@U~RSczv9Ym%qZQQ7BGj~@NqY)3S^{h};BBW5NXt{2@gl?ZqXCGJlKjNL zq4;)So5SDuo-s(;E@M!Ze1^z@Pl5;5QHKwFW4JEQ&0v1$C&Nii8A!)Lh+$wIWh7zB zVDuBnP*Pw}`3Y^CGYp`k!0mKAZFSJ-9<56FLD|T|8d9JE4qU~-fH_K5R+gwLXGFEp zVJ*-9g9IR2o*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ZCg9WOTMsR6*2529*jdp?Tk zh=CSrVq$`u%B?T}Z!~^cqANk3fNVCa$5Ys(P9zenZMIDHfkSzo9VT|Y3xxt}n_}AA z%+Ir5Z&v4Cc5^-)#9}7c>|)IIrvQwZVEPHS)KGj`+RUP~#g-*(*{l(YsXjbM+1+4- z{z-dsj>4mu*13H9dHMB9F)9oBQ`%J4S+XSFnV0Y}TV3bHj4wzuR?zppe!M2Oy8q`( zcWJ;EU6GD77b)2?RsItZM^5x)bg72b^<6Gpe_0ma^rx#bH*=mfNHK{#9_{jd|4c_w zQVBh1p_m9c z!~yu!)D)jC#nha$Ho|U>P)vkSOyq#Yr0wPM`8=Nv*+PXbhH8o_olcLa%RR)Mx!&D` zXrKq^0{U=uvVm>gcGcyZDhb4(A&`-g9>D{9nut4eMT8?Br+4MH>m#ZMhG9HZzZ>`7 z$8LNy8s*b&F&xK{$^@UP-j`Ipp literal 0 HcmV?d00001 diff --git a/pandora_console/images/image_problem_bars.png b/pandora_console/images/image_problem_bars.png new file mode 100644 index 0000000000000000000000000000000000000000..7e78972725b4daa52d058b2a4e20f46ce545f631 GIT binary patch literal 2441 zcmV;433m30P)Oa%`acRF!1p3P{%N;B@J=_ zEH)XbVHiLFF;Xj|Gf~@n6glhMxpPk$&YU^Z@Sj5P>C>nGaIf9Hdv|b!5j@MRes_o= zRLG7&NlA&6RF2(6;(XUA_ZrAGFF$Ef<~2P%J<0=HSy`DXS%jhldG_pC2CC&XfB=G3 z4j34i;{W54qcvth^X?}g#S3B^8ykc8{~7299D#NofQJ+{$^mMCH*elxuZ}_B*|TR1 z-@kvy5NBg!V~~}VrCCsc%*V)gFaUB8uIvM=sVT{$Bozk40GMMQJb1vMprAm1M}a~G z)F7G^WC1P$VE|Mxb8>RhETo98T0ku|{{PPyzMPk#c{XGr7*&&&Ff>E?@_PbFbDw? zj>ge{I=2w8=RTk#9Dvk*ShEG@I6ArGGtf>xltv!V@+X6(*#g4g=#!V1mmcVJBrGfp zE|%bF3f7JpE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gJsF{B6ym2PUG>Mx62omt(c={Z3POvqQ36Kfy9$Q~ysn{x| zGR2KX*30Fx$>nmCVp3)D@%KZEgHEU8UQy`ELL_CMNSe9-K&4U%)kqppQ##miIHW|8 zX?3#MZ0NO8)Y|Q~o1_+)1^{GQA0^HyBTTgwB&5%@iw?N9G@NEU9=j9C+P79mwOXC2 z#Q>Q?sKXuA>6TDx^3?Px@=;fQKr^>?&82&)9LF((!N9GhAR#r=I@_&pV@M*O&%58t zJya=b=FUey%+=rP(0flG70rROPbneOsxn=epEtik?-d?AMke}9K+UuxLQ%y&@7_`x z$Q0w{|G{_jqVOr)k-vOqj~XS1Oq+9ay>I^X!gmVn9gWQ1;fT^irWIuxS(z@vGCeex z$V3MmsF^k-n5OP?Jnw^ng!KuTWTmYm(;8?}wpc92{ymyT3F1%kYHPM#d_OYn08Mek zb?0SdJMPeu(`N!?0%QU}CP+aCT$@@0GHpau&==6m0U#3~6C_Bch93NN`~X1$UNol9 zEy}c-+M`=MT{iwrVl0UcDr3)qEjo; z$)e9L6)Nv#fq#@({Jg2-RAs-+t`ck!23rG}0GR-pAi?|t2LKg7;q82g00000NkvXX Hu0mjf6km2z literal 0 HcmV?d00001 diff --git a/pandora_console/images/image_problem_pie.png b/pandora_console/images/image_problem_pie.png new file mode 100644 index 0000000000000000000000000000000000000000..5792487cdab2fafb91b000695fdefd3ca80b6aef GIT binary patch literal 3348 zcmV+v4eRoWP)0k!~EwW&d%2 zix)5cCjnqY0K=on9SpSxrZ9Z{`jtUkT%4lVWDxWe0Mi|(=aUzk$bjw6J%&Ol8HVS~ z&J1j9Y^22izS#WoV=8f51Hkg3!#3?P6Qsg=>0sO>$9oOSl>Sq6qPXU;VI zrx1Ml^yxp`Yj^M79UNhVVbJTm7;uKB$e=st4l;1$*--8x6(f6aMo!a_ro2R8_vm7f zrNl+b%F0y9A`~Y`s^v9+0D@Hx7#Nu1|KpOQHAe9r(7Rv`sFF4?FkrZF;R2}AW}pXP zWMq75WMm`*4=HM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?hasc9HGR?%un+D% JPDHLkV1oL{SmXcz delta 739 zcmV<90v!F@3j75jiBL{Q4GJ0x0000DNk~Le0000G0000G2nGNE03Y-JVUac`e*&IK zL_t(|+GJBrNK{c2{@%UsXU5c##;mYxqh*mu3n8L%BNnz$+q5VV4BF_fpk0KtD5zGt zD9DYraMKu3phlol6jo4zQd;8p1C9>NIN^-ry!Sfi&O90G!eQo|?>pyw=e&D0{BugL zg?eqt0yvZyDKDfRpzJtl?W%Y7k4=csCQp%*r2ZZaE0}C5{~|M1A#Ml=vhb z4o+b;zNLzA0l@`y>fGIa3ZLc^cs9O-xz!}PTdJ`1xE?mC_`Q}y-^8-Qf0@U8Pr1%B zcU-K**snOggySgm>quuD2$7x6XG!carTWjfX$mm^i4*FjP^WMl=X&{p0KP6Hh-koP z=*sTBp2x{MAK^E3Smg6BK-{Dx3nX)I(&_xHP}RoAokKf{z-79-zq zTri*W7#FMM zUzoa3CUZNwqsf}AI+65K%kdk<~n=65CWMDDWE*%JE`c<%1R6cv~3@g zRYz?{BF{*-P{kQ%9`iX5xtm&1diBLZQ^N@q6(=&4aZSTMMmcmcr_hUmx!99*l*An0vnV(I`#w1 z=R8jVpW>49H{0Z)Gd*>+hjFyB3`GSdyvLN-OylQV1e4zuVK05?ij6<&r|`zE$HYa* zs)DUgZ)^TwGcD8fIRM&U+D%4ZMng9qkUPuC|Gmb%Q$fZH5P30&Eb7V5f6jje7ywgb V6U4c32)zIR002ovPDHLkV1hYYU9SKD diff --git a/pandora_console/images/input_agent.png b/pandora_console/images/input_agent.png new file mode 100644 index 0000000000000000000000000000000000000000..2c08f84b513f7267e1bd9296596fd4f0e7b29d3a GIT binary patch literal 1316 zcmbVMZD<>19Dma5M#vi1ZI#l!;CY!Z1Cx86ySyGr+a#B?8B45bz=-H_NuD;>Hh1xI zF=?%mbfT@O8#2Za5jVdM!G6*Sv(gBw;1@gTaDrgaaTqU!aX}uQ(eUU@B9)t&%=z-nKtJuT3B*7V>k?fnPAO%f7GO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J ziilbilRD&(+K=Yq3|Xz+(;cONYBbEtvYhPALp%2;J1 zSqfTgBx$R%ux^)?qFvP_Yb0UD#ztJL#b%~lMw(`wE|PRnHnQ5ty4-FSQk2EWnlfCE z7*jYggfe~w)o+?>dn%W4%7{}Wxn7dOnF;W>N{SR~m7wZe?BK?KlfgCuD+L2Ej5E9rJYo4MKvjVv@(<7qDcf2u~P!4RqO_|Ldx zRO$?-j_bp(3hV2GM0ICmbvasIVg}Xy9Q3eN^@$&X$(5DLtUTD;Kioah>(al2fHwCI z*Pu)+u6&_;q3|1^nFc|yurhb{v*amlfB43UOUsVU+Z@M7rrL*#9pJ;E+)s6*+7j&y z%z+m=KPd`I%M~+^9Y?_F%BCSrfkUsI2lI{mt>*XdR9(?u&fR(OypIdKaV>w2al73x z=b>#VhX4!H?n}#C9g9H2j=$G`XjA;*%{I{%CA{-iP>?rY2|?S7Q>+zy=lt%wJCS^f{c*Ujl_cI4c>H~F}3 e-_m*g=q7M&ao6De)1}|0u0D^;$6l^(>iY*nJK5m? literal 0 HcmV?d00001 diff --git a/pandora_console/images/suc.png b/pandora_console/images/suc.png index 7c6c9a2538bf2190fc3c14d56acce5f50de11a9c..3625a85f3a72cb45f8142fa0a9f2de3c5fa11ee6 100644 GIT binary patch literal 1377 zcmV-n1)lneP)FjjKmSJt7cXA?&jND}2z0m|KsZU7PYulBWaVYx;NZa2 ze&^1e|19_J-NUdQAb`M5g4>D)^z`%?5g`Iph;A&h>p&Q!h6UXen2S|}jTv$+W-&lR z=0A#wd0UL&rh(YoZq9(4jA8ZLZ%_YEI-ZK*L%eQ8RtOM4SR(=(U;#R`0Z7+lk=qCi zo&Y!x=+Fji*1dlH8sv$uAR9rL371vicw=DT0@^qMuZd^?)x?ueHiH8k7U(D`4Vkm- zVgp7DVJQ6m`!mBt@3Ra+S|tn}?gw$32ugS$Q=Wdh$xyM=9@BT|o>_9C?*FCd`!PI& zk$R%_8?go#69bU|Yfi+H(is2(i0DK?EMS7#+<=_J31L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r3)|q@}b{30D#v{&78J+Z+{3>p;aKKGN(ju z-}XO$?#-G69?3~#M=Ui#rrI93?S2|jBc#BJ5I0#^BPtSl9LYdZ4lWNli=zwQ3>-MW z9{{`6dq4n$0fal=zi(e~W9aqG+Zv75x~+OlHxwZyxa1I0!epi#GsoHd#GGB2Fh3Z6 z_u^LoiU3LgOaQ`(zcUzri+v2_v4?8oB&{X z;Hy0kz^(P7trCO*guHJMKmdT|{iXB(900bb+VXnNo4e(kOgzAd2d;UYdV8do0tTS$ fskXfF|J(iq4|>#(jk%!Q00000NkvXXu0mjfn4TNW diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 5bb250a9a1..bc57652d15 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -911,7 +911,7 @@ function events_print_event_table ($filter = "", $limit = 10, $width = 440, $ret $out .= '
'; $out .= '
' . - __('Events generated -by module-') . + __('Events -by module-') . '' . graph_event_module (180, 100, $event['id_agente']) . '
'; $out .= '
'; @@ -1622,14 +1622,14 @@ function events_page_responses ($event) { $event_responses = db_get_all_rows_in_table('tevent_response'); if(empty($event_responses)) { - $data[1] .= ''.__('N/A').''; + $data[1] = ''.__('N/A').''; } else { $responses = array(); foreach($event_responses as $v) { $responses[$v['id']] = $v['name']; } - $data[1] .= html_print_select($responses,'select_custom_response','','','','',true, false, false); + $data[1] = html_print_select($responses,'select_custom_response','','','','',true, false, false); if(isset($event['server_id'])) { $server_id = $event['server_id']; @@ -1734,7 +1734,7 @@ function events_page_custom_fields ($event) { $table->class = "databox alternate"; $all_customs_fields = (bool)check_acl($config["id_user"], - $agent["id_grupo"], "AW"); + $event["id_grupo"], "AW"); if ($all_customs_fields) { $fields = db_get_all_rows_filter('tagent_custom_fields'); @@ -2166,6 +2166,7 @@ function events_page_comments ($event) { ///////// // Comments ///////// + global $config; $table_comments->width = '100%'; $table_comments->data = array (); diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index c4ae1acc71..02546a51f2 100755 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -1321,9 +1321,10 @@ function graphic_agentaccess ($id_agent, $width, $height, $period = 0, $return = $water_mark = array('file' => $config['homedir'] . "/images/logo_vertical_water.png", 'url' => ui_get_full_url("/images/logo_vertical_water.png")); - - if ($empty_data) - $out = fs_error_image(); + + if ($empty_data) { + $out = graph_nodata_image($width, $height); + } else { $out = area_graph($config['flash_charts'], $data, $width, $height, null, null, null, ui_get_full_url("images/image_problem.opaque.png"), "", "", ui_get_full_url(false, false, false, false), @@ -1368,6 +1369,13 @@ function graph_alert_status ($defined_alerts, $fired_alerts, $width = 300, $heig } } +// If any value is negative, truncate it to 0 +function truncate_negatives(&$element) { + if($element < 0) { + $element = 0; + } +} + /** * Print a pie graph with events data of agent or all agents (if id_agent = false) * @@ -3845,4 +3853,15 @@ function grafico_modulo_log4x_format_y_axis ( $number , $decimals=2, $dec_point= break; } } + +function graph_nodata_image($width = 300, $height = 110, $type = 'area') { + $image = ui_get_full_url('images/image_problem_' . $type . '.png', false, false, false); + + $text_div = '
' . __('No data to show') . '
'; + + $image_div = '
' . $text_div . '
'; + + $div = '
' . $image_div . '
'; + return $div; +} ?> diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 834926b4dd..3ea889383f 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -1906,7 +1906,7 @@ function html_print_autocomplete_modules($name = 'module', $default = '', $id_ag ob_start(); html_print_input_text_extended ($name, $default, 'text-' . $name, '', 30, 100, false, '', - array('style' => 'background: url(images/module_unknown.png) no-repeat right;')); + array('style' => 'background: url(images/input_module.png) no-repeat right;')); ui_print_help_tip(__('Type at least two characters to search the module.'), false); $javascript_ajax_page = diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php index 56b68ee451..2be5544c33 100644 --- a/pandora_console/include/functions_ui.php +++ b/pandora_console/include/functions_ui.php @@ -240,9 +240,9 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa $output = ' - - - + + - - +
' . html_print_image($icon_image, true) . '' . $text_title . ''; + ' . html_print_image($icon_image, true) . '' . $text_title . ''; if (!$no_close_bool) { $output .= '' . html_print_image($hack_metaconsole . 'images/blade.png', true) . ''; @@ -251,8 +251,7 @@ function ui_print_message ($message, $class = '', $attributes = '', $return = fa $output .= '
' . $text_message . '' . $text_message . '
'; @@ -727,7 +726,7 @@ function ui_format_alert_row ($alert, $agent = true, $url = '', $agent_style = f $data[$index['force_execution']] = ''; if ($alert["force_execution"] == 0) { $data[$index['force_execution']] = - '' . html_print_image("images/target.png", true, array("border" => '0', "alt" => __('Force'))) . ''; + '' . html_print_image("images/target.png", true, array("border" => '0', "title" => __('Force'))) . ''; } else { $data[$index['force_execution']] = @@ -2112,7 +2111,7 @@ function ui_print_page_header ($title, $icon = "", $return = false, $help = "", $buffer .= '
  •  ' . html_print_image($icon, true, array("style" => "vertical-align:middle;", "class" => "bottom", "border" => "0", "alt" => "")) . '  '; $buffer .= '' . ui_print_truncate_text($title, 45); if ($help != "") - $buffer .= "  " . ui_print_help_icon ($help, true); + $buffer .= "
    " . ui_print_help_icon ($help, true, '', 'images/help_w.png') . "
    "; $buffer .= '
'; if (is_array($options)) { @@ -2418,7 +2417,7 @@ function ui_print_agent_autocomplete_input($parameters) { //Default value - $icon_image = html_print_image('images/agent_unknown.png', true, false, true); + $icon_image = html_print_image('images/input_agent.png', true, false, true); if (isset($parameters['icon_image'])) { $icon_image = $parameters['icon_image']; } diff --git a/pandora_console/include/graphs/fgraph.php b/pandora_console/include/graphs/fgraph.php index 5f2e8ea053..aa34063061 100755 --- a/pandora_console/include/graphs/fgraph.php +++ b/pandora_console/include/graphs/fgraph.php @@ -248,6 +248,7 @@ function area_graph($flash_chart, $chart_data, $width, $height, $color, $legend, } if (empty($chart_data)) { + return graph_nodata_image(); return ''; } diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 19aa499787..124c8c1150 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -878,9 +878,7 @@ td input[type=checkbox] -webkit-transform: scale(1.3); /* Safari and Chrome */ padding: 10px; margin-top: 2px; - display: table-cell; - vertical-align: top; - + display: table-cell; } td.datos3 { @@ -1680,7 +1678,7 @@ ol.steps li { width: 150px; } ol.steps li a { - color: #000; + color: #111; } ol.steps li.visited a { color: #999; @@ -1719,7 +1717,7 @@ fieldset legend { font-weight:bold; #color:#3f4e2f; line-height: 20px; - color:#000; + color:#666; #top:-2em; } @@ -1957,17 +1955,17 @@ table.scw { /* Week number heading */ td.scwWeekNumberHead { - color: #000; + color: #111; } td.scwWeek { - color: #000 !important; + color: #111 !important; } /* Today selector */ td.scwFoot { background-color: #daedae; - color: #000; + color: #111; } td.scwFootDisabled { @@ -1976,7 +1974,7 @@ td.scwFootDisabled { } tfoot.scwFoot { - color: #000; + color: #111; } .scwFoot :hover{ @@ -2006,7 +2004,7 @@ div.cellWhite { width: 100%; height: 100%; background: #fff; - color: #000; + color: #111; } div.cellNormal { @@ -2027,7 +2025,7 @@ div.cellWarning { width: 100%; height: 100%; background: #fce94f; - color: #000; + color: #111; } div.cellUnknown { @@ -2041,14 +2039,14 @@ div.cellNotInit { width: 100%; height: 100%; background: #729fcf; - color: #000; + color: #111; } div.cellAlert { width: 100%; height: 100%; background: #ffa300; - color: #000; + color: #111; } div.cellBorder1 { @@ -2064,14 +2062,19 @@ div.cellBig { } .info_box { - background: #EBEBEB; + background: #FFF; margin: 10px auto; - padding: 5px; - border: 1px solid #A8A8A8; + padding: 0px 5px 5px 10px; + border: 3px solid #D1D1D1; width: 85% !important; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; +/* -moz-box-shadow: 0px 2px 2px #010E1B !important; -webkit-box-shadow: 0px 2px 2px #010E1B !important; box-shadow: 0px 2px 2px #010E1B !important; +*/ } .info_box .title * { @@ -2109,7 +2112,7 @@ tr.group_view_warn, .group_view_warn, tr.group_view_warn.a, a.group_view_warn, t } a.group_view_warn { - color: #000; + color: #111; } tr.group_view_alrm, .group_view_alrm { @@ -2121,7 +2124,7 @@ tr.group_view_unk, .group_view_unk { } tr.group_view_data, .group_view_data { - color: #000; + color: #111; } .group_view_data_unk { @@ -2157,11 +2160,11 @@ tr.group_view_data, .group_view_data { .datos_yellow, .datos_yellowf9 { background-color: #F5E535; - color: #000; + color: #111; } a.datos_blue, .datos_bluef9, .datos_blue { background-color: #77E2F2; - color: #000; + color: #111; } .datos_grey, .datos_greyf9 { background-color: #E4E4E4; @@ -2282,7 +2285,7 @@ span#plugin_description { /*SIDEBAR*/ .menu_sidebar { - color:#000; + color:#111; background:#cccacb url('../../images/login_background.png') right center no-repeat; margin-left: 10px; @@ -2380,6 +2383,10 @@ td input, td select { margin-top: 4px; } +a>img, td>img, td>input, td>span { + vertical-align: middle; +} + .noshadow { -moz-box-shadow: 0px !important; -webkit-box-shadow: 0px !important; @@ -2411,3 +2418,22 @@ DIV.legend>DIV { width: 100% !important; opacity: 0.65 !important; } + +DIV.nodata_text { + padding: 5px 12px 0px 68px; + font-weight: bold; + color: #C1C1C1; + text-transform: uppercase; + display: table-cell; + vertical-align: middle; + text-align: left; +} + +DIV.nodata_container { + width:150px; + height:100px; + background-repeat:no-repeat; + background-position: center; + margin: auto auto; + display: table; +} diff --git a/pandora_console/operation/agentes/alerts_status.php b/pandora_console/operation/agentes/alerts_status.php index d080b5e511..68a79ee627 100644 --- a/pandora_console/operation/agentes/alerts_status.php +++ b/pandora_console/operation/agentes/alerts_status.php @@ -389,7 +389,7 @@ else { if (check_acl ($config["id_user"], $id_group, "AW") || check_acl ($config["id_user"], $id_group, "AM")) { if (count($alerts['alerts_simple']) > 0) { echo '
'; - html_print_submit_button (__('Validate'), 'alert_validate', false, 'class="sub upd"', false); + html_print_submit_button (__('Validate'), 'alert_validate', false, 'class="sub ok"', false); echo '
'; } } diff --git a/pandora_console/operation/agentes/estado_generalagente.php b/pandora_console/operation/agentes/estado_generalagente.php index e820b462a8..177142c4ab 100644 --- a/pandora_console/operation/agentes/estado_generalagente.php +++ b/pandora_console/operation/agentes/estado_generalagente.php @@ -72,7 +72,7 @@ else { $agent_name = $agent_name; } -$data[0] = ui_print_group_icon ($agent["id_grupo"], true) . '  '; +$data[0] = ui_print_group_icon ($agent["id_grupo"], true) . ' '; $data[0] .= $agent_name; $status_img = agents_detail_view_status_img ($agent["critical_count"], @@ -88,7 +88,7 @@ $table_agent->cellstyle[][0] = ''; $data = array(); $data[0] = ui_print_os_icon ($agent["id_os"], true, true, true, false, false, false, array('style' => 'margin:0px 5px 0px 4px;')) . ' '; -$data[0] .= ''.$agent["os_version"].''; +$data[0] .= ui_print_help_tip($agent["os_version"], true); $table_agent->cellstyle[][0] = 'padding-left:50px;'; $data[1] = graph_agent_status ($id_agente, 160, 120, true); diff --git a/pandora_console/operation/agentes/estado_monitores.php b/pandora_console/operation/agentes/estado_monitores.php index 0fd9e73b18..8cfb7e1405 100644 --- a/pandora_console/operation/agentes/estado_monitores.php +++ b/pandora_console/operation/agentes/estado_monitores.php @@ -326,10 +326,10 @@ foreach ($modules as $module) { $data = array (); if (($module["id_modulo"] != 1) && ($module["id_tipo_modulo"] != 100)) { if ($module["flag"] == 0) { - $data[0] = '' . html_print_image("images/target.png", true, array("border" => '0', "alt" => __('Force'))) . ''; + $data[0] = '' . html_print_image("images/target.png", true, array("border" => '0', "title" => __('Force'))) . ''; } else { - $data[0] = '' . html_print_image("images/refresh.png", true, array("border" => "0", "alt" => "refresh")) . ''; + $data[0] = '' . html_print_image("images/refresh.png", true, array("border" => "0", "title" => __("Refresh"))) . ''; } } else { @@ -386,7 +386,7 @@ foreach ($modules as $module) { $data[2] = servers_show_type ($module['id_modulo']) . ' '; if (check_acl ($config['id_user'], $id_grupo, "AW")) - $data[2] .= '' . html_print_image("images/config.png", true, array("alt" => '0', "border" => "")) . ''; + $data[2] .= '' . html_print_image("images/config.png", true, array("alt" => '0', "border" => "", "title" => __('Edit'))) . ''; $data[3] = ""; if ($module['quiet']) { diff --git a/pandora_console/operation/events/events_list.php b/pandora_console/operation/events/events_list.php index 14cd48e3c5..c762c334a2 100644 --- a/pandora_console/operation/events/events_list.php +++ b/pandora_console/operation/events/events_list.php @@ -489,7 +489,7 @@ else { } if (!empty($result)) { - $graph .= '
+ $graph = '
' . __('Events generated -by module-') . '' .