]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/MainView.js
subscription: remove hard-coded white background
[pmg-gui.git] / js / MainView.js
index 4c4f28c5a0f46ccc605482ea53104228ae1fcd8e..2cc140c1eceba870da226d25980638f8df322d2f 100644 (file)
@@ -203,6 +203,19 @@ Ext.define('PMG.MainView', {
                    margin: '0 5 0 0',
                    iconCls: 'fa fa-user',
                    menu: [
+                       {
+                           iconCls: 'fa fa-gear',
+                           text: gettext('My Settings'),
+                           handler: () => Ext.create('PMG.window.Settings').show(),
+                       },
+                       {
+                           iconCls: 'fa fa-paint-brush',
+                           text: gettext('Theme'),
+                           handler: () => Ext.create('Proxmox.window.ThemeEditWindow', {
+                               cookieName: 'PMGThemeCookie',
+                               autoShow: true,
+                           }),
+                       },
                        {
                            iconCls: 'fa fa-language',
                            text: gettext('Language'),