]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: add icons to channel management functions 339/head
authorCarlo Landmeter <clandmeter@gmail.com>
Sat, 8 Mar 2014 11:13:35 +0000 (12:13 +0100)
committerCarlo Landmeter <clandmeter@gmail.com>
Sat, 8 Mar 2014 11:13:35 +0000 (12:13 +0100)
src/webui/static/app/chconf.js
src/webui/static/app/ext.css
src/webui/static/icons/arrow_down.png [new symlink]
src/webui/static/icons/arrow_switch.png [new symlink]
src/webui/static/icons/arrow_up.png [new symlink]
src/webui/static/icons/bullet_add.png [new symlink]

index ea93c211188f773bfcacbeb8df302f6c4736f99a..c11951cb2e5db07d4ed932a93ffeaf27a54fa6d5 100644 (file)
@@ -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
index 124dfbc51d7a935e6c3f19ae1d51cb317689d65b..4152748a76926f338cb292354999304e79963668 100644 (file)
        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 (symlink)
index 0000000..f2e9de0
--- /dev/null
@@ -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 (symlink)
index 0000000..b0b841d
--- /dev/null
@@ -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 (symlink)
index 0000000..8744937
--- /dev/null
@@ -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 (symlink)
index 0000000..1695294
--- /dev/null
@@ -0,0 +1 @@
+../../../../vendor/famfamsilk/bullet_add.png
\ No newline at end of file