From 1bb4822dca6113f73e3bc89e2acf15935e6f8e92 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 3 Dec 2014 15:17:05 +0100 Subject: Rework LuCI build system * Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/admin_status/index/ddns.htm | 1 - .../luci-ddns/luasrc/view/ddns/detail_logview.htm | 56 ------ .../luci-ddns/luasrc/view/ddns/detail_lvalue.htm | 22 --- .../luci-ddns/luasrc/view/ddns/detail_value.htm | 9 - .../luasrc/view/ddns/overview_doubleline.htm | 10 - .../luasrc/view/ddns/overview_enabled.htm | 15 -- .../luasrc/view/ddns/overview_startstop.htm | 17 -- .../luci-ddns/luasrc/view/ddns/overview_status.htm | 208 --------------------- .../luci-ddns/luasrc/view/ddns/system_status.htm | 158 ---------------- 9 files changed, 496 deletions(-) delete mode 100644 applications/luci-ddns/luasrc/view/admin_status/index/ddns.htm delete mode 100644 applications/luci-ddns/luasrc/view/ddns/detail_logview.htm delete mode 100644 applications/luci-ddns/luasrc/view/ddns/detail_lvalue.htm delete mode 100644 applications/luci-ddns/luasrc/view/ddns/detail_value.htm delete mode 100644 applications/luci-ddns/luasrc/view/ddns/overview_doubleline.htm delete mode 100644 applications/luci-ddns/luasrc/view/ddns/overview_enabled.htm delete mode 100644 applications/luci-ddns/luasrc/view/ddns/overview_startstop.htm delete mode 100644 applications/luci-ddns/luasrc/view/ddns/overview_status.htm delete mode 100644 applications/luci-ddns/luasrc/view/ddns/system_status.htm (limited to 'applications/luci-ddns/luasrc/view') diff --git a/applications/luci-ddns/luasrc/view/admin_status/index/ddns.htm b/applications/luci-ddns/luasrc/view/admin_status/index/ddns.htm deleted file mode 100644 index 9791065083..0000000000 --- a/applications/luci-ddns/luasrc/view/admin_status/index/ddns.htm +++ /dev/null @@ -1 +0,0 @@ -<%+ddns/system_status%> diff --git a/applications/luci-ddns/luasrc/view/ddns/detail_logview.htm b/applications/luci-ddns/luasrc/view/ddns/detail_logview.htm deleted file mode 100644 index 494b7435cd..0000000000 --- a/applications/luci-ddns/luasrc/view/ddns/detail_logview.htm +++ /dev/null @@ -1,56 +0,0 @@ - - - - -<%+cbi/valueheader%> - -
- -<% --- one button on top, one at the buttom -%> - /> - -

- -<% --- set a readable style taken from openwrt theme for textarea#syslog --- in openwrt theme there are problems with a width of 100 so we check for theme and set to lower value -%> - -

- -<% --- one button on top, one at the buttom -%> - /> - -<%+cbi/valuefooter%> - diff --git a/applications/luci-ddns/luasrc/view/ddns/detail_lvalue.htm b/applications/luci-ddns/luasrc/view/ddns/detail_lvalue.htm deleted file mode 100644 index d516837b2b..0000000000 --- a/applications/luci-ddns/luasrc/view/ddns/detail_lvalue.htm +++ /dev/null @@ -1,22 +0,0 @@ - - - -  -<% if self.widget == "select" then %> - -<% elseif self.widget == "radio" then - local c = 0 - for i, key in pairs(self.keylist) do - c = c + 1 -%> - /> - ><%=self.vallist[i]%> -<% if c == self.size then c = 0 %><% if self.orientation == "horizontal" then %> <% else %>
<% end %> -<% end end %> -<% end %> -<%+cbi/valuefooter%> - diff --git a/applications/luci-ddns/luasrc/view/ddns/detail_value.htm b/applications/luci-ddns/luasrc/view/ddns/detail_value.htm deleted file mode 100644 index 7cb28e282e..0000000000 --- a/applications/luci-ddns/luasrc/view/ddns/detail_value.htm +++ /dev/null @@ -1,9 +0,0 @@ - - -<%+cbi/valueheader%> - /> - - diff --git a/applications/luci-ddns/luasrc/view/ddns/overview_doubleline.htm b/applications/luci-ddns/luasrc/view/ddns/overview_doubleline.htm deleted file mode 100644 index 1d1b4be019..0000000000 --- a/applications/luci-ddns/luasrc/view/ddns/overview_doubleline.htm +++ /dev/null @@ -1,10 +0,0 @@ - - -<%+cbi/valueheader%> - -<%=self:set_one(section)%> -
-<%=self:set_two(section)%> - -<%+cbi/valuefooter%> - diff --git a/applications/luci-ddns/luasrc/view/ddns/overview_enabled.htm b/applications/luci-ddns/luasrc/view/ddns/overview_enabled.htm deleted file mode 100644 index 64b3dae455..0000000000 --- a/applications/luci-ddns/luasrc/view/ddns/overview_enabled.htm +++ /dev/null @@ -1,15 +0,0 @@ - - -<%+cbi/valueheader%> - - /> - - /> - -<%+cbi/valuefooter%> - diff --git a/applications/luci-ddns/luasrc/view/ddns/overview_startstop.htm b/applications/luci-ddns/luasrc/view/ddns/overview_startstop.htm deleted file mode 100644 index 8255aa63f3..0000000000 --- a/applications/luci-ddns/luasrc/view/ddns/overview_startstop.htm +++ /dev/null @@ -1,17 +0,0 @@ - - -<%+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-ddns/luasrc/view/ddns/overview_status.htm b/applications/luci-ddns/luasrc/view/ddns/overview_status.htm deleted file mode 100644 index 37c54be25f..0000000000 --- a/applications/luci-ddns/luasrc/view/ddns/overview_status.htm +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - diff --git a/applications/luci-ddns/luasrc/view/ddns/system_status.htm b/applications/luci-ddns/luasrc/view/ddns/system_status.htm deleted file mode 100644 index db9d1d1a01..0000000000 --- a/applications/luci-ddns/luasrc/view/ddns/system_status.htm +++ /dev/null @@ -1,158 +0,0 @@ - - - - -
- <%:Dynamic DNS%> - - - - - - - - - - - - -
<%:Configuration%><%:Next Update%><%:Hostname/Domain%><%:Registered IP%><%:Network%>

<%:Collecting data...%>
-
- -- cgit v1.2.3