From 089159feabf293329a3edcb4fbd42858322004ec Mon Sep 17 00:00:00 2001 From: Piotr Kuchciak Date: Fri, 10 Oct 2014 15:23:12 +0200 Subject: [PATCH] WEBUI: change icon watch TV, Auto Record, add icon for HELP Please add icon help for all button for all tabs because i am beginner and i dont know how... --- src/webui/static/app/config.js | 1 + src/webui/static/app/epg.js | 5 +++-- src/webui/static/app/ext.css | 12 ++++++++++++ src/webui/static/icons/auto_rec.png | Bin 0 -> 984 bytes src/webui/static/icons/help.png | Bin 0 -> 571 bytes src/webui/static/icons/watch_tv.png | Bin 0 -> 742 bytes 6 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 src/webui/static/icons/auto_rec.png create mode 100644 src/webui/static/icons/help.png create mode 100644 src/webui/static/icons/watch_tv.png diff --git a/src/webui/static/app/config.js b/src/webui/static/app/config.js index 076c9beb..e9338bcf 100644 --- a/src/webui/static/app/config.js +++ b/src/webui/static/app/config.js @@ -216,6 +216,7 @@ tvheadend.miscconf = function(panel, index) { var helpButton = new Ext.Button({ text: 'Help', + iconCls: 'help', handler: function() { new tvheadend.help('General Configuration', 'config_misc.html'); } diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index 3f19b300..e2e84a3d 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -703,7 +703,7 @@ tvheadend.epg = function() { tvheadend.autorecButton = new Ext.Button({ text: 'Create AutoRec', - iconCls: 'wand', + iconCls: 'autoRec', tooltip: 'Create an automatic recording entry that will ' + 'record all future programmes that matches ' + 'the current query.', @@ -723,7 +723,7 @@ tvheadend.epg = function() { '->', { text: 'Watch TV', - iconCls: 'eye', + iconCls: 'watchTv', handler: function() { new tvheadend.VideoPlayer(); } @@ -733,6 +733,7 @@ tvheadend.epg = function() { '-', { text: 'Help', + iconCls: 'help', handler: function() { new tvheadend.help('Electronic Program Guide', 'epg.html'); } diff --git a/src/webui/static/app/ext.css b/src/webui/static/app/ext.css index 67d092c8..174e825f 100644 --- a/src/webui/static/app/ext.css +++ b/src/webui/static/app/ext.css @@ -390,6 +390,18 @@ background-image: url(../icons/channel_tags.png) !important; } +.help{ + background-image: url(../icons/help.png) !important; +} + +.watchTv{ + background-image: url(../icons/watch_tv.png) !important; +} + +.autoRec{ + background-image: url(../icons/auto_rec.png) !important; +} + .x-linked { display: inline-block; background-image: url(../icons/linked.gif) !important; diff --git a/src/webui/static/icons/auto_rec.png b/src/webui/static/icons/auto_rec.png new file mode 100644 index 0000000000000000000000000000000000000000..ba7aecd8ccba0b5b41afe7426b1a8dc529b6760d GIT binary patch literal 984 zcmV;}11J26P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D02y>eSaefwW^{L9 za%BKPWN%_+AW3auXJt}lVPtu6$z?nM00T%#L_t(IPkobZOxsl$#XF6d?8D5q%)wG7 zg@I68LYG1*w1v)gq_CEPD3oDeHe6(F&0dftW(G>bP-wt0rVw?I5!f7ru`NNva3L}y z3{afJNkTMiDa05Tj7kg$KmRl}`{2tjIiK!1C-**2uIRs5UtixV=(M0#LB|A1!bktl z>guX~YHDh*yQgodv8jFiOvAf0x4geLaP7vA^YimvLQzuK`cJ-{nW=7T{}Au-H#zy5 zi&p;&bTn9Lt|_JRFei*2MeZfR3w_7z9Xw}dr>G-xZ4vC6JjpZC@3n-z?842!kNWL zOEP@2lPfiu6qg;Q`{D{&XQViROLbECI)P$SA`wwZ*zyYTzf^|NU`C?Q z(d12G?V}jR{Cha-^Duk=p+^)91~+Hw^!KwhDKM*{ty;~d?XkF(X)Hu1F}p*;cxpCY zo0FX9<V+PHwZ9}4!l@+z!;aJvcR2*?+k*eB@HQ!25reZ2$J3~*$ar?;~ z+%XnlE7?ayK?0{r7lB9{Gr77n&3ZhTf1RlP1Le1}=M>BL@L0(Y-R|`t{a*LRI zk3Gfm6Wi!3vLV&xFxn>PW~&^9G83oMIT;$_dl#;b_PnizyHR}AB|~c{z+Ud=dU*w7 zMiX5JU1-d9UVlXgS!cQ;PSG)0)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