From: Jaroslav Kysela Date: Tue, 1 Dec 2015 21:28:18 +0000 (+0100) Subject: WEBUI: add missing icons for View level menus and replace chnumops icon X-Git-Tag: v4.2.1~1416 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=418e81c3778775967c7f830a85d3f79e5e06e848;p=thirdparty%2Ftvheadend.git WEBUI: add missing icons for View level menus and replace chnumops icon --- diff --git a/src/webui/static/app/chconf.js b/src/webui/static/app/chconf.js index dd5bb8b56..31c8e6692 100644 --- a/src/webui/static/app/chconf.js +++ b/src/webui/static/app/chconf.js @@ -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 diff --git a/src/webui/static/app/ext.css b/src/webui/static/app/ext.css index 93152bfab..40fcbffa4 100644 --- a/src/webui/static/app/ext.css +++ b/src/webui/static/app/ext.css @@ -168,10 +168,26 @@ 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; } diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index ab1f70096..a321acfe7 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -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 index 000000000..70df16811 --- /dev/null +++ b/src/webui/static/icons/award_star_bronze_3.png @@ -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 index 000000000..6b5a91aa7 --- /dev/null +++ b/src/webui/static/icons/award_star_gold_3.png @@ -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 index 000000000..733802fef --- /dev/null +++ b/src/webui/static/icons/award_star_silver_3.png @@ -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 index 000000000..c2e421bc8 --- /dev/null +++ b/src/webui/static/icons/brick.png @@ -0,0 +1 @@ +../../../../vendor/famfamsilk/brick.png \ No newline at end of file