diff --git a/static/site.css b/static/site.css index 388c70f..0fede6f 100644 --- a/static/site.css +++ b/static/site.css @@ -15,6 +15,13 @@ body { padding: 0 !important; } +.mobile-only{ + display: none; +} +.desktop-only{ + display: block; +} + @media (max-width: 767px) { body { font-size: 25px; @@ -22,6 +29,12 @@ body { .flag{ margin-left: unset; } + .mobile-only{ + display: block; + } + .desktop-only{ + display: none; + } } @media (max-width: 500px) { diff --git a/templates/footer.html b/templates/footer.html index 32f4561..617264c 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -2,7 +2,19 @@ {% if conf["IMPRESSUM_IS_CONTACT"] %} Impressum/Kontakt {% else %} - Impressum - Kontakt + + {% if conf["LANGUAGE"] == "en" %} + Legal + {% else %} + Impressum + {% endif %} + + + {% if conf["LANGUAGE"] == "en" %} + Contact + {% else %} + Kontakt + {% endif %} + {% endif %} diff --git a/templates/index.html b/templates/index.html index 4e44b95..cd6b6ed 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,25 +12,63 @@ {% endif %} - + {% include 'navbar.html' %} - -
+ + + + + + + +
{% if "SITE_WELLCOME_TITLE" in conf %}

{{ conf["SITE_WELLCOME_TITLE"] | safe }}

{% endif %} {% if "SITE_WELLCOME_SUBTITLE" in conf %}

{{ conf["SITE_WELLCOME_SUBTITLE"] | safe }}

{% endif %}
+--> + {% include 'events.html' %} @@ -114,12 +152,15 @@ {% endif %} -
+ + {% for section in sections %}
diff --git a/templates/navbar.html b/templates/navbar.html index 5bf97f6..7249ea7 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -12,7 +12,11 @@