luci-app-acme: Hide keysize and days columns
authorSergey Ponomarev <stokito@gmail.com>
Sat, 3 Jun 2023 22:22:25 +0000 (01:22 +0300)
committerSergey Ponomarev <stokito@gmail.com>
Mon, 7 Aug 2023 21:44:10 +0000 (00:44 +0300)
The columns makes little sense and instead we can keep more space for domains.
The days is really advanced option that is better not to change and it's support may be removed for simplicity.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js

index 8f3c808b11b2dc8c12af99c5d3a1613971679384..3f7dda3ae8d5a53b557f478d7dcb65052535c8ee 100644 (file)
@@ -63,6 +63,7 @@ return view.extend({
                o.value("ec-384", _("ECC 384 bits"));
                o.default = "2048";
                o.rmempty = false;
+               o.modalonly = true;
 
                o = s.taboption('general', form.DynamicList, "domains", _("Domain names"),
                        _("Domain names to include in the certificate. " +
@@ -154,6 +155,7 @@ return view.extend({
                o.optional    = true;
                o.placeholder = 90;
                o.datatype    = 'uinteger';
+               o.modalonly = true;
 
                return m.render()
        }