templates/layouts/auth_layout.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4.     <!-- Required meta tags -->
  5.     <meta charset="utf-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7.     {% apply spaceless %}
  8.         {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  9.         {# we use the view helper to have cache buster functionality #}
  10.         {% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap') %}
  11.         {% do pimcore_head_link().appendStylesheet('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css',null,null,{integrity:"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T",crossorigin:"anonymous"}) %}
  12.         {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}
  13.         {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.7.0/css/all.css',null,null,{integrity:'sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ',crossorigin:'anonymous'}) %}
  14.         {% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %}
  15.         {% if editmode %}
  16.             {% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
  17.         {% endif %}
  18.         {% do pimcore_head_script().appendFile('https://code.jquery.com/jquery-3.3.1.slim.min.js',null,null,{ integrity:"sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo",crossorigin:"anonymous"}) %}
  19.         {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js',null,null,{ integrity:"sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1",crossorigin:"anonymous"}) %}
  20.         {% do pimcore_head_script().appendFile('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js',null,null,{ integrity:"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM",crossorigin:"anonymous"}) %}
  21.        {% do pimcore_head_script().appendFile(asset('static/js/main.js')) %}
  22.         {% if not editmode %}
  23.             {% do pimcore_head_script().appendFile(asset('static/js/frontend.js')) %}
  24.         {% endif %}
  25.         {% if not document is defined or not document %}
  26.             {% set document = pimcore_document(1) %}
  27.         {% endif %}
  28.         {% if document is instanceof('\\Pimcore\\Model\\Document\\Link') %}
  29.             {# @var document \Pimcore\Model\Document\Link #}
  30.             {% set document = document.getElement() %}
  31.         {% endif %}
  32.         {% if document is instanceof('\\Pimcore\\Model\\Document\\Page') %}
  33.             {% if document.getTitle() is not empty %}
  34.                 {% do pimcore_head_title().set(document.getTitle()) %}
  35.             {% endif %}
  36.             {% if document.getDescription() is not empty %}
  37.                 {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  38.             {% endif %}
  39.             {% do pimcore_head_title().append('Confabitare monza brianza') %}
  40.             {% do pimcore_head_title().setSeparator(' : ') %}
  41.         {% endif %}
  42.         {% set isPortal = ((isPortal is defined) and isPortal) %}
  43.     {% endapply %}
  44.     {# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
  45.     {{ pimcore_head_title() }}
  46.     {{ pimcore_head_meta() }}
  47.     {% if pimcore_placeholder('canonical').count() %}
  48.         <link rel="canonical" href="{{ pimcore_placeholder('canonical') }}"/>
  49.     {% endif %}
  50.     {{ pimcore_head_link() }}
  51. </head>
  52. <body>
  53. {# get root node if there is no document defined (for pages which are routed directly through static route) #}
  54. {% if not document is defined or not document %}
  55.     {% set document = pimcore_document(1) %}
  56. {% endif %}
  57. <main role="main">
  58.     <nav class="navbar navbar-light bg-light justify-content-center">
  59.         <a class="navbar-brand text-center" href="#"><img src="{{ asset('static/logo-small.jpg') }}" width="100" height="auto"></a>
  60.     </nav>
  61.     {% for label, messages in app.flashes %}
  62.         {% for message in messages %}
  63.             <div class="alert alert-{{ label }} alert-dismissable">
  64.                 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  65.                 {{ message }}
  66.             </div>
  67.         {% endfor %}
  68.     {% endfor %}
  69.     <section class="container mt-5">
  70.         <div class="row justify-content-center">
  71.             <div class="col-12 col-md-4">
  72.                 {% block members_user_content %}
  73.                 {% endblock members_user_content %}
  74.             </div>
  75.         </div>
  76.     </section>
  77. </main>
  78. {# output scripts added before #}
  79. {{ pimcore_head_script() }}
  80. {{ pimcore_inline_script() }}
  81. </body>
  82. </html>