luci-app-acme: Hide keysize and days columns

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>
This commit is contained in:
Sergey Ponomarev 2023-06-04 01:22:25 +03:00
parent ea516da183
commit e39d4a22f4

View file

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