ui: administration: set icons for tabs
orient on PVE, the ones for Updates, ServerStatus, should by self-explanatory. Services is in PVE named "System", but reusing that cogs icon makes similar sense here too, and seems in line with search result of a "service icons" query. Syslog is the same as our general log icon, but as we also use this normally for worker task logs and that is present here too, I changed the worker task log icon to the alternative list, which resembles a task view window - so IMO even better than before. Sync that change also into the always present tasks button at the top right. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1143f6ca93
commit
0656344ae4
|
@ -20,11 +20,13 @@ Ext.define('PBS.ServerAdministration', {
|
|||
{
|
||||
xtype: 'pbsServerStatus',
|
||||
itemId: 'status',
|
||||
iconCls: 'fa fa-area-chart',
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxNodeServiceView',
|
||||
title: gettext('Services'),
|
||||
itemId: 'services',
|
||||
iconCls: 'fa fa-cogs',
|
||||
restartCommand: 'reload', // avoid disruptions
|
||||
startOnlyServices: {
|
||||
syslog: true,
|
||||
|
@ -36,6 +38,7 @@ Ext.define('PBS.ServerAdministration', {
|
|||
{
|
||||
xtype: 'proxmoxNodeAPT',
|
||||
title: gettext('Updates'),
|
||||
iconCls: 'fa fa-refresh',
|
||||
upgradeBtn: {
|
||||
xtype: 'button',
|
||||
reference: 'upgradeBtn',
|
||||
|
@ -51,12 +54,14 @@ Ext.define('PBS.ServerAdministration', {
|
|||
{
|
||||
xtype: 'proxmoxJournalView',
|
||||
itemId: 'logs',
|
||||
iconCls: 'fa fa-list',
|
||||
title: gettext('Syslog'),
|
||||
url: "/api2/extjs/nodes/localhost/journal",
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxNodeTasks',
|
||||
itemId: 'tasks',
|
||||
iconCls: 'fa fa-list-alt',
|
||||
title: gettext('Tasks'),
|
||||
height: 'auto',
|
||||
nodename: 'localhost',
|
||||
|
|
|
@ -7,7 +7,7 @@ Ext.define('PBS.TaskButton', {
|
|||
badgeCls: '',
|
||||
},
|
||||
|
||||
iconCls: 'fa fa-list',
|
||||
iconCls: 'fa fa-list-alt',
|
||||
userCls: 'pmx-has-badge',
|
||||
text: gettext('Tasks'),
|
||||
|
||||
|
|
Loading…
Reference in New Issue