From: Piotr Kuchciak Date: Fri, 10 Oct 2014 13:23:12 +0000 (+0200) Subject: WEBUI: change icon watch TV, Auto Record, add icon for HELP X-Git-Tag: v4.1~1084 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=089159feabf293329a3edcb4fbd42858322004ec;p=thirdparty%2Ftvheadend.git 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... --- diff --git a/src/webui/static/app/config.js b/src/webui/static/app/config.js index 076c9beb0..e9338bcff 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 3f19b300d..e2e84a3d0 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 67d092c8e..174e825fc 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 000000000..ba7aecd8c Binary files /dev/null and b/src/webui/static/icons/auto_rec.png differ diff --git a/src/webui/static/icons/help.png b/src/webui/static/icons/help.png new file mode 100644 index 000000000..dc15b8da8 Binary files /dev/null and b/src/webui/static/icons/help.png differ diff --git a/src/webui/static/icons/watch_tv.png b/src/webui/static/icons/watch_tv.png new file mode 100644 index 000000000..859cb7961 Binary files /dev/null and b/src/webui/static/icons/watch_tv.png differ