]> git.proxmox.com Git - pmg-gui.git/commitdiff
server administration: add icons
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Jul 2021 16:54:50 +0000 (18:54 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Jul 2021 16:54:50 +0000 (18:54 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/ServerAdministration.js

index 76bdac79f5a6b686171809af568e2af8aeb12309..332b03a436688f311cafeee1aa4b5e075c9705ad 100644 (file)
@@ -20,11 +20,13 @@ Ext.define('PMG.ServerAdministration', {
        {
            xtype: 'pmgServerStatus',
            itemId: 'status',
+           iconCls: 'fa fa-area-chart',
        },
        {
            xtype: 'proxmoxNodeServiceView',
-            title: gettext('Services'),
+           title: gettext('Services'),
            itemId: 'services',
+           iconCls: 'fa fa-cogs',
            startOnlyServices: {
                syslog: true,
                pmgproxy: true,
@@ -34,7 +36,8 @@ Ext.define('PMG.ServerAdministration', {
        },
        {
            xtype: 'proxmoxNodeAPT',
-            title: gettext('Updates'),
+           title: gettext('Updates'),
+           iconCls: 'fa fa-refresh',
            upgradeBtn: {
                xtype: 'button',
                reference: 'upgradeBtn',
@@ -50,6 +53,7 @@ Ext.define('PMG.ServerAdministration', {
        {
            xtype: 'proxmoxNodeAPTRepositories',
            title: gettext('Repositories'),
+           iconCls: 'fa fa-files-o',
            itemId: 'aptrepositories',
            nodename: 'localhost',
            product: 'Proxmox Mail Gateway',
@@ -57,12 +61,14 @@ Ext.define('PMG.ServerAdministration', {
        {
            xtype: 'proxmoxJournalView',
            itemId: 'logs',
+           iconCls: 'fa fa-list',
            title: gettext('Syslog'),
            url: "/api2/extjs/nodes/" + Proxmox.NodeName + "/journal",
        },
        {
            xtype: 'proxmoxNodeTasks',
            itemId: 'tasks',
+           iconCls: 'fa fa-list-alt',
            title: gettext('Tasks'),
            height: 'auto',
            nodename: Proxmox.NodeName,