2 LuCI - Lua Configuration Interface
3 Copyright
2008 Steven Barth
<steven@midlink.org
>
4 Copyright
2008 Jo-Philipp Wich
<xm@leipzig.freifunk.net
>
6 Licensed under the Apache License, Version
2.0 (the
"License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-
2.0
16 <fieldset class=
"cbi-section">
18 <a href=
"<%=luci.dispatcher.build_url("admin
", "services
", "openvpn
")%>"><%:openvpn_overview Overview%
></a> »
19 <a href=
"<%=luci.dispatcher.build_url("admin
", "services
", "openvpn
", self.mode, self.instance)%>"><%=self.instance%
></a>
22 <% if self.mode ==
"basic" then %
>
23 <a href=
"<%=luci.dispatcher.build_url("admin
", "services
", "openvpn
", "advanced
", self.instance)%>"><%:openvpn_switch_advanced Switch to advanced configuration
»%
></a>
25 <a href=
"<%=luci.dispatcher.build_url("admin
", "services
", "openvpn
", "basic
", self.instance)%>"><%:openvpn_switch_basic
« Switch to basic configuration%
></a>
26 <hr style=
"margin:0.5em 0" />
27 <%:openvpn_confcategory Configuration category%
>:
28 <% for i, c in ipairs(self.categories) do %
>
29 <% if c == self.category then %
>
30 <strong><%=translate(
"openvpn_%s" % c, c)%
></strong>
32 <a href=
"<%=luci.dispatcher.build_url(
33 "admin
", "services
", "openvpn
", "advanced
", self.instance, c
34 )%>"><%=translate(
"openvpn_%s" % c, c)%
></a>
36 <% if next(self.categories, i) then %
>|<% end %
>