Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEB UI: add icon for button in windows add
  • Loading branch information
pepsonEL authored and perexg committed Nov 12, 2014
1 parent 322f6c6 commit 7e5abcb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/webui/static/app/ext.css
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/webui/static/app/idnode.js
Expand Up @@ -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 || {};
Expand All @@ -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();
}
Expand Down
Binary file added src/webui/static/icons/cancel_button.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7e5abcb

Please sign in to comment.