From: Piotr Kuchciak Date: Wed, 12 Nov 2014 11:14:14 +0000 (+0100) Subject: WEB UI: add icon for button in windows add X-Git-Tag: v4.1~776 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e5abcb0c4640e6282f87a2f5e61a717bb0c0556;p=thirdparty%2Ftvheadend.git WEB UI: add icon for button in windows add http://www.softicons.com/toolbar-icons/flatastic-icons-part-1-by-custom-icon-design/cancel-icon --- diff --git a/src/webui/static/app/ext.css b/src/webui/static/app/ext.css index 8829d1e92..e8a6949af 100644 --- a/src/webui/static/app/ext.css +++ b/src/webui/static/app/ext.css @@ -494,6 +494,10 @@ background-image: url(../icons/bouquets.png) !important; } +.cancelButton{ + background-image: url(../icons/cancel_button.png) !important; +} + .x-linked { display: inline-block; background-image: url(../icons/linked.gif) !important; diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 2ffd8160b..584dfc5bc 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -823,6 +823,7 @@ tvheadend.idnode_create = function(conf, onlyDefault) var saveBtn = new Ext.Button({ tooltip: 'Create new entry', text: 'Create', + iconCls: 'add', hidden: true, handler: function() { var params = conf.create.params || {}; @@ -843,6 +844,7 @@ tvheadend.idnode_create = function(conf, onlyDefault) var undoBtn = new Ext.Button({ tooltip: 'Cancel operation', text: 'Cancel', + iconCls: 'cancelButton', handler: function() { win.close(); } diff --git a/src/webui/static/icons/cancel_button.png b/src/webui/static/icons/cancel_button.png new file mode 100644 index 000000000..535d9871c Binary files /dev/null and b/src/webui/static/icons/cancel_button.png differ