mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 00:01:36 +01:00
[git fast commit] 30. Jun 2021 - 15:49:51
This commit is contained in:
@@ -60,7 +60,13 @@
|
||||
</div>
|
||||
</form>
|
||||
<div class="text-center text-md-left mt-4">
|
||||
<a class="btn btn-light w-50" onclick="submitContactForm()">Absenden</a>
|
||||
<a class="btn btn-light w-50" onclick="submitContactForm()">
|
||||
{% if conf["LANGUAGE"] == "en" %}
|
||||
Send
|
||||
{% else %}
|
||||
Absenden
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
<div class="status"></div>
|
||||
</div>
|
||||
@@ -68,10 +74,20 @@
|
||||
<div class="border p-3 col-md-3 text-center bg-special">
|
||||
<ul class="list-unstyled mb-0">
|
||||
<li><i class="fas fa-envelope mt-4 fa-2x"></i>
|
||||
<p>Wir freuen uns auf Ihre Nachricht!</p>
|
||||
<p>
|
||||
{% if conf["LANGUAGE"] == "en" %}
|
||||
We are excited to learn about your project!
|
||||
{% else %}
|
||||
Wir freuen uns auf Ihre Nachricht!
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if conf['CONTACT_EMAIL'] %}
|
||||
<hr>
|
||||
{% if conf["LANGUAGE"] == "en" %}
|
||||
You may also contact us directly via E-mail.
|
||||
{% else %}
|
||||
<p>Natürlich können Sie uns auch direkt per Mail kontaktieren.</p></br>
|
||||
{% endif %}
|
||||
<a type="button" class="btn btn-light p-3 w-100"
|
||||
href="mailto:{{ conf['CONTACT_EMAIL'] }}">{{ conf['CONTACT_EMAIL'] }}</a>
|
||||
{% endif %}
|
||||
|
||||
@@ -2,19 +2,23 @@
|
||||
{% if conf["IMPRESSUM_IS_CONTACT"] %}
|
||||
<a style="color: rgba(255,255,255,.5);" href="/impressum">Impressum/Kontakt</a>
|
||||
{% else %}
|
||||
<a class="mr-2" style="color: rgba(255,255,255,.5);" href="/impressum">
|
||||
{% if conf["LANGUAGE"] == "en" %}
|
||||
<a class="mr-2" style="color: rgba(255,255,255,.5);" href="/en/impressum">
|
||||
Legal
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="mr-2" style="color: rgba(255,255,255,.5);" href="/impressum">
|
||||
Impressum
|
||||
</a>
|
||||
{% endif %}
|
||||
</a>
|
||||
<a class="ml-2" style="color: rgba(255,255,255,.5);" href="/contact">
|
||||
{% if conf["LANGUAGE"] == "en" %}
|
||||
<a class="ml-2" style="color: rgba(255,255,255,.5);" href="/en/contact">
|
||||
Contact
|
||||
</a>
|
||||
{% else %}
|
||||
Kontakt
|
||||
<a class="ml-2" style="color: rgba(255,255,255,.5);" href="/contact">
|
||||
Kontakt
|
||||
</a>
|
||||
{% endif %}
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
</head>
|
||||
<body id="main_scrollable"
|
||||
style="background-image: url('https://potaris.de/picture/unreal-lightning.jpg?scalex=1280&scaley=960')">
|
||||
>
|
||||
<!-- NAVBAR -->
|
||||
{% include 'navbar.html' %}
|
||||
|
||||
@@ -31,15 +31,12 @@
|
||||
<li data-target="#carouselIndicators" data-slide-to="2"></li>
|
||||
</ol>
|
||||
<div class="carousel-inner">
|
||||
<div class="carousel-item active">
|
||||
<img class="d-block w-100" src="{{ conf['WALLPAPER_URL'] }}">
|
||||
</div>
|
||||
{% for (url, alt, title, subtitle) in conf["WALLPAPER_REEL"] %}
|
||||
<div class="carousel-item">
|
||||
<div class="carousel-item {% if loop.first %} active {% endif %}">
|
||||
<img class="d-block w-100" src="{{ url }}" alt="{{ alt }}">
|
||||
<div class="carousel-caption d-none d-md-block">
|
||||
<h5>{{ subtitle }}</h5>
|
||||
<p>{{ title }}</p>
|
||||
<h2>{{ title }}</h2>
|
||||
<p>{{ subtitle }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
@@ -162,7 +159,8 @@
|
||||
-->
|
||||
|
||||
{% for section in sections %}
|
||||
<div class="{% if loop.index %2 == 1 %} bg-secondary {% else %} bg-dark {% endif %} pt-2 pb-4">
|
||||
<div {% if "id" in section %} id="{{ section['id'] }}" {% endif %}
|
||||
class="{% if loop.index %2 == 1 %} bg-secondary {% else %} bg-dark {% endif %} pt-2 pb-4">
|
||||
<div class="container text-color-special">
|
||||
<div class="row" {% if loop.index %2 == 1 %} style="flex-direction: row-reverse;" {% endif %}>
|
||||
<div class="mt-3 col image-min-dimensions">
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<li class="nav-item">
|
||||
{% if conf["LANGUAGE"] == "en" %}
|
||||
<a class="nav-link" href="/en/">Home</a>
|
||||
<a class="nav-link" href="/en/">Potaris</a>
|
||||
{% else %}
|
||||
<a class="nav-link" href="/">Home</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user