templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>{% block title %}Welcome!{% endblock %}</title>
  7. {# <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>"> #}
  8. <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
  9. <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
  10. <link rel="shortcut icon" href="/favicon.ico" />
  11. <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
  12. <link rel="manifest" href="/site.webmanifest" />
  13. {# <link rel="stylesheet" href="https://bootswatch.com/5/zephyr/bootstrap.min.css"> #}
  14. {# <link rel="stylesheet" href="https://bootswatch.com/5/spacelab/bootstrap.min.css"> #}
  15. {# <link rel="stylesheet" href="https://bootswatch.com/5/materia/bootstrap.min.css"> #}
  16. {# <link rel="stylesheet" href="https://bootswatch.com/5/lumen/bootstrap.min.css"> #}
  17. {# <link rel="stylesheet" href="https://bootswatch.com/5/cerulean/bootstrap.min.css"> #}
  18. <style>
  19. #container {overflow: hidden; width: 89rem;}
  20. .inner {overflow: hidden; width: 89rem;}
  21. .child {float: left; width: 20rem;}
  22. body, html {
  23. height: 100%;
  24. margin: 0;
  25. display: flex;
  26. flex-direction: column;
  27. }
  28. .wrapper {
  29. flex: 1;
  30. }
  31. .footer {
  32. background-color: #f1f1f1;
  33. text-align: center;
  34. padding: 1rem;
  35. }
  36. </style>
  37. {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  38. {% block stylesheets %}
  39. {{ encore_entry_link_tags('app') }}
  40. <style>
  41. body {background-color: #F2F2F2;}
  42. </style>
  43. {% endblock %}
  44. {% block javascripts %}
  45. <script src="https://kit.fontawesome.com/f859a0599e.js" crossorigin="anonymous"></script>
  46. {{ encore_entry_script_tags('app') }}
  47. {% endblock %}
  48. </head>
  49. <body>
  50. {% block navbar %}
  51. {% include "base/nav.index.html.twig" %}
  52. {% endblock %}
  53. <script src="https://code.jquery.com/jquery-3.6.1.js" integrity="sha256-3zlB5s2uwoUzrXK3BT7AX3FyvojsraNFxCc2vC/7pNI=" crossorigin="anonymous"></script>
  54. <div class="wrapper">
  55. <div class="container">
  56. {% for flash in app.flashes('success') %}
  57. <div class="alert alert-success my-3" role="alert">{{ flash }}</div>
  58. {% endfor %}
  59. {% for flash in app.flashes('error') %}
  60. <div class="alert alert-danger my-3" role="alert">{{ flash }}</div>
  61. {% endfor %}
  62. {% for flash in app.flashes('warning') %}
  63. <div class="alert alert-warning my-3" role="alert">{{ flash }}</div>
  64. {% endfor %}
  65. </div>
  66. {% block body %}{% endblock %}
  67. </div>
  68. </body>
  69. {% block footer %}
  70. <div class="footer">
  71. {% include "base/_footer.html.twig" %}
  72. </div>
  73. {% endblock %}
  74. </html>