summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ddns/luasrc/view
diff options
context:
space:
mode:
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>2014-11-15 22:06:18 +0100
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>2014-11-15 22:06:18 +0100
commit157e8e52aef5ede350e17ce688f76fbaddea5dd2 (patch)
treea49bbf5b2b00ad48af72a1b03741f92c673c993f /applications/luci-ddns/luasrc/view
parenta226f199accb4a9adce10d3373fb832109e60876 (diff)
luci-app-ddns: modified to support ddns-scripts 2.1.0-2
- moved /usr/lib/ddns/dynamic_dns_lucihelper.sh to ddns-scripts package - fixed error message when validating proxy - modified validating ip_script to allow the usage of parameters - using ipkg/postinst AND ipkg/postinst-pkg as long as LuCI Makefiles did not fullfil requirements of new OpenWrt default_postinst and default_postrm reported in Issue #255 - cleanup whitespaces at line ends Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Diffstat (limited to 'applications/luci-ddns/luasrc/view')
-rw-r--r--applications/luci-ddns/luasrc/view/ddns/overview_status.htm4
-rw-r--r--applications/luci-ddns/luasrc/view/ddns/system_status.htm4
2 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-ddns/luasrc/view/ddns/overview_status.htm b/applications/luci-ddns/luasrc/view/ddns/overview_status.htm
index e23cc796e9..37c54be25f 100644
--- a/applications/luci-ddns/luasrc/view/ddns/overview_status.htm
+++ b/applications/luci-ddns/luasrc/view/ddns/overview_status.htm
@@ -141,10 +141,10 @@
str += "\n\nluci-app-ddns:";
str += "\n\t<%:Version%>:\t" + luci_version;
str += "\n\t<%:Build%>:\t" + luci_build;
- str += "\n\nddns-scripts <%:installed%>:";
- str += "\n\t<%:Version%>:\t" + ddns_version;
str += "\n\nddns-scripts <%:required%>:";
str += "\n\t<%:Version%>:\t" + ddns_required + " <%:or greater%>";
+ str += "\n\nddns-scripts <%:installed%>:";
+ str += "\n\t<%:Version%>:\t" + ddns_version;
str += "\n\n"
alert(str);
}
diff --git a/applications/luci-ddns/luasrc/view/ddns/system_status.htm b/applications/luci-ddns/luasrc/view/ddns/system_status.htm
index dcf06cc0bb..db9d1d1a01 100644
--- a/applications/luci-ddns/luasrc/view/ddns/system_status.htm
+++ b/applications/luci-ddns/luasrc/view/ddns/system_status.htm
@@ -10,7 +10,7 @@
if ( !(tbl) ) { return; }
// clear all rows
- while (tbl.rows.length > 1)
+ while (tbl.rows.length > 1)
tbl.deleteRow(1);
// variable for Modulo-Division use to set cbi-rowstyle-? (0 or 1)
@@ -115,7 +115,7 @@
if (tbl.rows.length == 1 || (data[0].enabled == 0 && tbl.rows.length == 2) ) {
var br = '<br />';
- if (tbl.rows.length > 1)
+ if (tbl.rows.length > 1)
br = '';
var tr = tbl.insertRow(-1);
tr.className = "cbi-section-table-row";