From 9e56b07108facd5f388d766a7a24c90fd2a1f590 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 5 Oct 2008 19:49:21 +0000 Subject: * luci/applications: some initial openvpn work - defunct --- .../luasrc/view/openvpn/pageswitch.htm | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 applications/luci-openvpn/luasrc/view/openvpn/pageswitch.htm (limited to 'applications/luci-openvpn/luasrc/view') diff --git a/applications/luci-openvpn/luasrc/view/openvpn/pageswitch.htm b/applications/luci-openvpn/luasrc/view/openvpn/pageswitch.htm new file mode 100644 index 0000000000..13ef35c7b7 --- /dev/null +++ b/applications/luci-openvpn/luasrc/view/openvpn/pageswitch.htm @@ -0,0 +1,36 @@ +<%# +LuCI - Lua Configuration Interface +Copyright 2008 Steven Barth +Copyright 2008 Jo-Philipp Wich + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +$Id: value.htm 3333 2008-09-16 10:08:20Z Cyrus $ + +-%> + +
+ + "><%:openvpn_overview Overview%> » + "><%=self.instance%> + + +
    <% for _, c in ipairs(self.categories) do %> +
  • <%=c[1]%>
    • + <% for i, s in ipairs(c[2]) do %> + <% if s == self.csection then %> + <%=translate("openvpn_%s" % s, s)%> + <% else %> + "><%=translate("openvpn_%s" % s, s)%> + <% end %> + <% if next(c[2], i) then %>|<% end %> + <% end %> +
  • + <% end %>
+
-- cgit v1.2.3