luci-theme-bootstrap: open footer links in new tab

Also set Referrer Policy

Signed-off-by: Fengyu Wu <saldry@proton.me>
This commit is contained in:
Fengyu Wu 2024-02-17 21:18:39 +08:00 committed by Paul Donald
parent 3acc8bc373
commit f01347d3be

View file

@ -3,10 +3,10 @@
<footer>
<span>
Powered by
<a href="https://github.com/openwrt/luci">
<a href="https://github.com/openwrt/luci" target="_blank" rel="noreferrer">
{{ version.luciname }} ({{ version.luciversion }})</a>
/
<a href="{{ entityencode(version.disturl ?? '#', true) }}">
<a href="{{ entityencode(version.disturl ?? '#', true) }}" target="_blank" rel="noreferrer">
{{ version.distname }} {{ version.distversion }} ({{ version.distrevision }})</a>
{% if (lua_active): %}
/ {{ _('Lua compatibility mode active') }}