summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-textarea.htm
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2019-12-30 07:51:42 -0700
committerStan Grishin <stangri@melmac.net>2019-12-30 07:51:42 -0700
commit25c884a479c4ce7bbb337be67433555a34e63bf9 (patch)
treef6ad65e8c5460e46867f94ec55b9c436a7c7846c /applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-textarea.htm
parentd07cfba160ca7eb433e74f1ffad8d10e2b9cc9ca (diff)
luci-app-vpn-policy-routing: initial release
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-textarea.htm')
-rw-r--r--applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-textarea.htm13
1 files changed, 13 insertions, 0 deletions
diff --git a/applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-textarea.htm b/applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-textarea.htm
new file mode 100644
index 0000000000..f4c512c1b6
--- /dev/null
+++ b/applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-textarea.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="outline:none;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%>