Rework LuCI build system
[project/luci.git] / applications / luci-app-ddns / luasrc / view / ddns / overview_startstop.htm
1
2 <!-- ++ BEGIN ++ Dynamic DNS ++ overview_startstop.htm ++ -->
3 <%+cbi/valueheader%>
4
5 <% if self:cfgvalue(section) ~= false then
6 -- We need to garantie that function cfgvalue run first to set missing parameters
7 %>
8         <!-- style="font-size: 100%;" needed for openwrt theme to fix font size -->
9         <!-- type="button" onclick="..." enable standard onclick functionalty   -->
10         <input class="cbi-button cbi-input-<%=self.inputstyle or "button" %>" style="font-size: 100%;" type="button" onclick="onclick_startstop(this.id)"
11         <%=
12         attr("name", section) .. attr("id", cbid) .. attr("value", self.inputtitle) .. ifattr(self.disabled, "disabled")
13         %> />
14 <% end %>
15
16 <%+cbi/valuefooter%>
17 <!-- ++ END ++ Dynamic DNS ++ overview_startstop.htm ++ -->