templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6.     <title>{% block title %}qport.app{% endblock %}</title>
  7.     {# CSS #}
  8.     <link rel="stylesheet" href="{{ asset('css/bootstrap.css') }}">
  9.     <link href='{{ asset('css/fonts.google.css') }}' rel='stylesheet' type='text/css'>
  10.     {% block stylesheets %}{% endblock %}
  11.     <!-- Google tag (gtag.js) -->
  12.     <script async src="https://www.googletagmanager.com/gtag/js?id=G-RY5G4QGYD6"></script>
  13.     <script>
  14.         window.dataLayer = window.dataLayer || [];
  15.         function gtag(){dataLayer.push(arguments);}
  16.         gtag('js', new Date());
  17.         gtag('config', 'G-RY5G4QGYD6');
  18.     </script>
  19. </head>
  20. <body>
  21. {% block flashmessages %}
  22.     {% if app.session.flashbag.peekAll|length > 0 %}
  23.         {% for type, messages in app.session.flashbag.all %}
  24.             {% for message in messages %}
  25.                 <div class="alert alert-dismissible alert-{{ type ? type : 'info' }} p-2 m-2">
  26.                     <button type="button" class="close p-0 pt-1 pr-2" data-dismiss="alert" aria-label="Close"><span
  27.                                 aria-hidden="true">&times;</span></button>
  28.                     {{ message | trans([], 'messages', lang is defined ? lang : 'ro') }}
  29.                 </div>
  30.             {% endfor %}
  31.         {% endfor %}
  32.     {% endif %}
  33. {% endblock %}
  34. {% block body %}{% endblock %}
  35. {# JS #}
  36. <script src="{{ asset('js/jquery.slim.min.js') }}"></script>
  37. {# <script src="{{ asset('js/popper.min.js') }}"></script> #}
  38. <script src="{{ asset('js/bootstrap.min.js') }}"></script>
  39. {% block javascripts %}{% endblock %}
  40. </body>
  41. </html>