mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 00:01:36 +01:00
add flag support
This commit is contained in:
@@ -19,6 +19,12 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.flag{
|
||||
max-height: 100%;
|
||||
max-width: 120%;
|
||||
background-repeat: round !important;
|
||||
}
|
||||
|
||||
.title-responsive{
|
||||
font-size: 25px !important;
|
||||
padding-left: 40px;
|
||||
|
||||
@@ -78,6 +78,22 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if conf["LANGUAGE"] == "en" %}
|
||||
<li>
|
||||
<a class="nav-link flag" href="/"
|
||||
style="background-image: url('https://potaris.de/picture/lang/german-flag.png');">
|
||||
DE
|
||||
</a>
|
||||
</li>
|
||||
{% elif conf["LANGUAGE"] == "de" %}
|
||||
<li>
|
||||
<a class="nav-link flag" href="/en/"
|
||||
style="background-image: url('https://potaris.de/picture/lang/uk-flag.png');">
|
||||
EN
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user