luci-app-acme: Remove services tab
authorJannis Pinter <jannis+openwrt@pinterjann.is>
Tue, 20 Oct 2020 06:02:32 +0000 (08:02 +0200)
committerJannis Pinter <jannis+openwrt@pinterjann.is>
Tue, 20 Oct 2020 06:02:32 +0000 (08:02 +0200)
Signed-off-by: Jannis Pinter <jannis+openwrt@pinterjann.is>
applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js

index 16e264722bdf59a3d291665791c120467be751d2..6901a4ac03a24ad6822553f82282ff092f2006ef 100644 (file)
@@ -44,7 +44,6 @@ return view.extend({
                s.addremove = true;
 
                o = s.tab("general", _("General Settings"));
-               o = s.tab("services", _("Services"));
                o = s.tab("challenge", _("Challenge Validation"));
                o = s.tab("advanced", _('Advanced Settings'));
 
@@ -73,7 +72,7 @@ return view.extend({
                o.datatype = "list(string)";
 
                if (stats[1].type === 'file') {
-                       o = s.taboption('services', form.Flag, "update_uhttpd", _("Use for uhttpd"),
+                       o = s.taboption('general', form.Flag, "update_uhttpd", _("Use for uhttpd"),
                                _("Update the uhttpd config with this certificate once issued " +
                                        "(only select this for one certificate). " +
                                        "Is also available luci-app-uhttpd to configure uhttpd form the LuCI interface."));
@@ -81,7 +80,7 @@ return view.extend({
                }
 
                if (stats[0].type === 'file') {
-                       o = s.taboption('services', form.Flag, "update_nginx", _("Use for nginx"),
+                       o = s.taboption('general', form.Flag, "update_nginx", _("Use for nginx"),
                                _("Update the nginx config with this certificate once issued " +
                                        "(only select this for one certificate). " +
                                        "Nginx must support ssl, if not it won't start as it needs to be " +