diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2020-01-03 08:51:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 08:51:29 +0200 |
commit | e802bc969f6d32a82ffa12e3ddb58d1870c878a9 (patch) | |
tree | 42f81f151047ff0d1ead6885854b4694cb9ebb90 /applications/luci-app-vpn-policy-routing/luasrc/view | |
parent | 88c5269344f329f5f7a14c509fe8b1995c6d937f (diff) | |
parent | de2e3411c2329e0283d86fc604d7a43f6fb206ef (diff) |
Merge pull request #3455 from stangri/master-luci-app-vpn-policy-routing
luci-app-vpn-policy-routing: add note about default routing
Diffstat (limited to 'applications/luci-app-vpn-policy-routing/luasrc/view')
-rw-r--r-- | applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-gateways.htm | 18 |
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 |