0
0
mirror of https://github.com/openwrt/luci.git synced 2025-01-31 11:51:48 +00:00
Florian Eckert f68e5c1071 luci-app-dockerman: initial checkin
Inital commit version v0.5.13 from https://github.com/lisaac/luci-app-dockerman

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-06-10 08:44:58 +02:00

11 lines
513 B
HTML

<%+cbi/valueheader%>
<input type="hidden" value="1"<%=
attr("name", "cbi.cbe." .. self.config .. "." .. section .. "." .. self.option)
%> />
<input class="cbi-input-checkbox" data-update="click change" type="checkbox" <% if self.disable == 1 then %>disabled <% end %><%=
attr("id", cbid) .. attr("name", cbid) .. attr("value", self.enabled or 1) ..
ifattr((self:cfgvalue(section) or self.default) == self.enabled, "checked", "checked")
%> />
<label<%= attr("for", cbid)%>></label>
<%+cbi/valuefooter%>