libs/cbi: various widget fixes
[project/luci.git] / libs / cbi / luasrc / view / cbi / footer.htm
1 <%#
2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
5
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
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13
14 -%>
15         <%- if pageaction then -%>
16         <div class="cbi-page-actions">
17                 <% if flow.skip then %>
18                         <input class="cbi-button cbi-button-skip" type="submit" name="cbi.skip" value="<%:skip Skip%>" />
19                 <% end %>
20                 <% if not autoapply then%>
21                         <input class="cbi-button cbi-button-apply" type="submit" name="cbi.apply" value="<%:saveapply%>" />
22                 <% end %>
23                 <input class="cbi-button cbi-button-save" type="submit" value="<%:save%>" />
24                 <input class="cbi-button cbi-button-reset" type="reset" value="<%:reset%>" />
25                 <script type="text/javascript">cbi_d_update();</script>
26         </div>
27         <%- end -%>
28 </form>
29 <%+footer%>