diff options
author | Van Waholtz <vanwaholtz@gmail.com> | 2020-07-28 07:14:52 -0700 |
---|---|---|
committer | Van Waholtz <vanwaholtz@gmail.com> | 2021-11-17 15:36:41 +0800 |
commit | 9dda104ee7136d805dfb3ab965f020b21cdea3bc (patch) | |
tree | 05134587d021211a6dff4d197b95f064c736fcb7 /applications/luci-app-aria2/luasrc/view/aria2/value_with_btn.htm | |
parent | 8d35d78c61782b393e2f0a9aebb9ae91abca3a2c (diff) |
luci-app-aria2: convert to client side
Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
Diffstat (limited to 'applications/luci-app-aria2/luasrc/view/aria2/value_with_btn.htm')
-rw-r--r-- | applications/luci-app-aria2/luasrc/view/aria2/value_with_btn.htm | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/applications/luci-app-aria2/luasrc/view/aria2/value_with_btn.htm b/applications/luci-app-aria2/luasrc/view/aria2/value_with_btn.htm deleted file mode 100644 index 487e107b6d..0000000000 --- a/applications/luci-app-aria2/luasrc/view/aria2/value_with_btn.htm +++ /dev/null @@ -1,22 +0,0 @@ -<%# - Copyright 2017-2019 Xingwang Liao <kuoruan@gmail.com> - Licensed to the public under the MIT License. --%> - -<%+cbi/valueheader%> - <input data-update="change" type="text" class="cbi-input-text"<%= - attr("id", cbid) .. - attr("name", cbid) .. - attr("value", self:cfgvalue(section) or self.default) .. - ifattr(self.size, "size") .. - ifattr(self.placeholder, "placeholder") .. - ifattr(self.maxlength, "maxlength") .. - ifattr(self.datatype, "data-type", self.datatype) .. - ifattr(self.onmouseover, "onmouseover") - %> /> - <%- if self.btntext then -%> - <div class="cbi-button cbi-button-neutral" title="<%=self.btntext%>" aria-label="<%=self.btntext%>"<%= - ifattr(self.btnclick, "onclick", self.btnclick) - %>><span style="font-weight: normal;"><%=self.btntext%></span></div> - <% end %> -<%+cbi/valuefooter%> |