]> git.proxmox.com Git - pve-manager-legacy.git/commit
ui: node/ACME: add ACMEDomainEdit
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 6 May 2020 14:31:11 +0000 (16:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 6 May 2020 15:49:35 +0000 (17:49 +0200)
commit9e499173ae11aa0c04b974f2c0c0b7cc97eb9495
tree4394d3fa71658ae2168b59458252636b761d201d
parent08772ff3f651ff80e97bdc188e2093fe248fd4e2
ui: node/ACME: add ACMEDomainEdit

which expects a nodeconfig (for digest and domaincount)
and for the edit case, the parsed 'domain' object

this editwindow has three fields:
* type selector (standalone/dns)
* domain
* plugin (only for dns)

if the user chooses dns but there are already the maximum count of
acmedomainX entries, the type field gets invalid (with a error tooltip)

the onGetValues method is non-trivial, because of the mixing of
acmedomainX and acme.domain values, so we have to be careful
that we delete/edit the correct entry

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/node/ACME.js