Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI: add missing icons for View level menus and replace chnumops icon
  • Loading branch information
perexg committed Dec 1, 2015
1 parent 2d0c141 commit 418e81c
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/static/app/chconf.js
Expand Up @@ -165,7 +165,7 @@ tvheadend.channel_tab = function(panel, index)
});
return new Ext.Toolbar.Button({
tooltip: _('Channel number operations'),
iconCls: 'bullet_add',
iconCls: 'chnumops',
text: _('Number operations'),
menu: m,
disabled: false
Expand Down
16 changes: 16 additions & 0 deletions src/webui/static/app/ext.css
Expand Up @@ -168,10 +168,26 @@
background-image: url(../icons/find.png) !important;
}

.chnumops {
background-image: url(../icons/brick.png) !important;
}

.uilevel {
background-image: url(../icons/application_form.png) !important;
}

.uilevel_basic {
background-image: url(../icons/award_star_bronze_3.png) !important;
}

.uilevel_advanced {
background-image: url(../icons/award_star_silver_3.png) !important;
}

.uilevel_expert {
background-image: url(../icons/award_star_gold_3.png) !important;
}

.imdb {
background-image: url(../icons/imdb.png) !important;
}
Expand Down
3 changes: 3 additions & 0 deletions src/webui/static/app/idnode.js
Expand Up @@ -594,16 +594,19 @@ tvheadend.idnode_uilevel_menu = function(uilevel, handler)
var m = new Ext.menu.Menu();
m.add({
text: _('Basic'),
iconCls: 'uilevel_basic',
tvh_uilevel: 'basic',
handler: selected
});
m.add({
text: _('Advanced'),
iconCls: 'uilevel_advanced',
tvh_uilevel: 'advanced',
handler: selected
});
m.add({
text: _('Expert'),
iconCls: 'uilevel_expert',
tvh_uilevel: 'expert',
handler: selected
});
Expand Down
1 change: 1 addition & 0 deletions src/webui/static/icons/award_star_bronze_3.png
1 change: 1 addition & 0 deletions src/webui/static/icons/award_star_gold_3.png
1 change: 1 addition & 0 deletions src/webui/static/icons/award_star_silver_3.png
1 change: 1 addition & 0 deletions src/webui/static/icons/brick.png

0 comments on commit 418e81c

Please sign in to comment.