mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +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{
|
.title-responsive{
|
||||||
font-size: 25px !important;
|
font-size: 25px !important;
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
|
|||||||
@@ -78,6 +78,22 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% 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>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user