2 LuCI - Lua Configuration Interface
3 Copyright
2009 Steven Barth
<steven@midlink.org
>
5 Licensed under the Apache License, Version
2.0 (the
"License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-
2.0
14 <%- self.active:render() %
>
15 <div class=
"cbi-page-actions">
16 <input type=
"hidden" name=
"cbi.delg.current" value=
"<%=self.current%>" />
17 <% for _, x in ipairs(self.chain) do %
>
18 <input type=
"hidden" name=
"cbi.delg.path" value=
"<%=x%>" />
20 <% if not self.disallow_pageactions then %
>
21 <% if self.allow_finish and not self:get_next(self.current) then %
>
22 <input class=
"cbi-button cbi-button-finish" type=
"submit" value=
"<%:Finish%>" />
23 <% elseif self:get_next(self.current) then %
>
24 <input class=
"cbi-button cbi-button-next" type=
"submit" value=
"<%:Next »%>" />
26 <% if self.allow_cancel then %
>
27 <input class=
"cbi-button cbi-button-cancel" type=
"submit" name=
"cbi.cancel" value=
"<%:Cancel%>" />
29 <% if self.allow_reset then %
>
30 <input class=
"cbi-button cbi-button-reset" type=
"reset" value=
"<%:Reset%>" />
32 <% if self.allow_back and self:get_prev(self.current) then %
>
33 <input class=
"cbi-button cbi-button-back" type=
"submit" name=
"cbi.delg.back" value=
"<%:« Back%>" />
36 <script type=
"text/javascript">cbi_d_update();
</script>