From f7b3e11729f7b7c2c842fbc968e04a813e965b9b Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 10 Dec 2009 18:24:31 +0000 Subject: [PATCH] update some of the icons in the webui --- deluge/ui/web/css/deluge.css | 4 ++++ deluge/ui/web/icons/connections.png | Bin 657 -> 654 bytes deluge/ui/web/icons/find_more.png | Bin 0 -> 700 bytes deluge/ui/web/icons/install_plugin.png | Bin 0 -> 850 bytes deluge/ui/web/js/Deluge.Preferences.Plugins.js | 7 ++++--- deluge/ui/web/js/Deluge.Toolbar.js | 6 +++--- 6 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 deluge/ui/web/icons/find_more.png create mode 100644 deluge/ui/web/icons/install_plugin.png diff --git a/deluge/ui/web/css/deluge.css b/deluge/ui/web/css/deluge.css index 89b030a46..12ed866ef 100644 --- a/deluge/ui/web/css/deluge.css +++ b/deluge/ui/web/css/deluge.css @@ -41,10 +41,14 @@ input { .x-deluge-dht, .x-btn .x-deluge-dht { background-image: url('/icons/dht.png'); } .x-deluge-preferences, .x-btn .x-deluge-preferences { background-image: url('/icons/preferences.png') } .x-deluge-connections, .x-btn .x-deluge-connections { background-image: url('/icons/connections.png') } +.x-deluge-connection-manager, .x-btn .x-deluge-connection-manager { background-image: url('/icons/connection_manager.png') } .x-deluge-traffic, .x-btn .x-deluge-traffic { background-image: url('/icons/traffic.png') } .x-deluge-edit-trackers, .x-btn .x-deluge-edit-trackers {background-image: url('/icons/edit_trackers.png'); } .x-deluge-freespace, .x-btn .x-deluge-freespace {background-image: url('/icons/drive.png'); } +.x-deluge-install-plugin, .x-btn .x-deluge-install-plugin {background-image: url('/icons/install_plugin.png'); } +.x-deluge-find-more, .x-btn .x-deluge-find-more {background-image: url('/icons/find_more.png'); } + /* Torrent Details */ #torrentDetails dl, dl.singleline { diff --git a/deluge/ui/web/icons/connections.png b/deluge/ui/web/icons/connections.png index 8856340b91763bc7cd13ba0780a7a3faf034ae5f..b18a74d916acbb61100fb9f1e9863b5334a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D1DpbOU;{j`fDvP+-QR#QM%&8ea+i=Ff)9NMN4tj& hOud4C=0?8+7yz92@ltmMt`GnK002ovPDHLkV1ky=8H4}; diff --git a/deluge/ui/web/icons/find_more.png b/deluge/ui/web/icons/find_more.png new file mode 100644 index 0000000000000000000000000000000000000000..7a5ae62e3271a19c14d2721b0d7d13bcb29f7fac GIT binary patch literal 700 zcmV;t0z>_YP)RpX(gF%<-hsT33u0tE}|wXKJq?NulUy=lRVDD@B!=|RwgAA~|7P#aAt zy`&L?CaE#WZZ^B?ypUqEZoz>c?}Pu$o0<0>5s5^QnNbvl5eR}9fMpxN0VN=#>v}>} z)jWV`bg*^W?EJ;^qmkY-gXenML}zPNmUHoV{Og-nFT0AnxwoL%ro3J+f{0Ck37pe4 zHgS74*nRSp-+ja>(j-B%4CC;0ba-03`W(r`Dk)3lZ4#$pq*kj92Eq}aLpbaaIF=;| zMC_%7=k627dWJ7w>%%&_TCJL;-|qDfx$z{EuSgi9z&CKVb9w1eJFO^+SpeQ*wYI2Q zy&Tkg-03t5(zyx)zWhNMlr=>vBI*!t=3FmDtro$zOvuVo(u#OZ20r5PK91aJv+wF+sIK;B-X6*S=nyLL(s;bs}GD%RoKfh-mFD@iYrP3;C zj1Jf6VHjro-krPiQ#Y^1S7I+xx+0aWEM*~7xv~;l{&Ic%%7=~5>#rqA`ay)lVWer= z9zL6mo0y)y{~#K@HJ{JtovFmNzC<|rf+!x1%*@QqMWZ(! zg7Z_@-UK$xnh0+IWwTj?LZJ`}27_ahlT!|0}viUZ(2v@}M& ifo6hg80)$}0t^7#XCuWh+DDfF0000+zE z^XARGpZjj-K1Ye}<-70PbI#@^pkX*&`d}Z z#=!9bm7#d6$pIPawZS3v(Yq%AqrF2=WRUTVp}wnUY}u#og+57ojpT&5#jnk@9+AUU1~YWHeA|a`GyAqu z1DPtFv4H~9(xZz&y}!LsC`9u4{BAlvpATlKn4SChJ|*^tI(yo@pxXqrHc???EP;Y6 zr&ZBbXUuuxty4VZbOE z2nK>E>UooFA67UMWB>sf1HrL@-m`->Rq=gmYw51q>bjWiI(s&@Hegr=@j2i!hpFos z*Kt^d;1*=18GgSeVKkQPJ<+F%Xre%dY2ZiZ2Yix``e?h)I88?{Wpm4`UJa^R_O|Jn zVv5AsZD@^mwI30$;?3WB zN~9~}lz-#r(o*Bb>gqD-Z@Xo7vgTl2bLREWMJI3F75Ta*WA=LKK(ME}5u%X^=8Cb- zE%$+fDf`22Z@1D<)gr+OQ{EEaX_oCT9U=NptCs1-793JfTOmR)Wl$gZXNdN!<07*qoM6N<$f_Ltf8UO$Q literal 0 HcmV?d00001 diff --git a/deluge/ui/web/js/Deluge.Preferences.Plugins.js b/deluge/ui/web/js/Deluge.Preferences.Plugins.js index 811d9773d..8485d9b6f 100644 --- a/deluge/ui/web/js/Deluge.Preferences.Plugins.js +++ b/deluge/ui/web/js/Deluge.Preferences.Plugins.js @@ -44,7 +44,7 @@ Ext.deluge.preferences.InstallPlugin = Ext.extend(Ext.Window, { closeAction: 'hide', - iconCls: 'x-deluge-add-file', + iconCls: 'x-deluge-install-plugin', layout: 'fit', @@ -61,7 +61,7 @@ Ext.deluge.preferences.InstallPlugin = Ext.extend(Ext.Window, { this.form = this.add({ xtype: 'form', baseCls: 'x-plain', - labelWidth: 55, + labelWidth: 70, autoHeight: true, fileUpload: true, items: [{ @@ -182,13 +182,14 @@ Ext.deluge.preferences.Plugins = Ext.extend(Ext.Panel, { bbar: new Ext.Toolbar({ items: [{ cls: 'x-btn-text-icon', - iconCls: 'x-deluge-add', + iconCls: 'x-deluge-install-plugin', text: _('Install'), handler: this.onInstallPlugin, scope: this }, '->', { cls: 'x-btn-text-icon', text: _('Find More'), + iconCls: 'x-deluge-find-more', handler: this.onFindMorePlugins, scope: this }] diff --git a/deluge/ui/web/js/Deluge.Toolbar.js b/deluge/ui/web/js/Deluge.Toolbar.js index dea3719b9..b69f64385 100644 --- a/deluge/ui/web/js/Deluge.Toolbar.js +++ b/deluge/ui/web/js/Deluge.Toolbar.js @@ -90,14 +90,14 @@ Copyright: id: 'preferences', cls: 'x-btn-text-icon', text: _('Preferences'), - icon: '/icons/preferences.png', + iconCls: 'x-deluge-preferences', handler: this.onPreferencesClick, scope: this },{ id: 'connectionman', cls: 'x-btn-text-icon', text: _('Connection Manager'), - iconCls: 'x-deluge-connections', + iconCls: 'x-deluge-connection-manager', handler: this.onConnectionManagerClick, scope: this },'->',{ @@ -200,4 +200,4 @@ Copyright: }); Deluge.Toolbar = new Ext.deluge.Toolbar(); -})(); \ No newline at end of file +})();