]> git.proxmox.com Git - pmg-gui.git/commitdiff
acme config view: derive from panel not container
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Mar 2021 09:41:28 +0000 (10:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Mar 2021 09:41:28 +0000 (10:41 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/Certificates.js

index a2c25a5b651f49b84b4104dc08523b874ab77117..d25c099455bc64805dd611a354e07dd2e5fa6a6f 100644 (file)
@@ -20,7 +20,7 @@ Ext.define('PMG.CertificateConfiguration', {
 });
 
 Ext.define('PMG.CertificateView', {
-    extend: 'Ext.container.Container',
+    extend: 'Ext.panel.Panel',
     alias: 'widget.pmgCertificatesView',
 
     title: gettext('Certificates'),
@@ -73,21 +73,21 @@ Ext.define('PMG.ACMEConfigView', {
     extend: 'Ext.panel.Panel',
     alias: 'widget.pmgACMEConfigView',
 
-    title: gettext('ACME Accounts'),
+    title: gettext('ACME Accounts/Challenges'),
 
     //onlineHelp: 'sysadmin_certificate_management',
 
     items: [
        {
+           xtype: 'pmxACMEAccounts',
            region: 'north',
            border: false,
-           xtype: 'pmxACMEAccounts',
            acmeUrl: '/config/acme',
        },
        {
+           xtype: 'pmxACMEPluginView',
            region: 'center',
            border: false,
-           xtype: 'pmxACMEPluginView',
            acmeUrl: '/config/acme',
        },
     ],