diff options
Diffstat (limited to 'applications/luci-ddns/luasrc/view')
-rw-r--r-- | applications/luci-ddns/luasrc/view/ddns/detail_logview.htm | 12 | ||||
-rw-r--r-- | applications/luci-ddns/luasrc/view/ddns/overview_startstop.htm | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/applications/luci-ddns/luasrc/view/ddns/detail_logview.htm b/applications/luci-ddns/luasrc/view/ddns/detail_logview.htm index 7811e7e704..494b7435cd 100644 --- a/applications/luci-ddns/luasrc/view/ddns/detail_logview.htm +++ b/applications/luci-ddns/luasrc/view/ddns/detail_logview.htm @@ -28,8 +28,8 @@ -- one button on top, one at the buttom %> <input class="cbi-button cbi-input-button" style="align: center; width: 100%" type="button" onclick="onclick_logview(this.name, false)" -<%= -attr("name", section) .. attr("id", cbid .. ".btn1") .. attr("value", self.inputtitle) +<%= +attr("name", section) .. attr("id", cbid .. ".btn1") .. attr("value", self.inputtitle) %> /> <br /><br /> @@ -39,15 +39,15 @@ attr("name", section) .. attr("id", cbid .. ".btn1") .. attr("value", self.input -- in openwrt theme there are problems with a width of 100 so we check for theme and set to lower value %> <textarea style="width: <%if media == "/luci-static/openwrt.org" then%>98.7%<%else%>100%<%end%> ; min-height: 500px; border: 3px solid #cccccc; padding: 5px; font-family: monospace; resize: none;" wrap="off" readonly="readonly" -<%= -attr("name", cbid .. ".txt") .. attr("id", cbid .. ".txt") .. ifattr(self.rows, "rows") +<%= +attr("name", cbid .. ".txt") .. attr("id", cbid .. ".txt") .. ifattr(self.rows, "rows") %> > <%-=pcdata(self:cfgvalue(section))-%> </textarea> <br /><br /> -<% --- one button on top, one at the buttom +<% +-- one button on top, one at the buttom %> <input class="cbi-button cbi-input-button" style="align: center; width: 100%" type="button" onclick="onclick_logview(this.name, true)" <%= attr("name", section) .. attr("id", cbid .. ".btn2") .. attr("value", self.inputtitle) %> /> diff --git a/applications/luci-ddns/luasrc/view/ddns/overview_startstop.htm b/applications/luci-ddns/luasrc/view/ddns/overview_startstop.htm index 39c5152b73..8255aa63f3 100644 --- a/applications/luci-ddns/luasrc/view/ddns/overview_startstop.htm +++ b/applications/luci-ddns/luasrc/view/ddns/overview_startstop.htm @@ -3,13 +3,13 @@ <%+cbi/valueheader%> <% if self:cfgvalue(section) ~= false then --- We need to garantie that function cfgvalue run first to set missing parameters +-- We need to garantie that function cfgvalue run first to set missing parameters %> <!-- style="font-size: 100%;" needed for openwrt theme to fix font size --> <!-- type="button" onclick="..." enable standard onclick functionalty --> <input class="cbi-button cbi-input-<%=self.inputstyle or "button" %>" 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") + <%= + attr("name", section) .. attr("id", cbid) .. attr("value", self.inputtitle) .. ifattr(self.disabled, "disabled") %> /> <% end %> |