From 0656344ae4a7a81bc1fd9749f20d27d268a1babb Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 31 Oct 2020 09:11:10 +0100 Subject: [PATCH] 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 --- www/ServerAdministration.js | 5 +++++ www/button/TaskButton.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/www/ServerAdministration.js b/www/ServerAdministration.js index 936d8a07..9927bbc6 100644 --- a/www/ServerAdministration.js +++ b/www/ServerAdministration.js @@ -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', diff --git a/www/button/TaskButton.js b/www/button/TaskButton.js index 514d2bca..c2f836f3 100644 --- a/www/button/TaskButton.js +++ b/www/button/TaskButton.js @@ -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'),