From e6804f0a9313d5aa207994a4e3a365d5373c8abf Mon Sep 17 00:00:00 2001 From: Christian Schoenebeck Date: Sun, 3 May 2015 18:05:32 +0200 Subject: luci-app-radicale: New app to support Radicale CalDAV/CardDAV server New Application !!! Dependency not set because there are two packages "radicale-py2" and "radicale-py3" (currently BROKEN) available !!! Signed-off-by: Christian Schoenebeck --- .../luasrc/view/radicale/btn_startstop.htm | 49 ++++++++++++++++++++++ .../luasrc/view/radicale/ro_value.htm | 35 ++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 applications/luci-app-radicale/luasrc/view/radicale/btn_startstop.htm create mode 100644 applications/luci-app-radicale/luasrc/view/radicale/ro_value.htm (limited to 'applications/luci-app-radicale/luasrc/view') diff --git a/applications/luci-app-radicale/luasrc/view/radicale/btn_startstop.htm b/applications/luci-app-radicale/luasrc/view/radicale/btn_startstop.htm new file mode 100644 index 0000000000..79d1c36297 --- /dev/null +++ b/applications/luci-app-radicale/luasrc/view/radicale/btn_startstop.htm @@ -0,0 +1,49 @@ + + + + +<%+cbi/valueheader%> + +<% if self:cfgvalue(section) ~= false then +-- We need to garantie that function cfgvalue run first to set missing parameters +%> + + + " style="font-size: 100%;" type="button" onclick="onclick_startstop(this.id)" + <%= + attr("name", section) .. attr("id", cbid) .. attr("value", self.inputtitle) .. ifattr(self.disabled, "disabled") + %> /> +<% end %> + +<%+cbi/valuefooter%> + diff --git a/applications/luci-app-radicale/luasrc/view/radicale/ro_value.htm b/applications/luci-app-radicale/luasrc/view/radicale/ro_value.htm new file mode 100644 index 0000000000..6e05206aa1 --- /dev/null +++ b/applications/luci-app-radicale/luasrc/view/radicale/ro_value.htm @@ -0,0 +1,35 @@ +<%+cbi/valueheader%> + /> + <% if self.password then %><% end %> + <% if #self.keylist > 0 or self.datatype then -%> + + <% end -%> +<%+cbi/valuefooter%> -- cgit v1.2.3