Rework LuCI build system
[project/luci.git] / modules / luci-base / luasrc / view / cbi / footer.htm
1         <%- if pageaction then -%>
2         <div class="cbi-page-actions">
3                 <% if redirect then %>
4                 <div style="float:left">
5                         <input class="cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" />
6                 </div>
7                 <% end %>
8
9                 <% if flow.skip then %>
10                         <input class="cbi-button cbi-button-skip" type="submit" name="cbi.skip" value="<%:Skip%>" />
11                 <% end %>
12                 <% if not autoapply and not flow.hideapplybtn then %>
13                         <input class="cbi-button cbi-button-apply" type="submit" name="cbi.apply" value="<%:Save & Apply%>" />
14                 <% end %>
15                 <% if not flow.hidesavebtn then %>
16                         <input class="cbi-button cbi-button-save" type="submit" value="<%:Save%>" />
17                 <% end %>
18                 <% if not flow.hideresetbtn then %>
19                         <input class="cbi-button cbi-button-reset" type="button" value="<%:Reset%>" onclick="location.href='<%=REQUEST_URI%>'" />
20                 <% end %>
21
22                 <script type="text/javascript">cbi_d_update();</script>
23         </div>
24         <%- end -%>
25 </form>
26 <%+footer%>