<!DOCTYPE html>
<html lang="fr">
<head>
<title>My Flow - Connexion{% block title %}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
{% if is_agency() == true %}
<link rel="shortcut icon" href="{{ asset(dynamic_favicon()) }}"/>
{% else %}
<link rel="shortcut icon" href="{{ asset('build/media/favicon.ico') }}"/>
{% endif %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700|Titillium+Web:300,400,500,600,700" />
{% block stylesheets %}
{{ encore_entry_link_tags('plugins/global/plugins.bundle') }}
{{ encore_entry_link_tags('css/style.bundle') }}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block scripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
{% if app.request.attributes.get('agency_connect') is not null %}
{% set userCompanyDataContent = get_user_company_data_agency(app.request.attributes.get('agency_connect')['id']) %}
{% set company = get_company(app.request.attributes.get('agency_connect')['id']) %}
{% endif %}
{% if userCompanyDataContent is defined %}
{% set user_primary_color = userCompanyDataContent.primary_color is not empty ? userCompanyDataContent.primary_color : '#f975c4'%}
{% set user_second_color = userCompanyDataContent.second_color is not empty ? userCompanyDataContent.second_color : '#08085c' %}
{% set user_text_color = userCompanyDataContent.text_color is not empty ? userCompanyDataContent.text_color : '#1968CD' %}
{% set user_icon_color = userCompanyDataContent.icon_color is not empty ? userCompanyDataContent.icon_color : '#4a4b68' %}
{% set user_background_color = userCompanyDataContent.background_color is not empty ? userCompanyDataContent.background_color : '#04006E' %}
{% set user_title_color = userCompanyDataContent.title_color is not empty ? userCompanyDataContent.title_color : '#08085c' %}
{% set user_company_logo = userCompanyDataContent.logo_company is not empty ? userCompanyDataContent.logo_company : '' %}
{% else %}
{% set userCompanyDataContent = ''%}
{% set user_primary_color = '#f975c4' %}
{% set user_second_color = '#08085c' %}
{% set user_text_color = '#1968CD' %}
{% set user_icon_color = '#4a4b68' %}
{% set user_background_color = '#04006E' %}
{% set user_title_color = '#08085c' %}
{% set user_company_logo = '' %}
{% endif %}
</head>
<body id="kt_body login" class="bg-body" data-turbo="false">
<style type="text/css">
:root {
--my-flow-pink:{{user_primary_color}}; /*couleur principale #f975c4*/
}
{# debut Custom primary color #}
button.btn-primary-custom{
background-color:var(--my-flow-pink) !important;
}
.color-primary{
color:var(--my-flow-pink) !important;
}
.color-second{
color:#000064 !important;
}
input:checked[type=checkbox]{
background-color:var(--my-flow-pink) !important;
}
{# fin text de détails #}
</style>
<div class="d-flex flex-column flex-root" style="justify-content:center">
<div class="">
{{ include('_flashbag.html.twig') }}
<div class="py-10 ">
<div class="">
{# <div class="mb-5 container-logo" >
<a href="{{ path('app_login') }}">
{% if company is defined and company is not null and company.logoName is not null %}
<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">
{% else %}
<img src="{{ asset('build/media/logo-myflow.png') }}" class="app-logo" alt="my flow logo">
{% endif %}
</a>
</div> #}
<div class="">
{% block content %}{% endblock %}
</div>
</div>
</div>
</div>
</div>
</body>
</html>