var/cache/dev/twig/85/853c7d8909c7aee9034f2308b85f4b17.php line 191

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* security.html.twig */
  15. class __TwigTemplate_65cb2cc80443773b81e94c99b4ffb6bf extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->parent false;
  24.         $this->blocks = [
  25.             'title' => [$this'block_title'],
  26.             'stylesheets' => [$this'block_stylesheets'],
  27.             'scripts' => [$this'block_scripts'],
  28.             'content' => [$this'block_content'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security.html.twig"));
  38.         // line 1
  39.         yield "<!DOCTYPE html>
  40. <html lang=\"fr\">
  41. <head>
  42.     <title>My Flow - Connexion";
  43.         // line 4
  44.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  45.         yield "</title>
  46.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
  47.     <meta charset=\"utf-8\" />
  48.     ";
  49.         // line 7
  50.         if (($this->extensions['App\Twig\UserTwig']->isAgency() == true)) {
  51.             // line 8
  52.             yield "                <link rel=\"shortcut icon\" href=\"";
  53.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['App\Twig\UserTwig']->dynamicFavicon()), "html"nulltrue);
  54.             yield "\"/>
  55.             ";
  56.         } else {
  57.             // line 10
  58.             yield "                <link rel=\"shortcut icon\" href=\"";
  59.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/media/favicon.ico"), "html"nulltrue);
  60.             yield "\"/>
  61.             ";
  62.         }
  63.         // line 12
  64.         yield "    <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700|Titillium+Web:300,400,500,600,700\" />
  65.     ";
  66.         // line 13
  67.         yield from $this->unwrap()->yieldBlock('stylesheets'$context$blocks);
  68.         // line 18
  69.         yield "
  70. ";
  71.         // line 19
  72.         yield from $this->unwrap()->yieldBlock('scripts'$context$blocks);
  73.         // line 22
  74.         yield "    ";
  75.         if ( !(null === CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'22$this->source); })()), "request", [], "any"falsefalsefalse22), "attributes", [], "any"falsefalsefalse22), "get", ["agency_connect"], "method"falsefalsefalse22))) {
  76.             // line 23
  77.             yield "        ";
  78.             $context["userCompanyDataContent"] = $this->extensions['App\Twig\CompanyDataTwig']->getUserCompanyDataAgency(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'23$this->source); })()), "request", [], "any"falsefalsefalse23), "attributes", [], "any"falsefalsefalse23), "get", ["agency_connect"], "method"falsefalsefalse23), "id", [], "array"falsefalsefalse23));
  79.             // line 24
  80.             yield "        ";
  81.             $context["company"] = $this->extensions['App\Twig\CompanyDataTwig']->getCompany(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'24$this->source); })()), "request", [], "any"falsefalsefalse24), "attributes", [], "any"falsefalsefalse24), "get", ["agency_connect"], "method"falsefalsefalse24), "id", [], "array"falsefalsefalse24));
  82.             // line 25
  83.             yield "    ";
  84.         }
  85.         // line 26
  86.         yield "    ";
  87.         if (array_key_exists("userCompanyDataContent"$context)) {
  88.             // line 27
  89.             yield "        ";
  90.             $context["user_primary_color"] = (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'27$this->source); })()), "primary_color", [], "any"falsefalsefalse27))) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'27$this->source); })()), "primary_color", [], "any"falsefalsefalse27)) : ("#f975c4"));
  91.             // line 28
  92.             yield "        ";
  93.             $context["user_second_color"] = (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'28$this->source); })()), "second_color", [], "any"falsefalsefalse28))) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'28$this->source); })()), "second_color", [], "any"falsefalsefalse28)) : ("#08085c"));
  94.             // line 29
  95.             yield "        ";
  96.             $context["user_text_color"] = (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'29$this->source); })()), "text_color", [], "any"falsefalsefalse29))) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'29$this->source); })()), "text_color", [], "any"falsefalsefalse29)) : ("#1968CD"));
  97.             // line 30
  98.             yield "        ";
  99.             $context["user_icon_color"] = (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'30$this->source); })()), "icon_color", [], "any"falsefalsefalse30))) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'30$this->source); })()), "icon_color", [], "any"falsefalsefalse30)) : ("#4a4b68"));
  100.             // line 31
  101.             yield "        ";
  102.             $context["user_background_color"] = (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'31$this->source); })()), "background_color", [], "any"falsefalsefalse31))) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'31$this->source); })()), "background_color", [], "any"falsefalsefalse31)) : ("#04006E"));
  103.             // line 32
  104.             yield "        ";
  105.             $context["user_title_color"] = (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'32$this->source); })()), "title_color", [], "any"falsefalsefalse32))) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'32$this->source); })()), "title_color", [], "any"falsefalsefalse32)) : ("#08085c"));
  106.             // line 33
  107.             yield "        ";
  108.             $context["user_company_logo"] = (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'33$this->source); })()), "logo_company", [], "any"falsefalsefalse33))) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["userCompanyDataContent"]) || array_key_exists("userCompanyDataContent"$context) ? $context["userCompanyDataContent"] : (function () { throw new RuntimeError('Variable "userCompanyDataContent" does not exist.'33$this->source); })()), "logo_company", [], "any"falsefalsefalse33)) : (""));
  109.             // line 34
  110.             yield "        ";
  111.         } else {
  112.             // line 35
  113.             yield "            ";
  114.             $context["userCompanyDataContent"] = "";
  115.             // line 36
  116.             yield "            ";
  117.             $context["user_primary_color"] = "#f975c4";
  118.             // line 37
  119.             yield "            ";
  120.             $context["user_second_color"] = "#08085c";
  121.             // line 38
  122.             yield "            ";
  123.             $context["user_text_color"] = "#1968CD";
  124.             // line 39
  125.             yield "            ";
  126.             $context["user_icon_color"] = "#4a4b68";
  127.             // line 40
  128.             yield "            ";
  129.             $context["user_background_color"] = "#04006E";
  130.             // line 41
  131.             yield "            ";
  132.             $context["user_title_color"] = "#08085c";
  133.             // line 42
  134.             yield "            ";
  135.             $context["user_company_logo"] = "";
  136.             // line 43
  137.             yield "    ";
  138.         }
  139.         // line 44
  140.         yield "
  141. </head>
  142. <body id=\"kt_body login\" class=\"bg-body\" data-turbo=\"false\">
  143. <style type=\"text/css\">
  144.     :root {
  145.     --my-flow-pink:";
  146.         // line 50
  147.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["user_primary_color"]) || array_key_exists("user_primary_color"$context) ? $context["user_primary_color"] : (function () { throw new RuntimeError('Variable "user_primary_color" does not exist.'50$this->source); })()), "html"nulltrue);
  148.         yield "; /*couleur principale #f975c4*/ 
  149. }
  150.     ";
  151.         // line 54
  152.         yield "   button.btn-primary-custom,a.btn-primary-custom{
  153.     background-color:var(--my-flow-pink) !important;
  154. }
  155. .color-primary{
  156.     color:var(--my-flow-pink) !important;
  157. }
  158. .color-second{
  159.      color:#000064 !important;
  160. }
  161. input:checked[type=checkbox]{
  162.     background-color:var(--my-flow-pink) !important;
  163. }
  164.     ";
  165.         // line 67
  166.         yield "</style>
  167. <div class=\"d-flex flex-column flex-root\" style=\"justify-content:center\">
  168.     <div class=\"\">
  169.         ";
  170.         // line 70
  171.         yield Twig\Extension\CoreExtension::include($this->env$context"_flashbag.html.twig");
  172.         yield "
  173.         <div class=\"py-10 \">
  174.             <div class=\"\">
  175.                 ";
  176.         // line 82
  177.         yield "                <div class=\"\">
  178.                     ";
  179.         // line 83
  180.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  181.         // line 84
  182.         yield "                </div>
  183.             </div>
  184.         </div>
  185.     </div>
  186. </div>
  187. </body>
  188. </html>
  189. ";
  190.         
  191.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  192.         
  193.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  194.         return; yield '';
  195.     }
  196.     // line 4
  197.     public function block_title($context, array $blocks = [])
  198.     {
  199.         $macros $this->macros;
  200.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  201.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  203.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  204.         
  205.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  206.         
  207.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  208.         return; yield '';
  209.     }
  210.     // line 13
  211.     public function block_stylesheets($context, array $blocks = [])
  212.     {
  213.         $macros $this->macros;
  214.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  215.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  216.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  217.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  218.         // line 14
  219.         yield "        ";
  220.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("plugins/global/plugins.bundle");
  221.         yield "
  222.         ";
  223.         // line 15
  224.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("css/style.bundle");
  225.         yield "
  226.         ";
  227.         // line 16
  228.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  229.         yield "
  230.     ";
  231.         
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  233.         
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235.         return; yield '';
  236.     }
  237.     // line 19
  238.     public function block_scripts($context, array $blocks = [])
  239.     {
  240.         $macros $this->macros;
  241.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  243.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  244.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  245.         // line 20
  246.         yield "        ";
  247.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  248.         yield "
  249. ";
  250.         
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  252.         
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  254.         return; yield '';
  255.     }
  256.     // line 83
  257.     public function block_content($context, array $blocks = [])
  258.     {
  259.         $macros $this->macros;
  260.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  263.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  264.         
  265.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  266.         
  267.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  268.         return; yield '';
  269.     }
  270.     /**
  271.      * @codeCoverageIgnore
  272.      */
  273.     public function getTemplateName()
  274.     {
  275.         return "security.html.twig";
  276.     }
  277.     /**
  278.      * @codeCoverageIgnore
  279.      */
  280.     public function isTraitable()
  281.     {
  282.         return false;
  283.     }
  284.     /**
  285.      * @codeCoverageIgnore
  286.      */
  287.     public function getDebugInfo()
  288.     {
  289.         return array (  286 => 83,  272 => 20,  262 => 19,  249 => 16,  245 => 15,  240 => 14,  230 => 13,  211 => 4,  193 => 84,  191 => 83,  188 => 82,  182 => 70,  177 => 67,  163 => 54,  157 => 50,  149 => 44,  146 => 43,  143 => 42,  140 => 41,  137 => 40,  134 => 39,  131 => 38,  128 => 37,  125 => 36,  122 => 35,  119 => 34,  116 => 33,  113 => 32,  110 => 31,  107 => 30,  104 => 29,  101 => 28,  98 => 27,  95 => 26,  92 => 25,  89 => 24,  86 => 23,  83 => 22,  81 => 19,  78 => 18,  76 => 13,  73 => 12,  67 => 10,  61 => 8,  59 => 7,  53 => 4,  48 => 1,);
  290.     }
  291.     public function getSourceContext()
  292.     {
  293.         return new Source("<!DOCTYPE html>
  294. <html lang=\"fr\">
  295. <head>
  296.     <title>My Flow - Connexion{% block title %}{% endblock %}</title>
  297.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
  298.     <meta charset=\"utf-8\" />
  299.     {% if is_agency() == true %}
  300.                 <link rel=\"shortcut icon\" href=\"{{ asset(dynamic_favicon()) }}\"/>
  301.             {% else %}
  302.                 <link rel=\"shortcut icon\" href=\"{{ asset('build/media/favicon.ico') }}\"/>
  303.             {% endif %}
  304.     <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700|Titillium+Web:300,400,500,600,700\" />
  305.     {% block stylesheets %}
  306.         {{ encore_entry_link_tags('plugins/global/plugins.bundle') }}
  307.         {{ encore_entry_link_tags('css/style.bundle') }}
  308.         {{ encore_entry_link_tags('app') }}
  309.     {% endblock %}
  310. {% block scripts %}
  311.         {{ encore_entry_script_tags('app') }}
  312. {% endblock %}
  313.     {% if app.request.attributes.get('agency_connect') is not null %}
  314.         {% set userCompanyDataContent =  get_user_company_data_agency(app.request.attributes.get('agency_connect')['id']) %}
  315.         {% set company = get_company(app.request.attributes.get('agency_connect')['id']) %}
  316.     {% endif %}
  317.     {% if userCompanyDataContent is defined %}
  318.         {% set user_primary_color = userCompanyDataContent.primary_color is not empty ? userCompanyDataContent.primary_color : '#f975c4'%}
  319.         {% set user_second_color = userCompanyDataContent.second_color is not empty ? userCompanyDataContent.second_color : '#08085c' %}
  320.         {% set user_text_color = userCompanyDataContent.text_color is not empty ? userCompanyDataContent.text_color : '#1968CD' %}
  321.         {% set user_icon_color = userCompanyDataContent.icon_color is not empty ? userCompanyDataContent.icon_color : '#4a4b68' %}
  322.         {% set user_background_color = userCompanyDataContent.background_color is not empty ? userCompanyDataContent.background_color : '#04006E' %}
  323.         {% set user_title_color = userCompanyDataContent.title_color is not empty ? userCompanyDataContent.title_color : '#08085c' %}
  324.         {% set user_company_logo = userCompanyDataContent.logo_company is not empty ? userCompanyDataContent.logo_company : '' %}
  325.         {% else %}
  326.             {% set userCompanyDataContent = ''%}
  327.             {% set user_primary_color = '#f975c4' %}
  328.             {% set user_second_color = '#08085c' %}
  329.             {% set user_text_color = '#1968CD' %}
  330.             {% set user_icon_color = '#4a4b68' %}
  331.             {% set user_background_color = '#04006E' %}
  332.             {% set user_title_color = '#08085c' %}
  333.             {% set user_company_logo = '' %}
  334.     {% endif %}
  335. </head>
  336. <body id=\"kt_body login\" class=\"bg-body\" data-turbo=\"false\">
  337. <style type=\"text/css\">
  338.     :root {
  339.     --my-flow-pink:{{user_primary_color}}; /*couleur principale #f975c4*/ 
  340. }
  341.     {# debut Custom primary color #}
  342.    button.btn-primary-custom,a.btn-primary-custom{
  343.     background-color:var(--my-flow-pink) !important;
  344. }
  345. .color-primary{
  346.     color:var(--my-flow-pink) !important;
  347. }
  348. .color-second{
  349.      color:#000064 !important;
  350. }
  351. input:checked[type=checkbox]{
  352.     background-color:var(--my-flow-pink) !important;
  353. }
  354.     {# fin text de détails #}
  355. </style>
  356. <div class=\"d-flex flex-column flex-root\" style=\"justify-content:center\">
  357.     <div class=\"\">
  358.         {{ include('_flashbag.html.twig') }}
  359.         <div class=\"py-10 \">
  360.             <div class=\"\">
  361.                 {# <div class=\"mb-5 container-logo\" >
  362.                     <a href=\"{{ path('app_login') }}\">
  363.                         {% if company is defined and company is not null and company.logoName is not null %}
  364.                             <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\">
  365.                         {% else %}
  366.                              <img src=\"{{ asset('build/media/logo-myflow.png') }}\" class=\"app-logo\" alt=\"my flow logo\">
  367.                         {% endif %}
  368.                     </a>
  369.                 </div> #}
  370.                 <div class=\"\">
  371.                     {% block content %}{% endblock %}
  372.                 </div>
  373.             </div>
  374.         </div>
  375.     </div>
  376. </div>
  377. </body>
  378. </html>
  379. ""security.html.twig""/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/templates/security.html.twig");
  380.     }
  381. }