var/cache/dev/twig/a8/a89eeeb0f23fc9c078f655972fa3342d.php line 40

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/login.html.twig */
  15. class __TwigTemplate_07f1fd39a72a3f77e954526d6341826e 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->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""security/login.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         yield "Connexion à SIRH!";
  56.         
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.         return; yield '';
  61.     }
  62.     // line 5
  63.     public function block_body($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         // line 6
  71.         yield "\t<head>
  72. \t\t<title>SIRH</title>
  73. \t\t<meta charset=\"utf-8\" />
  74. \t\t<meta name=\"description\" content=\"The most advanced Bootstrap Admin Theme on Bootstrap Market trusted by over 4,000 beginners and professionals.\" />
  75. \t\t<meta name=\"keywords\" content=\"keen, bootstrap, bootstrap 5, bootstrap 4, admin themes, web design, figma, web development, free templates\" />
  76. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
  77. \t\t<meta property=\"og:locale\" content=\"en_US\" />
  78. \t\t<meta property=\"og:type\" content=\"article\" />
  79. \t\t<meta property=\"og:title\" content=\"Keen - Multi-demo Bootstrap 5 HTML Admin Dashboard Theme\" />
  80. \t\t<meta property=\"og:url\" content=\"https://keenthemes.com/keen\" />
  81. \t\t<meta property=\"og:site_name\" content=\"Keenthemes | Keen\" />
  82. \t\t<link rel=\"canonical\" href=\"https://preview.keenthemes.com/keen\" />
  83. \t\t<link rel=\"shortcut icon\" href=\"assets/media/logos/favicon.ico\" />
  84. \t\t<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700\" />
  85. \t\t<link href=\"";
  86.         // line 20
  87.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sirh/dist/assets/plugins/global/plugins.bundle.css"), "html"nulltrue);
  88.         yield "\" rel=\"stylesheet\" type=\"text/css\" />
  89. \t\t<link href=\"";
  90.         // line 21
  91.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sirh/dist/assets/css/style.bundle.css"), "html"nulltrue);
  92.         yield "\" rel=\"stylesheet\" type=\"text/css\" />
  93. \t</head>
  94.    <style>
  95.    .card .card-body {
  96.     padding: 2rem 4.25rem!important;
  97. }
  98.    </style>
  99.     <!--begin::Body-->
  100. \t<body id=\"kt_body\" class=\"app-blank app-blank bgi-size-cover bgi-position-center bgi-no-repeat\">
  101. \t\t<!--begin::Theme mode setup on page load-->
  102. \t\t<script>var defaultThemeMode = \"light\"; var themeMode; if ( document.documentElement ) { if ( document.documentElement.hasAttribute(\"data-bs-theme-mode\")) { themeMode = document.documentElement.getAttribute(\"data-bs-theme-mode\"); } else { if ( localStorage.getItem(\"data-bs-theme\") !== null ) { themeMode = localStorage.getItem(\"data-bs-theme\"); } else { themeMode = defaultThemeMode; } } if (themeMode === \"system\") { themeMode = window.matchMedia(\"(prefers-color-scheme: dark)\").matches ? \"dark\" : \"light\"; } document.documentElement.setAttribute(\"data-bs-theme\", themeMode); }</script>
  103. \t\t<!--end::Theme mode setup on page load-->
  104. \t\t<!--begin::Root-->
  105. \t\t<div class=\"d-flex flex-column flex-root\" id=\"kt_app_root\">
  106. \t\t\t<!--begin::Page bg image-->
  107. \t\t\t<style>body { background-image: url('sirh/dist/assets/media/auth/bg12.jpg'); } [data-bs-theme=\"dark\"] body { background-image: url('sirh/dist/assets/media/auth/bg12-dark.jpg'); }</style>
  108. \t\t\t<!--end::Page bg image-->
  109. \t\t\t<!--begin::Authentication - Signup Welcome Message -->
  110. \t\t\t<div class=\"d-flex flex-column flex-center flex-column-fluid\">
  111. \t\t\t\t<!--begin::Content-->
  112. \t\t\t\t<div class=\"d-flex flex-column flex-center text-center p-10\">
  113. \t\t\t\t\t<!--begin::Wrapper-->
  114. \t\t\t\t\t<div class=\"card card-flush w-lg-650px py-5\">
  115. \t\t\t\t\t\t<div class=\"card-body py-15 py-lg-20\">
  116. \t\t\t\t\t\t\t<!--begin::Logo-->
  117. \t\t\t\t\t\t\t<div class=\"mb-13\">
  118. \t\t\t\t\t\t\t\t<a href=\"#\" class=\"\">
  119. \t\t\t\t\t\t\t\t\t\t<img alt=\"Logo\" src=\"";
  120.         // line 49
  121.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sirh/dist/assets/media/logos/logo-hammami.png"), "html"nulltrue);
  122.         yield "\" class=\"h-125px\"/>
  123. \t\t\t\t\t\t\t\t</a>
  124. \t\t\t\t\t\t\t</div>
  125. \t\t\t\t\t\t\t<!--end::Logo-->
  126. \t\t\t\t\t\t\t<!--begin::Title-->
  127. \t\t\t\t\t\t\t<!--end::Title-->
  128. \t\t\t\t\t\t\t<!--begin::Counter-->
  129. \t\t\t\t\t\t\t<!--(uncomment to display coming soon counter)
  130. \t\t\t\t\t\t\t<div class=\"d-flex flex-center pb-10 pt-lg-5 pb-lg-12\">
  131. \t\t\t\t\t\t\t\t<div class=\"w-65px rounded-3 bg-body shadow-sm py-4 px-5 mx-3\">
  132. \t\t\t\t\t\t\t\t\t<div class=\"fs-2 fw-bold text-gray-800\" id=\"kt_coming_soon_counter_days\"></div>
  133. \t\t\t\t\t\t\t\t\t<div class=\"fs-7 fw-semibold text-muted\">days</div>
  134. \t\t\t\t\t\t\t\t</div>
  135. \t\t\t\t\t\t\t\t<div class=\"w-65px rounded-3 bg-body shadow-sm py-4 px-5 mx-3\">
  136. \t\t\t\t\t\t\t\t\t<div class=\"fs-2 fw-bold text-gray-800\" id=\"kt_coming_soon_counter_hours\"></div>
  137. \t\t\t\t\t\t\t\t\t<div class=\"fs-7 text-muted\">hrs</div>
  138. \t\t\t\t\t\t\t\t</div>
  139. \t\t\t\t\t\t\t\t<div class=\"w-65px rounded-3 bg-body shadow-sm py-4 px-5 mx-3\">
  140. \t\t\t\t\t\t\t\t\t<div class=\"fs-2 fw-bold text-gray-800\" id=\"kt_coming_soon_counter_minutes\"></div>
  141. \t\t\t\t\t\t\t\t\t<div class=\"fs-7 text-muted\">min</div>
  142. \t\t\t\t\t\t\t\t</div>
  143. \t\t\t\t\t\t\t\t<div class=\"w-65px rounded-3 bg-body shadow-sm py-4 px-5 mx-3\">
  144. \t\t\t\t\t\t\t\t\t<div class=\"fs-2 fw-bold text-gray-800\" id=\"kt_coming_soon_counter_seconds\"></div>
  145. \t\t\t\t\t\t\t\t\t<div class=\"fs-7 text-muted\">sec</div>
  146. \t\t\t\t\t\t\t\t</div>
  147. \t\t\t\t\t\t\t</div>
  148.     \t\t\t\t\t\t\t-->
  149. \t\t\t\t\t\t\t<!--end::Counter-->
  150. \t\t\t\t\t\t\t <div class=\"separator separator-content my-14\">
  151.                                         <span class=\"text-gray-500 fw-semibold fs-7\">Entrez l'email ou le matricule, ainsi que le mot de passe</span>
  152.                                     </div>
  153. \t\t\t\t\t\t\t<!--begin::Form-->
  154.                                 <form method=\"post\"  class=\"form w-100\"  id=\"kt_sign_in_form\" data-kt-redirect-url=\"../../demo5/dist/index.html\" action=\"#\">
  155.                                 ";
  156.         // line 85
  157.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'85$this->source); })())) {
  158.             // line 86
  159.             yield "                                        <div class=\"alert alert-danger\">";
  160.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'86$this->source); })()), "messageKey", [], "any"falsefalsefalse86), CoreExtension::getAttribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'86$this->source); })()), "messageData", [], "any"falsefalsefalse86), "security"), "html"nulltrue);
  161.             yield "</div>
  162.                                     ";
  163.         }
  164.         // line 88
  165.         yield "
  166.                                     ";
  167.         // line 90
  168.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'90$this->source); })()), "user", [], "any"falsefalsefalse90)) {
  169.             // line 91
  170.             yield "                                        <div class=\"mb-3\">
  171.                                             Vous êtes connecté en tant que ";
  172.             // line 92
  173.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::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.'92$this->source); })()), "user", [], "any"falsefalsefalse92), "userIdentifier", [], "any"falsefalsefalse92), "html"nulltrue);
  174.             yield ", <a href=\"";
  175.             yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  176.             yield "\">Deconnexion</a>
  177.                                         </div>
  178.                                     ";
  179.         }
  180.         // line 95
  181.         yield "\t\t\t\t\t\t\t\t<div class=\"fv-row text-start\">
  182. \t\t\t\t\t\t\t\t\t<div class=\"d-flex flex-column  justify-content-center gap-3\">
  183. \t\t\t\t\t\t\t\t\t\t<!--end::Input=-->
  184.                                     <input type=\"text\" value=\"";
  185.         // line 98
  186.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'98$this->source); })()), "html"nulltrue);
  187.         yield "\" name=\"username\" id=\"inputUsername\" class=\"form-control\" autocomplete=\"username\" placeholder=\"Email ou Matricule\" required autofocus>
  188.                                        <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" placeholder=\"Mot de passe\" autocomplete=\"current-password\" >
  189.                                     <input type=\"hidden\" name=\"_csrf_token\"
  190.                                         value=\"";
  191.         // line 102
  192.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  193.         yield "\"
  194.                                     >
  195. \t\t\t\t\t\t\t\t\t\t<!--end::Input=-->
  196. \t\t\t\t\t\t\t\t\t\t<!--begin::Submit-->
  197. \t\t\t\t\t\t\t\t\t\t<div class=\"d-grid mb-10\">
  198.                                         <button type=\"submit\"  id=\"kt_sign_in_submit\" class=\"btn btn-primary text-nowrap\">
  199.                                             <!--begin::Indicator label-->
  200.                                             <span class=\"indicator-label\">Connexion</span>
  201.                                             <!--end::Indicator label-->
  202.                                             <!--begin::Indicator progress-->
  203.                                             <span class=\"indicator-progress\">Please wait...
  204.                                             <span class=\"spinner-border spinner-border-sm align-middle ms-2\"></span></span>
  205.                                             <!--end::Indicator progress-->
  206.                                         </button>
  207.                                     </div>
  208. \t\t\t\t\t\t\t\t\t\t<!--end::Submit-->
  209. \t\t\t\t\t\t\t\t\t</div>
  210. \t\t\t\t\t\t\t\t</div>
  211. \t\t\t\t\t\t\t</form>
  212. \t\t\t\t\t\t\t<!--end::Form-->
  213. \t\t\t\t\t\t\t<!--begin::Illustration-->
  214. \t\t\t\t\t\t\t
  215. \t\t\t\t\t\t\t<!--end::Illustration-->
  216. \t\t\t\t\t\t</div>
  217. \t\t\t\t\t</div>
  218. \t\t\t\t\t<!--end::Wrapper-->
  219. \t\t\t\t</div>
  220. \t\t\t\t<!--end::Content-->
  221. \t\t\t</div>
  222. \t\t\t<!--end::Authentication - Signup Welcome Message-->
  223. \t\t</div>
  224. \t\t<!--end::Root-->
  225. \t\t<!--begin::Javascript-->
  226. \t\t<script>var hostUrl = \"assets/\";</script>
  227. \t\t<!--begin::Global Javascript Bundle(mandatory for all pages)-->
  228. \t\t<script src=\"";
  229.         // line 138
  230.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sirh/dist/assets/js/custom/authentication/sign-in/general.js"), "html"nulltrue);
  231.         yield "\"></script>
  232. \t\t<script src=\"";
  233.         // line 139
  234.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sirh/dist/assets/js/custom/authentication/sign-up/coming-soon.js"), "html"nulltrue);
  235.         yield "\"></script>
  236.         <script src=\"";
  237.         // line 140
  238.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sirh/dist/assets/plugins/global/plugins.bundle.js"), "html"nulltrue);
  239.         yield "\"></script>
  240. \t\t<script src=\"";
  241.         // line 141
  242.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("sirh/dist/assets/js/scripts.bundle.js"), "html"nulltrue);
  243.         yield "\"></script>
  244. \t\t<!--end::Custom Javascript-->
  245. \t\t<!--end::Javascript-->
  246. \t</body>
  247. \t<!--end::Body-->
  248. \t\t\t\t\t\t\t
  249. ";
  250.         
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  252.         
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  254.         return; yield '';
  255.     }
  256.     /**
  257.      * @codeCoverageIgnore
  258.      */
  259.     public function getTemplateName()
  260.     {
  261.         return "security/login.html.twig";
  262.     }
  263.     /**
  264.      * @codeCoverageIgnore
  265.      */
  266.     public function isTraitable()
  267.     {
  268.         return false;
  269.     }
  270.     /**
  271.      * @codeCoverageIgnore
  272.      */
  273.     public function getDebugInfo()
  274.     {
  275.         return array (  268 => 141,  264 => 140,  260 => 139,  256 => 138,  217 => 102,  210 => 98,  205 => 95,  197 => 92,  194 => 91,  192 => 90,  188 => 88,  182 => 86,  180 => 85,  141 => 49,  110 => 21,  106 => 20,  90 => 6,  80 => 5,  60 => 3,  37 => 1,);
  276.     }
  277.     public function getSourceContext()
  278.     {
  279.         return new Source("{% extends 'base.html.twig' %}
  280. {% block title %}Connexion à SIRH!{% endblock %}
  281. {% block body %}
  282. \t<head>
  283. \t\t<title>SIRH</title>
  284. \t\t<meta charset=\"utf-8\" />
  285. \t\t<meta name=\"description\" content=\"The most advanced Bootstrap Admin Theme on Bootstrap Market trusted by over 4,000 beginners and professionals.\" />
  286. \t\t<meta name=\"keywords\" content=\"keen, bootstrap, bootstrap 5, bootstrap 4, admin themes, web design, figma, web development, free templates\" />
  287. \t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
  288. \t\t<meta property=\"og:locale\" content=\"en_US\" />
  289. \t\t<meta property=\"og:type\" content=\"article\" />
  290. \t\t<meta property=\"og:title\" content=\"Keen - Multi-demo Bootstrap 5 HTML Admin Dashboard Theme\" />
  291. \t\t<meta property=\"og:url\" content=\"https://keenthemes.com/keen\" />
  292. \t\t<meta property=\"og:site_name\" content=\"Keenthemes | Keen\" />
  293. \t\t<link rel=\"canonical\" href=\"https://preview.keenthemes.com/keen\" />
  294. \t\t<link rel=\"shortcut icon\" href=\"assets/media/logos/favicon.ico\" />
  295. \t\t<link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700\" />
  296. \t\t<link href=\"{{ asset('sirh/dist/assets/plugins/global/plugins.bundle.css')}}\" rel=\"stylesheet\" type=\"text/css\" />
  297. \t\t<link href=\"{{ asset('sirh/dist/assets/css/style.bundle.css')}}\" rel=\"stylesheet\" type=\"text/css\" />
  298. \t</head>
  299.    <style>
  300.    .card .card-body {
  301.     padding: 2rem 4.25rem!important;
  302. }
  303.    </style>
  304.     <!--begin::Body-->
  305. \t<body id=\"kt_body\" class=\"app-blank app-blank bgi-size-cover bgi-position-center bgi-no-repeat\">
  306. \t\t<!--begin::Theme mode setup on page load-->
  307. \t\t<script>var defaultThemeMode = \"light\"; var themeMode; if ( document.documentElement ) { if ( document.documentElement.hasAttribute(\"data-bs-theme-mode\")) { themeMode = document.documentElement.getAttribute(\"data-bs-theme-mode\"); } else { if ( localStorage.getItem(\"data-bs-theme\") !== null ) { themeMode = localStorage.getItem(\"data-bs-theme\"); } else { themeMode = defaultThemeMode; } } if (themeMode === \"system\") { themeMode = window.matchMedia(\"(prefers-color-scheme: dark)\").matches ? \"dark\" : \"light\"; } document.documentElement.setAttribute(\"data-bs-theme\", themeMode); }</script>
  308. \t\t<!--end::Theme mode setup on page load-->
  309. \t\t<!--begin::Root-->
  310. \t\t<div class=\"d-flex flex-column flex-root\" id=\"kt_app_root\">
  311. \t\t\t<!--begin::Page bg image-->
  312. \t\t\t<style>body { background-image: url('sirh/dist/assets/media/auth/bg12.jpg'); } [data-bs-theme=\"dark\"] body { background-image: url('sirh/dist/assets/media/auth/bg12-dark.jpg'); }</style>
  313. \t\t\t<!--end::Page bg image-->
  314. \t\t\t<!--begin::Authentication - Signup Welcome Message -->
  315. \t\t\t<div class=\"d-flex flex-column flex-center flex-column-fluid\">
  316. \t\t\t\t<!--begin::Content-->
  317. \t\t\t\t<div class=\"d-flex flex-column flex-center text-center p-10\">
  318. \t\t\t\t\t<!--begin::Wrapper-->
  319. \t\t\t\t\t<div class=\"card card-flush w-lg-650px py-5\">
  320. \t\t\t\t\t\t<div class=\"card-body py-15 py-lg-20\">
  321. \t\t\t\t\t\t\t<!--begin::Logo-->
  322. \t\t\t\t\t\t\t<div class=\"mb-13\">
  323. \t\t\t\t\t\t\t\t<a href=\"#\" class=\"\">
  324. \t\t\t\t\t\t\t\t\t\t<img alt=\"Logo\" src=\"{{ asset('sirh/dist/assets/media/logos/logo-hammami.png') }}\" class=\"h-125px\"/>
  325. \t\t\t\t\t\t\t\t</a>
  326. \t\t\t\t\t\t\t</div>
  327. \t\t\t\t\t\t\t<!--end::Logo-->
  328. \t\t\t\t\t\t\t<!--begin::Title-->
  329. \t\t\t\t\t\t\t<!--end::Title-->
  330. \t\t\t\t\t\t\t<!--begin::Counter-->
  331. \t\t\t\t\t\t\t<!--(uncomment to display coming soon counter)
  332. \t\t\t\t\t\t\t<div class=\"d-flex flex-center pb-10 pt-lg-5 pb-lg-12\">
  333. \t\t\t\t\t\t\t\t<div class=\"w-65px rounded-3 bg-body shadow-sm py-4 px-5 mx-3\">
  334. \t\t\t\t\t\t\t\t\t<div class=\"fs-2 fw-bold text-gray-800\" id=\"kt_coming_soon_counter_days\"></div>
  335. \t\t\t\t\t\t\t\t\t<div class=\"fs-7 fw-semibold text-muted\">days</div>
  336. \t\t\t\t\t\t\t\t</div>
  337. \t\t\t\t\t\t\t\t<div class=\"w-65px rounded-3 bg-body shadow-sm py-4 px-5 mx-3\">
  338. \t\t\t\t\t\t\t\t\t<div class=\"fs-2 fw-bold text-gray-800\" id=\"kt_coming_soon_counter_hours\"></div>
  339. \t\t\t\t\t\t\t\t\t<div class=\"fs-7 text-muted\">hrs</div>
  340. \t\t\t\t\t\t\t\t</div>
  341. \t\t\t\t\t\t\t\t<div class=\"w-65px rounded-3 bg-body shadow-sm py-4 px-5 mx-3\">
  342. \t\t\t\t\t\t\t\t\t<div class=\"fs-2 fw-bold text-gray-800\" id=\"kt_coming_soon_counter_minutes\"></div>
  343. \t\t\t\t\t\t\t\t\t<div class=\"fs-7 text-muted\">min</div>
  344. \t\t\t\t\t\t\t\t</div>
  345. \t\t\t\t\t\t\t\t<div class=\"w-65px rounded-3 bg-body shadow-sm py-4 px-5 mx-3\">
  346. \t\t\t\t\t\t\t\t\t<div class=\"fs-2 fw-bold text-gray-800\" id=\"kt_coming_soon_counter_seconds\"></div>
  347. \t\t\t\t\t\t\t\t\t<div class=\"fs-7 text-muted\">sec</div>
  348. \t\t\t\t\t\t\t\t</div>
  349. \t\t\t\t\t\t\t</div>
  350.     \t\t\t\t\t\t\t-->
  351. \t\t\t\t\t\t\t<!--end::Counter-->
  352. \t\t\t\t\t\t\t <div class=\"separator separator-content my-14\">
  353.                                         <span class=\"text-gray-500 fw-semibold fs-7\">Entrez l'email ou le matricule, ainsi que le mot de passe</span>
  354.                                     </div>
  355. \t\t\t\t\t\t\t<!--begin::Form-->
  356.                                 <form method=\"post\"  class=\"form w-100\"  id=\"kt_sign_in_form\" data-kt-redirect-url=\"../../demo5/dist/index.html\" action=\"#\">
  357.                                 {% if error %}
  358.                                         <div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  359.                                     {% endif %}
  360.                                     {% if app.user %}
  361.                                         <div class=\"mb-3\">
  362.                                             Vous êtes connecté en tant que {{ app.user.userIdentifier }}, <a href=\"{{ path('app_logout') }}\">Deconnexion</a>
  363.                                         </div>
  364.                                     {% endif %}
  365. \t\t\t\t\t\t\t\t<div class=\"fv-row text-start\">
  366. \t\t\t\t\t\t\t\t\t<div class=\"d-flex flex-column  justify-content-center gap-3\">
  367. \t\t\t\t\t\t\t\t\t\t<!--end::Input=-->
  368.                                     <input type=\"text\" value=\"{{ last_username }}\" name=\"username\" id=\"inputUsername\" class=\"form-control\" autocomplete=\"username\" placeholder=\"Email ou Matricule\" required autofocus>
  369.                                        <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" placeholder=\"Mot de passe\" autocomplete=\"current-password\" >
  370.                                     <input type=\"hidden\" name=\"_csrf_token\"
  371.                                         value=\"{{ csrf_token('authenticate') }}\"
  372.                                     >
  373. \t\t\t\t\t\t\t\t\t\t<!--end::Input=-->
  374. \t\t\t\t\t\t\t\t\t\t<!--begin::Submit-->
  375. \t\t\t\t\t\t\t\t\t\t<div class=\"d-grid mb-10\">
  376.                                         <button type=\"submit\"  id=\"kt_sign_in_submit\" class=\"btn btn-primary text-nowrap\">
  377.                                             <!--begin::Indicator label-->
  378.                                             <span class=\"indicator-label\">Connexion</span>
  379.                                             <!--end::Indicator label-->
  380.                                             <!--begin::Indicator progress-->
  381.                                             <span class=\"indicator-progress\">Please wait...
  382.                                             <span class=\"spinner-border spinner-border-sm align-middle ms-2\"></span></span>
  383.                                             <!--end::Indicator progress-->
  384.                                         </button>
  385.                                     </div>
  386. \t\t\t\t\t\t\t\t\t\t<!--end::Submit-->
  387. \t\t\t\t\t\t\t\t\t</div>
  388. \t\t\t\t\t\t\t\t</div>
  389. \t\t\t\t\t\t\t</form>
  390. \t\t\t\t\t\t\t<!--end::Form-->
  391. \t\t\t\t\t\t\t<!--begin::Illustration-->
  392. \t\t\t\t\t\t\t
  393. \t\t\t\t\t\t\t<!--end::Illustration-->
  394. \t\t\t\t\t\t</div>
  395. \t\t\t\t\t</div>
  396. \t\t\t\t\t<!--end::Wrapper-->
  397. \t\t\t\t</div>
  398. \t\t\t\t<!--end::Content-->
  399. \t\t\t</div>
  400. \t\t\t<!--end::Authentication - Signup Welcome Message-->
  401. \t\t</div>
  402. \t\t<!--end::Root-->
  403. \t\t<!--begin::Javascript-->
  404. \t\t<script>var hostUrl = \"assets/\";</script>
  405. \t\t<!--begin::Global Javascript Bundle(mandatory for all pages)-->
  406. \t\t<script src=\"{{ asset('sirh/dist/assets/js/custom/authentication/sign-in/general.js')}}\"></script>
  407. \t\t<script src=\"{{ asset('sirh/dist/assets/js/custom/authentication/sign-up/coming-soon.js')}}\"></script>
  408.         <script src=\"{{ asset('sirh/dist/assets/plugins/global/plugins.bundle.js')}}\"></script>
  409. \t\t<script src=\"{{ asset('sirh/dist/assets/js/scripts.bundle.js')}}\"></script>
  410. \t\t<!--end::Custom Javascript-->
  411. \t\t<!--end::Javascript-->
  412. \t</body>
  413. \t<!--end::Body-->
  414. \t\t\t\t\t\t\t
  415. {% endblock %}
  416. ""security/login.html.twig""/home/groupehamf/sirhsofap/templates/security/login.html.twig");
  417.     }
  418. }