Fix broken repository link in target/makeccs
[librecmc/librecmc.git] / package / luci / modules / luci-base / luasrc / view / cbi / footer.htm
1 <%
2         local display_back  = (redirect and not flow.hidebackbtn)
3         local display_skip  = (flow.skip)
4         local display_apply = (not autoapply and not flow.hideapplybtn)
5         local display_save  = (not flow.hidesavebtn)
6         local display_reset = (not flow.hideresetbtn)
7
8         if pageaction and
9            (display_back or display_skip or display_apply or display_save or display_reset)
10         then
11                 %><div class="cbi-page-actions"><%
12
13                 if display_back then
14                         %><input class="cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" /> <%
15                 end
16
17                 if display_skip then
18                         %><input class="cbi-button cbi-button-skip" type="button" value="<%:Skip%>" onclick="cbi_submit(this, 'cbi.skip')" /> <%
19                 end
20
21                 if display_apply then
22                         %><input class="cbi-button cbi-button-apply" type="button" value="<%:Save & Apply%>" onclick="cbi_submit(this, 'cbi.apply')" /> <%
23                 end
24
25                 if display_save then
26                         %><input class="cbi-button cbi-button-save" type="submit" value="<%:Save%>" /> <%
27                 end
28
29                 if display_reset then
30                         %><input class="cbi-button cbi-button-reset" type="button" value="<%:Reset%>" onclick="location.href='<%=REQUEST_URI%>'" /> <%
31                 end
32
33                 %></div><%
34         end
35 %>
36
37 </form>
38
39 <script type="text/javascript">cbi_init();</script>
40
41 <%+footer%>