From: Carlo Landmeter Date: Sat, 8 Mar 2014 11:13:35 +0000 (+0100) Subject: webui: add icons to channel management functions X-Git-Tag: v4.1~2234^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F339%2Fhead;p=thirdparty%2Ftvheadend.git webui: add icons to channel management functions --- diff --git a/src/webui/static/app/chconf.js b/src/webui/static/app/chconf.js index ea93c2111..c11951cb2 100644 --- a/src/webui/static/app/chconf.js +++ b/src/webui/static/app/chconf.js @@ -153,7 +153,7 @@ tvheadend.channel_tab = function(panel) var mapButton = new Ext.Toolbar.Button({ tooltip : 'Map services to channels', - iconCls : '', + iconCls : 'clone', text : 'Map Services', handler : tvheadend.service_mapper, disabled : false @@ -161,7 +161,7 @@ tvheadend.channel_tab = function(panel) var lowNoButton = new Ext.Toolbar.Button({ tooltip : 'Assign lowest free channel number', - iconCls : '', + iconCls : 'bullet_add', text : 'Assign Number', handler : assign_low_number, disabled : false @@ -169,7 +169,7 @@ tvheadend.channel_tab = function(panel) var noUpButton = new Ext.Toolbar.Button({ tooltip : 'Move channel one number up', - iconCls : '', + iconCls : 'arrow_up', text : 'Number Up', handler : move_number_up, disabled : false @@ -177,7 +177,7 @@ tvheadend.channel_tab = function(panel) var noDownButton = new Ext.Toolbar.Button({ tooltip : 'Move channel one number down', - iconCls : '', + iconCls : 'arrow_down', text : 'Number Down', handler : move_number_down, disabled : false @@ -185,7 +185,7 @@ tvheadend.channel_tab = function(panel) var noSwapButton = new Ext.Toolbar.Button({ tooltip : 'Swap the two selected channels numbers', - iconCls : '', + iconCls : 'arrow_switch', text : 'Swap Numbers', handler : swap_numbers, disabled : false diff --git a/src/webui/static/app/ext.css b/src/webui/static/app/ext.css index 124dfbc51..4152748a7 100644 --- a/src/webui/static/app/ext.css +++ b/src/webui/static/app/ext.css @@ -272,6 +272,22 @@ background-image: url(../icons/rec.png) !important; } +.bullet_add { + background-image: url(../icons/bullet_add.png) !important; +} + +.arrow_up { + background-image: url(../icons/arrow_up.png) !important; +} + +.arrow_down { + background-image: url(../icons/arrow_down.png) !important; +} + +.arrow_switch { + background-image: url(../icons/arrow_switch.png) !important; +} + .x-smallhdr { float: left; width: 100px; diff --git a/src/webui/static/icons/arrow_down.png b/src/webui/static/icons/arrow_down.png new file mode 120000 index 000000000..f2e9de09e --- /dev/null +++ b/src/webui/static/icons/arrow_down.png @@ -0,0 +1 @@ +../../../../vendor/famfamsilk/arrow_down.png \ No newline at end of file diff --git a/src/webui/static/icons/arrow_switch.png b/src/webui/static/icons/arrow_switch.png new file mode 120000 index 000000000..b0b841dec --- /dev/null +++ b/src/webui/static/icons/arrow_switch.png @@ -0,0 +1 @@ +../../../../vendor/famfamsilk/arrow_switch.png \ No newline at end of file diff --git a/src/webui/static/icons/arrow_up.png b/src/webui/static/icons/arrow_up.png new file mode 120000 index 000000000..8744937c1 --- /dev/null +++ b/src/webui/static/icons/arrow_up.png @@ -0,0 +1 @@ +../../../../vendor/famfamsilk/arrow_up.png \ No newline at end of file diff --git a/src/webui/static/icons/bullet_add.png b/src/webui/static/icons/bullet_add.png new file mode 120000 index 000000000..1695294ac --- /dev/null +++ b/src/webui/static/icons/bullet_add.png @@ -0,0 +1 @@ +../../../../vendor/famfamsilk/bullet_add.png \ No newline at end of file