1
0
Fork 0

Fix contact-form on www.

This commit is contained in:
Mo 2022-11-21 13:03:46 +01:00
parent 1b3499ad51
commit 8e8b84377d
4 changed files with 14 additions and 20 deletions

View file

@ -3,9 +3,7 @@
<div class="container text-center"> <div class="container text-center">
<h1 class="h1">Seite nicht gefunden</h1> <h1 class="h1">Seite nicht gefunden</h1>
<img src="{{ get_url(path='images/404/bot.svg') }}" <img src="/images/404/bot.svg" class="img-fluid" width="300"/>
class="img-fluid"
width="300"/>
<div class="d-grid gap-2 pt-3"> <div class="d-grid gap-2 pt-3">
<a class="btn btn-dark" href="/" role="button">Zurück zur Startseite</a> <a class="btn btn-dark" href="/" role="button">Zurück zur Startseite</a>

View file

@ -48,10 +48,7 @@
</div> </div>
</div> </div>
<iframe id="iframe" <iframe id="iframe" src="/contact-form" width="100%" title="Kontakt-Formular"></iframe>
src="{{ get_url(path='/contact-form') }}"
width="100%"
title="Kontakt-Formular"></iframe>
<div class="alert alert-warning mt-2" role="alert"> <div class="alert alert-warning mt-2" role="alert">
<h5 class="alert-heading">Bitte beachten Sie:</h5> <h5 class="alert-heading">Bitte beachten Sie:</h5>

View file

@ -17,8 +17,7 @@
{% set image = resize_image(path=config.extra.logo_path, width=32, height=32, op="fill") %} {% set image = resize_image(path=config.extra.logo_path, width=32, height=32, op="fill") %}
<link rel="icon" type="image/x-icon" href="{{ image.url }}" /> <link rel="icon" type="image/x-icon" href="{{ image.url }}" />
<link href="{{ get_url(path='bootstrap/bootstrap.min.css') }}" <link href="/bootstrap/bootstrap.min.css" rel="stylesheet"/>
rel="stylesheet"/>
<style> <style>
.grow-on-hover { .grow-on-hover {
@ -55,7 +54,7 @@
{% include "partials/footer.tera.html" %} {% include "partials/footer.tera.html" %}
</footer> </footer>
<script src="{{ get_url(path='bootstrap/bootstrap.bundle.min.js') }}"></script> <script src="/bootstrap/bootstrap.bundle.min.js"></script>
{% block scripts %} {% block scripts %}
{% endblock scripts %} {% endblock scripts %}

View file

@ -1,6 +1,6 @@
{% extends "base.tera.html" %} {% extends "base.tera.html" %}
{% block styles %}<link rel="stylesheet" href="{{ get_url(path='leaflet/leaflet.css') }}"/>{% endblock %} {% block styles %}<link rel="stylesheet" href="/leaflet/leaflet.css"/>{% endblock %}
{% block content %} {% block content %}
<div class="row pb-3"> <div class="row pb-3">
@ -23,9 +23,9 @@
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ get_url(path='leaflet/leaflet.js') }}"></script> <script src="/leaflet/leaflet.js"></script>
<script> <script>
L.Icon.Default.imagePath = "{{ get_url(path='leaflet/images', trailing_slash=true) }}"; L.Icon.Default.imagePath = "/leaflet/images/";
var center = L.latLng(50.05635, 7.12507); var center = L.latLng(50.05635, 7.12507);
var map = L.map('map', { var map = L.map('map', {