]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI: change icon watch TV, Auto Record, add icon for HELP
authorPiotr Kuchciak <piotr.kuchciak@gmail.com>
Fri, 10 Oct 2014 13:23:12 +0000 (15:23 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 10 Oct 2014 17:53:18 +0000 (19:53 +0200)
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
src/webui/static/app/epg.js
src/webui/static/app/ext.css
src/webui/static/icons/auto_rec.png [new file with mode: 0644]
src/webui/static/icons/help.png [new file with mode: 0644]
src/webui/static/icons/watch_tv.png [new file with mode: 0644]

index 076c9beb0ff1586db28c0ec6340d2094292923db..e9338bcffb7df0694e2f4af055b27381a66c1eb3 100644 (file)
@@ -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');
         }
index 3f19b300d821cb2296750cbd14808dedad2a3c58..e2e84a3d020d3bc2ccf57b3360d04306edca72ca 100644 (file)
@@ -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');
             }
index 67d092c8e349f3dd6f2c4d4f85310aa07c697d3b..174e825fcaf2ac0dfdcde4cc6836a43074955475 100644 (file)
     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 (file)
index 0000000..ba7aecd
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 (file)
index 0000000..dc15b8d
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 (file)
index 0000000..859cb79
Binary files /dev/null and b/src/webui/static/icons/watch_tv.png differ