luci-theme-material: open footer link in new tab
authorFengyu Wu <saldry@proton.me>
Sat, 17 Feb 2024 13:20:09 +0000 (21:20 +0800)
committerPaul Donald <newtwen@gmail.com>
Thu, 7 Mar 2024 00:33:29 +0000 (01:33 +0100)
Also set Referrer Policy

Signed-off-by: Fengyu Wu <saldry@proton.me>
(cherry picked from commit 45d2becacbee5ca786eb403b4b0871c757321356)

themes/luci-theme-material/ucode/template/themes/material/footer.ut

index 9249427a4319496f53149bc55c246e28dc15805c..f0225e732910d3f986e64528e203917d4a04203c 100644 (file)
@@ -20,7 +20,7 @@
 
                        </div>
                        <footer class="mobile-hide">
-                               <a href="https://github.com/openwrt/luci">Powered by {{ version.luciname }} ({{ version.luciversion }})</a> /
+                               <a href="https://github.com/openwrt/luci" target="_blank" rel="noreferrer">Powered by {{ version.luciname }} ({{ version.luciversion }})</a> /
                                {{ version.distname }} {{ version.distversion }} ({{ version.distrevision }})
                        </footer>
                </div>