diff --git a/src/webui/static/app/ext.css b/src/webui/static/app/ext.css index 8829d1e9..e8a6949a 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 2ffd8160..584dfc5b 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 00000000..535d9871 Binary files /dev/null and b/src/webui/static/icons/cancel_button.png differ