change(web): open external link in new tab

This commit is contained in:
Rotzbua 2023-01-24 22:28:43 +01:00 committed by Florian Festi
parent bfd773cfcd
commit 59495ea34a
1 changed files with 5 additions and 5 deletions

10
scripts/boxesserver Executable file → Normal file
View File

@ -285,7 +285,7 @@ class BServer:
<hr>
<div class="description">
""")
no_img_msg = _('There is no image yet. Please donate an image of your project on <a href=&quot;https://github.com/florianfesti/boxes/issues/140&quot;>GitHub</a>!')
no_img_msg = _('There is no image yet. Please donate an image of your project on <a href=&quot;https://github.com/florianfesti/boxes/issues/140&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;>GitHub</a>!')
if box.description:
result.append(
@ -422,10 +422,10 @@ f""" </script>{self.scripts % len(self.groups)}
<div class="footer container">
<ul>
<li>""" + self.genHTMLLanguageSelection(lang) + """</li>
<li><a href="https://florianfesti.github.io/boxes/html/usermanual.html">""" + _("Help") + """</a></li>
<li><a href="https://hackaday.io/project/10649-boxespy">""" + _("Home Page") + """</a></li>
<li><a href="https://florianfesti.github.io/boxes/html/index.html">""" + _("Documentation") + """</a></li>
<li><a href="https://github.com/florianfesti/boxes">""" + _("Sources") + """</a></li>
<li><a href="https://florianfesti.github.io/boxes/html/usermanual.html" target="_blank" rel="noopener">""" + _("Help") + """</a></li>
<li><a href="https://hackaday.io/project/10649-boxespy" target="_blank" rel="noopener">""" + _("Home Page") + """</a></li>
<li><a href="https://florianfesti.github.io/boxes/html/index.html" target="_blank" rel="noopener">""" + _("Documentation") + """</a></li>
<li><a href="https://github.com/florianfesti/boxes" target="_blank" rel="noopener">""" + _("Sources") + """</a></li>
</ul>
</div>
"""