ui: task filter: add button icons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
bfe4b7d782
commit
fb0d9833af
|
@ -14,6 +14,10 @@
|
|||
background-color: #3892d4;
|
||||
}
|
||||
|
||||
.info-blue {
|
||||
color: #3892d4;
|
||||
}
|
||||
|
||||
/* make the upper window end visible */
|
||||
.x-css-shadow {
|
||||
box-shadow: rgb(136,136,136) 0px -1px 15px !important;
|
||||
|
|
|
@ -84,6 +84,7 @@ Ext.define('PBS.node.Tasks', {
|
|||
},
|
||||
|
||||
formulas: {
|
||||
filterIcon: (get) => 'fa fa-filter' + (get('showFilter') ? ' info-blue' : ''),
|
||||
extraParams: function(get) {
|
||||
let me = this;
|
||||
let params = {};
|
||||
|
@ -145,18 +146,23 @@ Ext.define('PBS.node.Tasks', {
|
|||
{
|
||||
xtype: 'proxmoxButton',
|
||||
text: gettext('View'),
|
||||
iconCls: 'fa fa-window-restore',
|
||||
disabled: true,
|
||||
handler: 'showTaskLog',
|
||||
},
|
||||
{
|
||||
xtype: 'button',
|
||||
text: gettext('Reload'),
|
||||
iconCls: 'fa fa-refresh',
|
||||
handler: 'reload',
|
||||
},
|
||||
'->',
|
||||
{
|
||||
xtype: 'button',
|
||||
enableToggle: true,
|
||||
bind: {
|
||||
iconCls: '{filterIcon}',
|
||||
},
|
||||
text: gettext('Filter'),
|
||||
stateful: true,
|
||||
stateId: 'task-showfilter',
|
||||
|
|
Loading…
Reference in New Issue