From 0f8e36f21416805f8dc2f0932db1bb81f1ccf39f Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Sat, 24 Nov 2018 16:33:54 +0100 Subject: luci-app-openvpn: "final" changeset * add 'auth-user-pass' edit section in file mode (see screenshot) * add port & protocol detection in file mode (see screenshot) * don't mix file & normal edit modes any longer * add CC compatibility fix (for turris devices) * fix/refine JS instance name filter * remove needless CSS rules * unlink ovpn/auth files on section removal * commit changes instantly (Add/Upload/Delete) Signed-off-by: Dirk Brenken --- applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm') diff --git a/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm b/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm index 17beef0d3..c1fe05215 100644 --- a/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm +++ b/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm @@ -11,17 +11,11 @@ <%:Overview%> » <%=luci.i18n.translatef("Instance \"%s\"", self.instance)%> - <% if self.mode == "file" then %> - <%:Switch to basic configuration%> »

- "><%:Switch to advanced configuration%> » -


- <% elseif self.mode == "basic" then %> + <% if self.mode == "basic" then %> "><%:Switch to advanced configuration%> »

- <%:Switch to file based configuration%> »


<% elseif self.mode == "advanced" then %> <%:Switch to basic configuration%> »

- <%:Switch to file based configuration%> »


<%:Configuration category%>: <% for i, c in ipairs(self.categories) do %> -- cgit v1.2.3