]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI: add missing icons for View level menus and replace chnumops icon
authorJaroslav Kysela <perex@perex.cz>
Tue, 1 Dec 2015 21:28:18 +0000 (22:28 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 1 Dec 2015 21:28:18 +0000 (22:28 +0100)
src/webui/static/app/chconf.js
src/webui/static/app/ext.css
src/webui/static/app/idnode.js
src/webui/static/icons/award_star_bronze_3.png [new symlink]
src/webui/static/icons/award_star_gold_3.png [new symlink]
src/webui/static/icons/award_star_silver_3.png [new symlink]
src/webui/static/icons/brick.png [new symlink]

index dd5bb8b560d5d4d2236361719f3dd7b4fa4390b6..31c8e6692e8828853987eaef140c890248e2e78a 100644 (file)
@@ -165,7 +165,7 @@ tvheadend.channel_tab = function(panel, index)
             });
             return new Ext.Toolbar.Button({
                 tooltip: _('Channel number operations'),
-                iconCls: 'bullet_add',
+                iconCls: 'chnumops',
                 text: _('Number operations'),
                 menu: m,
                 disabled: false
index 93152bfab5cceb916fb7becac85cee3d35c3d234..40fcbffa48421504462efe97f80b5317dbe1c6fc 100644 (file)
     background-image: url(../icons/find.png) !important;
 }
 
+.chnumops {
+    background-image: url(../icons/brick.png) !important;
+}
+
 .uilevel {
     background-image: url(../icons/application_form.png) !important;
 }
 
+.uilevel_basic {
+    background-image: url(../icons/award_star_bronze_3.png) !important;
+}
+
+.uilevel_advanced {
+    background-image: url(../icons/award_star_silver_3.png) !important;
+}
+
+.uilevel_expert {
+    background-image: url(../icons/award_star_gold_3.png) !important;
+}
+
 .imdb {
     background-image: url(../icons/imdb.png) !important;
 }
index ab1f70096b84123f2218b0a1b77e565c3ab0f7f2..a321acfe7c5b563f173c80557b7d1b3117e5031a 100644 (file)
@@ -594,16 +594,19 @@ tvheadend.idnode_uilevel_menu = function(uilevel, handler)
     var m = new Ext.menu.Menu();
     m.add({
         text: _('Basic'),
+        iconCls: 'uilevel_basic',
         tvh_uilevel: 'basic',
         handler: selected
     });
     m.add({
         text: _('Advanced'),
+        iconCls: 'uilevel_advanced',
         tvh_uilevel: 'advanced',
         handler: selected
     });
     m.add({
         text: _('Expert'),
+        iconCls: 'uilevel_expert',
         tvh_uilevel: 'expert',
         handler: selected
     });
diff --git a/src/webui/static/icons/award_star_bronze_3.png b/src/webui/static/icons/award_star_bronze_3.png
new file mode 120000 (symlink)
index 0000000..70df168
--- /dev/null
@@ -0,0 +1 @@
+../../../../vendor/famfamsilk/award_star_bronze_3.png
\ No newline at end of file
diff --git a/src/webui/static/icons/award_star_gold_3.png b/src/webui/static/icons/award_star_gold_3.png
new file mode 120000 (symlink)
index 0000000..6b5a91a
--- /dev/null
@@ -0,0 +1 @@
+../../../../vendor/famfamsilk/award_star_gold_3.png
\ No newline at end of file
diff --git a/src/webui/static/icons/award_star_silver_3.png b/src/webui/static/icons/award_star_silver_3.png
new file mode 120000 (symlink)
index 0000000..733802f
--- /dev/null
@@ -0,0 +1 @@
+../../../../vendor/famfamsilk/award_star_silver_3.png
\ No newline at end of file
diff --git a/src/webui/static/icons/brick.png b/src/webui/static/icons/brick.png
new file mode 120000 (symlink)
index 0000000..c2e421b
--- /dev/null
@@ -0,0 +1 @@
+../../../../vendor/famfamsilk/brick.png
\ No newline at end of file