summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-simple-adblock/luasrc/view/simple-adblock/error.htm
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-03-29 05:22:21 +0000
committerStan Grishin <stangri@melmac.net>2020-03-29 05:22:21 +0000
commit5bf31bb1ae2b8192080ebc317fec1dfeaf337e76 (patch)
tree2470888d078e6d3eff8eb61756f0dcf668bb9fb0 /applications/luci-app-simple-adblock/luasrc/view/simple-adblock/error.htm
parente22d832b296066b16450c658e1af00be2f9e9926 (diff)
luci-app-simple-adblock: better status/error display
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-simple-adblock/luasrc/view/simple-adblock/error.htm')
-rw-r--r--applications/luci-app-simple-adblock/luasrc/view/simple-adblock/error.htm13
1 files changed, 13 insertions, 0 deletions
diff --git a/applications/luci-app-simple-adblock/luasrc/view/simple-adblock/error.htm b/applications/luci-app-simple-adblock/luasrc/view/simple-adblock/error.htm
new file mode 100644
index 0000000000..4ab2e11291
--- /dev/null
+++ b/applications/luci-app-simple-adblock/luasrc/view/simple-adblock/error.htm
@@ -0,0 +1,13 @@
+<%#
+Copyright 2017-2019 Stan Grishin (stangri@melmac.net)
+This is free software, licensed under the Apache License, Version 2.0
+-%>
+
+<%+cbi/valueheader%>
+
+<textarea rows="<%=select(2, self:cfgvalue(section):gsub('\n', '\n'))%>"
+ style="border:none;box-shadow:none;background:transparent;font-weight:bold;line-height:20px;width:50em;padding:none;margin:6px;resize:none;overflow:hidden;"
+ disabled="disabled"><%=self:cfgvalue(section):gsub('\n', '\n')%>
+</textarea>
+
+<%+cbi/valuefooter%>