]> git.proxmox.com Git - pve-manager-legacy.git/commitdiff
gui: create user info menu intro for selecting the theme
authorDaniel Tschlatscher <d.tschlatscher@proxmox.com>
Wed, 8 Mar 2023 16:40:06 +0000 (17:40 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Mar 2023 16:55:41 +0000 (17:55 +0100)
this requires a bump of the widget toolkit so the version includes the
necessary widgets.

Signed-off-by: Daniel Tschlatscher <d.tschlatscher@proxmox.com>
Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
www/manager6/Workspace.js

index 0c8869a74458220fdc4be2f33565ac17c889b25f..78ab37b6bff262d198fa6447d9ba551b6af4a916 100644 (file)
@@ -395,6 +395,14 @@ Ext.define('PVE.StdWorkspace', {
                                        me.selectById('root');
                                    },
                                },
+                               {
+                                   iconCls: 'fa fa-paint-brush',
+                                   text: gettext('Theme'),
+                                   handler: function() {
+                                       Ext.create('Proxmox.window.ThemeEditWindow')
+                                           .show();
+                                   },
+                               },
                                {
                                    iconCls: 'fa fa-language',
                                    text: gettext('Language'),