summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm
diff options
context:
space:
mode:
authorEric Luehrsen <ericluehrsen@hotmail.com>2017-09-05 00:05:58 -0400
committerEric Luehrsen <ericluehrsen@hotmail.com>2017-09-12 21:04:52 -0400
commit007b28ddb30b9617f6c2eab40cbc7e614d7595ac (patch)
treef2a83d092e8b65eaf0bf37488b293f75728bb8b5 /applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm
parent4a95fd94239a69fc8c56e34e59339ee55cfb3d62 (diff)
luci-app-unbound: add statistics and manual edit tabs
Add an option to "Basic Settings" tab to expand LuCI. This option will add tab hierarchy for the settings, statistics, and raw view or editing of configuration files. If you have unbound-control installed, then you can see some useful debug information. Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
Diffstat (limited to 'applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm')
-rw-r--r--applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm8
1 files changed, 8 insertions, 0 deletions
diff --git a/applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm b/applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm
new file mode 100644
index 000000000..69c984780
--- /dev/null
+++ b/applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm
@@ -0,0 +1,8 @@
+<%+header%>
+<h3><%=heading:pcdata()%></h3>
+<p><%=description:pcdata()%></p>
+<div>
+<textarea style="width: 100%; height: 480px;" readonly="readonly" wrap="off" rows="<%=content:cmatch("\n")+2%>"><%=content:pcdata()%></textarea>
+</div>
+<%+footer%>
+