templates/security.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.     <title>My Flow - Connexion{% block title %}{% endblock %}</title>
  5.     <meta name="viewport" content="width=device-width, initial-scale=1" />
  6.     <meta charset="utf-8" />
  7.     <link rel="shortcut icon" href="{{ asset('build/media/favicon.ico') }}" />
  8.     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700|Titillium+Web:300,400,500,600,700" />
  9.     {% block stylesheets %}
  10.         {{ encore_entry_link_tags('plugins/global/plugins.bundle') }}
  11.         {{ encore_entry_link_tags('css/style.bundle') }}
  12.         {{ encore_entry_link_tags('app') }}
  13.     {% endblock %}
  14. {% block scripts %}
  15.         {{ encore_entry_script_tags('app') }}
  16. {% endblock %}
  17.     {% if app.request.attributes.get('agency_connect') is not null %}
  18.         {% set userCompanyDataContent =  get_user_company_data_agency(app.request.attributes.get('agency_connect')['id']) %}
  19.         {% set company = get_company(app.request.attributes.get('agency_connect')['id']) %}
  20.     {% endif %}
  21.     {% if userCompanyDataContent is defined %}
  22.         {% set user_primary_color = userCompanyDataContent.primary_color is not empty ? userCompanyDataContent.primary_color : '#f975c4'%}
  23.         {% set user_second_color = userCompanyDataContent.second_color is not empty ? userCompanyDataContent.second_color : '#08085c' %}
  24.         {% set user_text_color = userCompanyDataContent.text_color is not empty ? userCompanyDataContent.text_color : '#1968CD' %}
  25.         {% set user_icon_color = userCompanyDataContent.icon_color is not empty ? userCompanyDataContent.icon_color : '#4a4b68' %}
  26.         {% set user_background_color = userCompanyDataContent.background_color is not empty ? userCompanyDataContent.background_color : '#04006E' %}
  27.         {% set user_title_color = userCompanyDataContent.title_color is not empty ? userCompanyDataContent.title_color : '#08085c' %}
  28.         {% set user_company_logo = userCompanyDataContent.logo_company is not empty ? userCompanyDataContent.logo_company : '' %}
  29.         {% else %}
  30.             {% set userCompanyDataContent = ''%}
  31.             {% set user_primary_color = '#f975c4' %}
  32.             {% set user_second_color = '#08085c' %}
  33.             {% set user_text_color = '#1968CD' %}
  34.             {% set user_icon_color = '#4a4b68' %}
  35.             {% set user_background_color = '#04006E' %}
  36.             {% set user_title_color = '#08085c' %}
  37.             {% set user_company_logo = '' %}
  38.     {% endif %}
  39. </head>
  40. <body id="kt_body login" class="bg-body" data-turbo="false">
  41. <style type="text/css">
  42.     :root {
  43.     --my-flow-pink:{{user_primary_color}}; /*couleur principale #f975c4*/ 
  44. }
  45.     {# debut Custom primary color #}
  46.    button.btn-primary-custom{
  47.     background-color:var(--my-flow-pink) !important;
  48. }
  49. input:checked[type=checkbox]{
  50.     background-color:var(--my-flow-pink) !important;
  51. }
  52.     {# fin text de détails #}
  53. </style>
  54. <div class="d-flex flex-column flex-root">
  55.     <div class="d-flex flex-column flex-lg-row flex-column-fluid">
  56.         {{ include('_flashbag.html.twig') }}
  57.         <div class="d-flex flex-column flex-lg-row-fluid py-10 right-login">
  58.             <div class="d-flex flex-center flex-column flex-column-fluid">
  59.                 <div class="mb-5 container-logo" >
  60.                     <a href="{{ path('app_login') }}">
  61.                         {% if company is defined and company is not null and company.logoName is not null %}
  62.                             <img style="max-width: 175px;height: auto;max-height: 75px;" width="auto" src="{{ asset('/uploads/images/company/') }}{{ company.logoName }}" class="app-logo" alt="my flow logo">
  63.                         {% else %}
  64.                              <img src="{{ asset('build/media/logo-myflow.png') }}" class="app-logo" alt="my flow logo">
  65.                         {% endif %}
  66.                     </a>
  67.                 </div>
  68.                 <div class="custom-card-body bg-body rounded p-10 p-lg-15 mx-auto">
  69.                     {% block content %}{% endblock %}
  70.                 </div>
  71.             </div>
  72.         </div>
  73.     </div>
  74. </div>
  75. </body>
  76. </html>