diff options
Diffstat (limited to 'applications/luci-app-ddns/luasrc/view/ddns/overview_enabled.htm')
-rw-r--r-- | applications/luci-app-ddns/luasrc/view/ddns/overview_enabled.htm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/applications/luci-app-ddns/luasrc/view/ddns/overview_enabled.htm b/applications/luci-app-ddns/luasrc/view/ddns/overview_enabled.htm new file mode 100644 index 0000000000..64b3dae455 --- /dev/null +++ b/applications/luci-app-ddns/luasrc/view/ddns/overview_enabled.htm @@ -0,0 +1,15 @@ + +<!-- ++ BEGIN ++ Dynamic DNS ++ overview_enabled.htm ++ --> +<%+cbi/valueheader%> + +<input type="hidden" value="1"<%= + attr("name", "cbi.cbe." .. self.config .. "." .. section .. "." .. self.option) +%> /> + <!-- modified to call own function --> +<input class="cbi-input-checkbox" onclick="cbi_d_update(this.id)" onchange="onchange_enabled(this.id)" type="checkbox"<%= + attr("id", cbid) .. attr("name", cbid) .. attr("value", self.enabled or 1) .. + ifattr((self:cfgvalue(section) or self.default) == self.enabled, "checked", "checked") +%> /> + +<%+cbi/valuefooter%> +<!-- ++ END ++ Dynamic DNS ++ overview_enabled.htm ++ --> |