]> git.proxmox.com Git - pve-manager.git/commitdiff
acme: various small UX improvements
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 6 May 2020 17:13:38 +0000 (19:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 6 May 2020 17:13:38 +0000 (19:13 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/form/ACMEAccountSelector.js
www/manager6/node/ACME.js

index 12d5848c807e47d4c4b3ae41e72662bdc4a9f03f..c2c24d151fdb8141cc490ff793d4134ad2411437 100644 (file)
@@ -14,6 +14,7 @@ Ext.define('PVE.form.ACMEAccountSelector', {
     queryMode: 'local',
     allowBlank: false,
     editable: false,
+    forceSelection: true,
 
     isEmpty: function() {
        return this.getStore().getData().length === 0;
index 2d5d7841b227dcb1d38eb982cfd82b60c6cff7fb..10a958fe70387988c03d2ab1b405df9324324297 100644 (file)
@@ -190,6 +190,7 @@ Ext.define('PVE.node.ACMEDomainEdit', {
 
     subject: gettext('Domain'),
     isCreate: false,
+    width: 450,
 
     items: [
        {
@@ -243,8 +244,9 @@ Ext.define('PVE.node.ACMEDomainEdit', {
                {
                    xtype: 'proxmoxKVComboBox',
                    name: 'type',
-                   fieldLabel: gettext('Type'),
+                   fieldLabel: gettext('Challenge Type'),
                    allowBlank: false,
+                   value: 'standalone',
                    comboItems: [
                        ['standalone', 'standalone'],
                        ['dns', 'DNS'],
@@ -658,17 +660,17 @@ Ext.define('PVE.node.ACME', {
     columns: [
        {
            dataIndex: 'domain',
-           flex: 1,
+           flex: 5,
            text: gettext('Domain'),
        },
        {
            dataIndex: 'type',
-           width: 100,
+           flex: 1,
            text: gettext('Type'),
        },
        {
            dataIndex: 'plugin',
-           width: 100,
+           flex: 1,
            text: gettext('Plugin'),
        },
     ],