From b13adbafbf36adea693b9b4c2434ea03a4f2ce62 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Mon, 3 May 2010 20:32:02 +0100 Subject: [PATCH] add an ok icon and use it for the connection restored status --- deluge/ui/web/css/deluge.css | 4 ++++ deluge/ui/web/icons/ok.png | Bin 0 -> 905 bytes deluge/ui/web/js/deluge-all/UI.js | 5 ++++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 deluge/ui/web/icons/ok.png diff --git a/deluge/ui/web/css/deluge.css b/deluge/ui/web/css/deluge.css index 904d73a40..7dc22465e 100644 --- a/deluge/ui/web/css/deluge.css +++ b/deluge/ui/web/css/deluge.css @@ -379,6 +379,10 @@ dl.singleline dd { background-image: url('../icons/home.png') !important; } +.icon-ok { + background-image: url('../icons/ok.png') !important; +} + .icon-error { background-image: url('../icons/error.png') !important; } diff --git a/deluge/ui/web/icons/ok.png b/deluge/ui/web/icons/ok.png new file mode 100644 index 0000000000000000000000000000000000000000..b3f7858620cdff8e8b63c63951bbd3480013d2f1 GIT binary patch literal 905 zcmV;419tq0P)VM1biywmAq zQJMHmU0q$1+wHzKD1EYcmb_?Re2mWJeoTsf2+4xQU48BpWy()aPcw0dPIcpnn!9L$z9n9}w_G_GSP@)fU_-s56%b1~2JGC5ghPB=wTEZN!F z71h;M?koPAh?`}YOeSn>Y#L6)tPVoI&f!>gsby$r_%q8O(`vOAjEG~{m7I+E z`FSnknz)9A#RXP8^yEF#>{V)+X8#iPAtNKBfN2GKnIe%We6ew)tC{#z{Q`Dx3D)E5 zR3hNZ$yZt@SoHj7$C0u-1wMY9g2ceI9JPvN0fkz2$?Vo5j-Gl0l~Xk_Yazq=vJ7&H z42g?rXPJg+nS%(=3&`j5aNU1bi^lFeTK;B7>=-x(d5;X$s6ycs?JU4C2N4#1!SA1$ zJe*PtMU+rJQM)5#2Tt+AYiHI@lp4-}2L zG;!`wDPjj=J7VL8fP=CPr_HC)*XQ*zExW>EFgWwBx3{PJLE%H>{<1>1CLzaH2q`^= z1g}E3slpfpoGUi87d$|Je_!|PZ15e^@_z^8$Hc^Uj^=~AU3<@I*-C?cfu_e7f?*D* zO1RK;pcyv`Z^7ev(%aSb)Jv^?PPLMCS~UQp!C=^znwnbaa2z_)+S*oAQc`CBZ_qF@ z@-fiSasT<$)c9~T8Xb@%X@$%&=71+mgqcW9N=h=({p~a~`~M$j%5s@f4s300h3T7q f68t8@e*_o+S|p<9tJSBA00000NkvXXu0mjfdjzIo literal 0 HcmV?d00001 diff --git a/deluge/ui/web/js/deluge-all/UI.js b/deluge/ui/web/js/deluge-all/UI.js index 4f8efd823..50a129e85 100644 --- a/deluge/ui/web/js/deluge-all/UI.js +++ b/deluge/ui/web/js/deluge-all/UI.js @@ -142,7 +142,10 @@ deluge.ui = { icon: Ext.MessageBox.ERROR }); deluge.events.fire('disconnect'); - deluge.statusbar.setStatus('Lost connection to webserver'); + deluge.statusbar.setStatus({ + iconCls: 'icon-ok', + text: 'Lost connection to webserver'} + ); this.checking = setInterval(this.checkConnection, 2000); } this.errorCount++;