templates/admin.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 %}Inventory{% endblock %}</title>
  7.     {% block stylesheets %}
  8.         {# 'app' must match the first argument to addEntry() in webpack.config.js #}
  9.         {{ encore_entry_link_tags('app') }}
  10.         {{ encore_entry_link_tags('admin') }}
  11.     {% endblock %}
  12.     <!-- Global site tag (gtag.js) - Google Analytics -->
  13.     {#<script async src="https://www.googletagmanager.com/gtag/js?id={{ google_analytics_tracking_id }}"></script>
  14.     <script>
  15.         window.dataLayer = window.dataLayer || [];
  16.         function gtag(){dataLayer.push(arguments);}
  17.         gtag('js', new Date());
  18.         gtag('config', '{{ google_analytics_tracking_id }}');
  19.     </script>#}
  20. </head>
  21. <body>
  22.     {{ include('nav.html.twig') }}
  23.     <main class="container-fluid">
  24.     {% for label, messages in app.flashes %}
  25.         {% for message in messages %}
  26.             <div class="alert alert-{{ label }} mb-0 mt-4">
  27.                 {{ message }}
  28.             </div>
  29.         {% endfor %}
  30.     {% endfor %}
  31.     {% block body %}{% endblock %}
  32.     </main>
  33.     {% block javascripts %}
  34.         {{ encore_entry_script_tags('app') }}
  35.     {% endblock %}
  36. </body>
  37. </html>