summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-01-02 21:14:18 -0700
committerStan Grishin <stangri@melmac.net>2020-01-02 21:14:18 -0700
commitde2e3411c2329e0283d86fc604d7a43f6fb206ef (patch)
tree42f81f151047ff0d1ead6885854b4694cb9ebb90 /applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing
parent88c5269344f329f5f7a14c509fe8b1995c6d937f (diff)
luci-app-vpn-policy-routing: add note about default routing
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing')
-rw-r--r--applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-gateways.htm18
1 files changed, 18 insertions, 0 deletions
diff --git a/applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-gateways.htm b/applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-gateways.htm
new file mode 100644
index 0000000000..d349083397
--- /dev/null
+++ b/applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-gateways.htm
@@ -0,0 +1,18 @@
+<%#
+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>
+
+<%- local readmeURL = "https://github.com/openwrt/packages/tree/master/net/vpn-policy-routing/files/README.md" -%>
+<%=translate("Checkmark represents the default gateway. See the") .. " "
+.. [[<a href="]] .. readmeURL .. [[#a-word-about-default-routing" target="_blank">]]
+.. translate("README") .. [[</a>]] .. " " .. translate("for details.")%>
+
+<%+cbi/valuefooter%> \ No newline at end of file