Skip to content

Commit 05f4aa6

Browse files
authored
Fix: Open footer links in new tab for HA ingress compatibility (#549)
Add target="_blank" to Apache license and GitHub repo links in the footer so they open in a new tab instead of within the Home Assistant ingress iframe. Also upgrade the Apache license URL from HTTP to HTTPS.
1 parent 248144b commit 05f4aa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dao/webserver/app/templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@
6565
{% block content %}{% endblock %}
6666
</div>
6767
<footer>
68-
<span style="float:right;"><a href="http://www.apache.org/licenses/LICENSE-2.0">&nbsp&copy;&nbsp{{ version[0:4] }}: Apache 2.0</a></span>
69-
<span>&nbsp <a href="https://github.com/corneel27/day-ahead">Day Ahead Optimizer version: {{ version }}</a></span>&nbsp
68+
<span style="float:right;"><a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank">&nbsp&copy;&nbsp{{ version[0:4] }}: Apache 2.0</a></span>
69+
<span>&nbsp <a href="https://github.com/corneel27/day-ahead" target="_blank">Day Ahead Optimizer version: {{ version }}</a></span>&nbsp
7070
</footer>
7171
</div>
7272
</body>

0 commit comments

Comments
 (0)