add flag support

This commit is contained in:
Yannik Schmidt
2021-06-15 02:28:56 +02:00
parent f26629075f
commit d511342acd
2 changed files with 22 additions and 0 deletions

View File

@@ -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;

View File

@@ -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>