templates/base.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="de">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta name="robots" content="noindex">
  7. <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.14.0/css/all.css" integrity="sha384-VhBcF/php0Z/P5ZxlxaEx1GwqTQVIBu4G4giRWxTKOCjTxsPFETUDdVL5B6vYvOt" crossorigin="anonymous">
  8. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
  9. {% block stylesheets %}
  10. <link rel="stylesheet" href="{{ asset('css/app.css') }}" />
  11. {% endblock %}
  12. <link rel="icon" type="image/x-icon" href="{{ asset('img/favicon.ico') }}" />
  13. <title>{% block title %}Welcome!{% endblock %}</title>
  14. </head>
  15. <body>
  16. <header>
  17. </header>
  18. <main role="main" class="container">
  19. {% include('_navbar.html.twig') %}
  20. {% for label, messages in app.flashes %}
  21. {% for message in messages %}
  22. <div class="alert alert-{{ label }} alert-dismissible fade show my-2 mx-2" role="alert">
  23. <strong>{{ message }}</strong>
  24. <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  25. <span aria-hidden="true">&times;</span>
  26. </button>
  27. </div>
  28. {% endfor %}
  29. {% endfor %}
  30. {% block body %}{% endblock %}
  31. </main>
  32. <footer class="footer">
  33. <div class="container">
  34. <div class="row justify-content-center">
  35. <span class="text-muted">www.opfer-notruf.at : 0800 112 112 - eine Initiative des Bundesministeriums für Justiz</span>
  36. </div>
  37. </div>
  38. </footer>
  39. <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  40. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
  41. {% block javascripts %}{% endblock %}
  42. </body>
  43. </html>