templates/WebSite/Security/_layout.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4.     <meta charset="utf-8" />
  5.     {# Support pour IE #}
  6.     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7.     <meta name="viewport" content="width=device-width, initial-scale=1" />
  8.     {# The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags #}
  9.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  10.     {% block title %}
  11.     <title>Client Web</title>
  12.     {% endblock%}
  13.     {% block stylesheets %}
  14.         {# icon #}
  15.         {% if customization.actif and customization.favicon_file is not empty %}
  16.             <link rel="icon" href="{{ asset('custom/') }}{{ customization.favicon_file }}" />
  17.         {% else %}
  18.             <link rel="icon" type="image/png" href="{{ asset((app.debug ? 'images/debug/' : '')~'favicon-96x96.png') }}?v=2516.01" sizes="96x96" />
  19.             <link rel="icon" type="image/svg+xml" href="{{ asset((app.debug ? 'images/debug/' : '')~'favicon.svg') }}?v=2516.01" />
  20.             <link rel="shortcut icon" href="{{ asset((app.debug ? 'images/debug/' : '')~'favicon.ico') }}?v=2516.01" />
  21.             <link rel="apple-touch-icon" sizes="180x180" href="{{ asset((app.debug ? 'images/debug/' : '')~'apple-touch-icon.pn') }}?v=2516.01" />
  22.             <link rel="manifest" href="{{ asset((app.debug ? 'images/debug/' : '')~'site.webmanifest') }}?v=2516.01" />
  23.         {% endif %}
  24.         {# feuille de style #}
  25. {#        <link rel="stylesheet" href="{{ asset('vendors/font-awesome/css/all.min.css') }}" />#}
  26.         <link rel="stylesheet" href="{{ asset('build/site/login'~(app.debug ? '' : '.min')~'.css') }}?{{ version_asset }}" />
  27.         {% include 'WebSite/Security/_available_languages_css.html.twig' %}
  28.         {% if holiday is not empty %}
  29.             <link rel="stylesheet" href="{{ asset('build/holiday/' ~ holiday ~ '/login'~(app.debug ? '' : '.min')~'.css') }}?{{ version_asset }}" />
  30.         {% endif %}
  31.         {% if customization.actif and customization.css_file is not empty %}
  32.             <link rel="stylesheet" href="{{ asset('custom/') }}{{ customization.css_file }}" />
  33.         {% endif %}
  34.         {% if customization.css_text is not empty %}
  35.             <style>
  36.                 {{ customization.css_text | raw }}
  37.             </style>
  38.         {% endif %}
  39.     {% endblock%}
  40. </head>
  41. <body class="{% if customization.with_watermark %}watermark{% endif %} {% if 'session_reset_password_extranet' == app.request.get('_route') %}resetpassword{% endif %}">
  42. {% set isMin = true %}
  43. {% set no_state = noutonline_state() %}
  44. {% if no_state.isStarted and not no_state.isRecent and no_state.version is not empty %}
  45.     {% set isMin = false %}
  46. {% endif %}
  47. <div id="loginbox" class="d-flex {% if not extranet and sso is defined and sso.actif %}{% if not sso.only %}with-sso{% else %}only-sso{% endif %}{% endif %}">
  48.     {# le PANEL de gauche avec le logo et le titre #}
  49. {#    {% if is_simaxstarter or no_state.isSIMAXStarter %}#}
  50.     {% if is_simaxstarter %}
  51.         {{ include('WebSite/Security/_login_leftpanel_starter.html.twig') }}
  52.     {% else %}
  53.         {{ include('WebSite/Security/_login_leftpanel_default.html.twig') }}
  54.     {% endif %}
  55.     {# la partie LOGIN #}
  56.     <div class="panel login-droite d-flex flex-column {% if extranet %}extranet{% endif %} {% if maintenance is defined and maintenance %}maintenance{% endif %}">
  57.         <div class="panel-heading">
  58.             <div class="panel-title">
  59.                 {% block panel_title %}
  60.                 {% endblock %}
  61.             </div>
  62.         </div>
  63.         <div class="panel-body flex-grow-1">
  64.             {% block panel_body %}
  65.             {% endblock %}
  66.         </div>
  67.         {% if display_version %}
  68.             <div class="panel-footer">
  69.                 <div>© Client Web {{ version_site }}</div>
  70.                 <div>© SIMAXOnline <span {% if not isMin %}class="text-danger" style="font-weight: bold"{% endif %}>{{ no_state.version }}</span></div>
  71.             </div>
  72.         {% endif %}
  73.     </div>
  74. </div>
  75. {% block javascripts %}
  76. {% endblock %}
  77. </body>
  78. </html>