summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vpn-policy-routing/luasrc/view/vpn-policy-routing/status-gateways.htm
blob: 65f3e5d7c695978670d7566569e334452f7a7fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<%#
Copyright 2017-2020 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>

<div>
	<%- local readmeURL = "https://docs.openwrt.melmac.net/vpn-policy-routing/" -%>
	<%=translatef("The %s indicates default gateway. See the %sREADME%s for details.", "<strong>✓</strong>", "<a href=\"" .. readmeURL .. "#a-word-about-default-routing" .. "\" target=\"_blank\">", "</a>")%>
</div>

<%+cbi/valuefooter%>