var/cache/dev/twig/af/af6daa0e808a37b7caae8937177757a0.php line 205

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. /* base_baux_agent.html.twig */
  15. class __TwigTemplate_601f1358483f4ac860b2db88e05a366b 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.             'stylesheet' => [$this'block_stylesheet'],
  26.             'javascript' => [$this'block_javascript'],
  27.             'body' => [$this'block_body'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base_baux_agent.html.twig"));
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base_baux_agent.html.twig"));
  37.         // line 1
  38.         yield "<!DOCTYPE html>
  39. <html lang=\"fr\">
  40. <head>
  41.     <meta charset=\"UTF-8\">
  42.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  43.     <title>Gestion des BAUX</title>
  44.     ";
  45.         // line 8
  46.         yield from $this->unwrap()->yieldBlock('stylesheet'$context$blocks);
  47.         // line 13
  48.         yield "    
  49.     <linkrel=\"shortcut icon\" href=\"";
  50.         // line 14
  51.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo-MUAT.png"), "html"nulltrue);
  52.         yield "\">
  53. \t<link rel=\"icon\" href=\"";
  54.         // line 15
  55.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo-MUAT-2.png"), "html"nulltrue);
  56.         yield "\" type=\"image/x-icon\">
  57.     <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css\" rel=\"stylesheet\">
  58.     <style>
  59.         body {
  60.             background-color: #f8f9fa; /* Background de l'écran global */
  61.         }
  62.         .form-container {
  63.             background-color: #ffffff; /* Background du formulaire */
  64.             padding: 20px;
  65.             border-radius: 10px;
  66.             box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  67.             width: 100%; /* Prend toute la largeur disponible */
  68.             max-width: 900px; /* Limite la largeur à 900px ou moins */
  69.             margin: 0 auto; /* Centre le conteneur horizontalement */
  70.             border: 1px solid #e0e0e0; /* Bordure légère pour délimiter le conteneur */
  71.         }
  72.         
  73.         .block-title {
  74.             color: #28a745; /* Couleur verte pour les titres des blocs */
  75.             font-weight: bold;
  76.             margin-bottom: 10px;
  77.         }
  78.         .header {
  79.             text-align: center;
  80.             margin-bottom: 30px;
  81.         }
  82.         .header img.logo {
  83.             margin-bottom: 10px;
  84.         }
  85.         h5{
  86.             color : green;
  87.         }
  88.         .footer {
  89.             background-color: green;
  90.             color: white;
  91.             text-align: center;
  92.             padding: 10px;
  93.             margin-top: 30px;
  94.             border-radius: 10px;
  95.         }
  96.         .footer .logout-btn {
  97.             margin-top: 10px;
  98.         }
  99.         /* Limiter la taille maximale du logo pour différentes tailles d'écran */
  100.         @media (max-width: 2576px) {
  101.             .header img.logo {
  102.                 max-width: 10%; /* 50% de la largeur de l'écran sur les petits écrans */
  103.             }
  104.         }
  105.         @media (min-width: 577px) and (max-width: 768px) {
  106.             .header img.logo {
  107.                 max-width: 10%; /* 30% de la largeur de l'écran sur les écrans moyens */
  108.             }
  109.         }
  110.         @media (min-width: 769px) {
  111.             .header img.logo {
  112.                 max-width: 1%; /* 20% de la largeur de l'écran sur les grands écrans */
  113.             }
  114.         }
  115.     </style>
  116.     <link href=\"https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.3/css/lightbox.min.css\" rel=\"stylesheet\">
  117.     ";
  118.         // line 85
  119.         yield from $this->unwrap()->yieldBlock('javascript'$context$blocks);
  120.         // line 91
  121.         yield "\t
  122. </head>
  123. <body>
  124. <div class=\"container mt-5\">
  125.     <!-- Header avec logo centré et email en dessous -->
  126.     <div class=\"header\">
  127.         <img class=\"navbar-brand-logo\" src=\"";
  128.         // line 98
  129.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo-MUAT-2.png"), "html"nulltrue);
  130.         yield "\" alt=\"Logo\" data-hs-theme-appearance=\"dark\" width=400>
  131.         <hr>
  132.         ";
  133.         // line 100
  134.         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.'100$this->source); })()), "user", [], "any"falsefalsefalse100)) {
  135.             // line 101
  136.             yield "        <div class=\"email\">
  137.             <p class=\"text-muted\"><strong>Utilisateur connecté :</strong> ";
  138.             // line 102
  139.             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.'102$this->source); })()), "user", [], "any"falsefalsefalse102), "email", [], "any"falsefalsefalse102), "html"nulltrue);
  140.             yield " </p>
  141.         </div>
  142.         ";
  143.         }
  144.         // line 105
  145.         yield "    </div>
  146.     <!-- Formulaire principal -->
  147.     <div class=\"form-container\">
  148.         ";
  149.         // line 109
  150.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  151.         // line 110
  152.         yield "    </div>
  153. </div>
  154. <!-- Footer avec bouton de déconnexion -->
  155. <div class=\"footer mt-5\">
  156.     <p>&copy; 2024 Votre Société. Tous droits réservés.</p>
  157.     <a href=\"";
  158.         // line 116
  159.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  160.         yield "\" class=\"btn btn-danger logout-btn\">Déconnexion</a>
  161. </div>
  162. </body>
  163.     <script src=\"https://cdn.jsdelivr.net/npm/signature_pad@2.3.2/dist/signature_pad.min.js\"></script>
  164.     <script src=\" ";
  165.         // line 122
  166.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/sign.js"), "html"nulltrue);
  167.         yield "\"></script>
  168.     
  169. </html>
  170. ";
  171.         
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  173.         
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  175.         return; yield '';
  176.     }
  177.     // line 8
  178.     public function block_stylesheet($context, array $blocks = [])
  179.     {
  180.         $macros $this->macros;
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  182.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  183.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  184.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  185.         // line 9
  186.         yield "\t\t";
  187.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('encore_entry_script_tags')->getCallable()("app"), "html"nulltrue);
  188.         yield "
  189. \t\t<link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.9.3/dist/leaflet.css\" crossorigin=\"\"/>
  190. \t";
  191.         
  192.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  193.         
  194.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  195.         return; yield '';
  196.     }
  197.     // line 85
  198.     public function block_javascript($context, array $blocks = [])
  199.     {
  200.         $macros $this->macros;
  201.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  202.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  203.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  204.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  205.         // line 86
  206.         yield "\t";
  207.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('encore_entry_script_tags')->getCallable()("app"), "html"nulltrue);
  208.         yield "
  209. \t\t<script src=\"https://cdn.jsdelivr.net/npm/sweetalert2@11\"></script>
  210. \t\t<script src=\"https://unpkg.com/leaflet@1.9.3/dist/leaflet.js\"  crossorigin=\"\"></script>
  211.         
  212. \t";
  213.         
  214.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  215.         
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  217.         return; yield '';
  218.     }
  219.     // line 109
  220.     public function block_body($context, array $blocks = [])
  221.     {
  222.         $macros $this->macros;
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  224.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  226.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  227.         yield " ";
  228.         
  229.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  230.         
  231.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  232.         return; yield '';
  233.     }
  234.     /**
  235.      * @codeCoverageIgnore
  236.      */
  237.     public function getTemplateName()
  238.     {
  239.         return "base_baux_agent.html.twig";
  240.     }
  241.     /**
  242.      * @codeCoverageIgnore
  243.      */
  244.     public function isTraitable()
  245.     {
  246.         return false;
  247.     }
  248.     /**
  249.      * @codeCoverageIgnore
  250.      */
  251.     public function getDebugInfo()
  252.     {
  253.         return array (  258 => 109,  241 => 86,  231 => 85,  215 => 9,  205 => 8,  190 => 122,  181 => 116,  173 => 110,  171 => 109,  165 => 105,  159 => 102,  156 => 101,  154 => 100,  149 => 98,  140 => 91,  138 => 85,  65 => 15,  61 => 14,  58 => 13,  56 => 8,  47 => 1,);
  254.     }
  255.     public function getSourceContext()
  256.     {
  257.         return new Source("<!DOCTYPE html>
  258. <html lang=\"fr\">
  259. <head>
  260.     <meta charset=\"UTF-8\">
  261.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  262.     <title>Gestion des BAUX</title>
  263.     {% block stylesheet %}
  264. \t\t{{ encore_entry_script_tags('app') }}
  265. \t\t<link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.9.3/dist/leaflet.css\" crossorigin=\"\"/>
  266. \t{% endblock %}
  267.     
  268.     <linkrel=\"shortcut icon\" href=\"{{ asset('assets/img/logo-MUAT.png') }}\">
  269. \t<link rel=\"icon\" href=\"{{ asset('assets/img/logo-MUAT-2.png') }}\" type=\"image/x-icon\">
  270.     <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css\" rel=\"stylesheet\">
  271.     <style>
  272.         body {
  273.             background-color: #f8f9fa; /* Background de l'écran global */
  274.         }
  275.         .form-container {
  276.             background-color: #ffffff; /* Background du formulaire */
  277.             padding: 20px;
  278.             border-radius: 10px;
  279.             box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  280.             width: 100%; /* Prend toute la largeur disponible */
  281.             max-width: 900px; /* Limite la largeur à 900px ou moins */
  282.             margin: 0 auto; /* Centre le conteneur horizontalement */
  283.             border: 1px solid #e0e0e0; /* Bordure légère pour délimiter le conteneur */
  284.         }
  285.         
  286.         .block-title {
  287.             color: #28a745; /* Couleur verte pour les titres des blocs */
  288.             font-weight: bold;
  289.             margin-bottom: 10px;
  290.         }
  291.         .header {
  292.             text-align: center;
  293.             margin-bottom: 30px;
  294.         }
  295.         .header img.logo {
  296.             margin-bottom: 10px;
  297.         }
  298.         h5{
  299.             color : green;
  300.         }
  301.         .footer {
  302.             background-color: green;
  303.             color: white;
  304.             text-align: center;
  305.             padding: 10px;
  306.             margin-top: 30px;
  307.             border-radius: 10px;
  308.         }
  309.         .footer .logout-btn {
  310.             margin-top: 10px;
  311.         }
  312.         /* Limiter la taille maximale du logo pour différentes tailles d'écran */
  313.         @media (max-width: 2576px) {
  314.             .header img.logo {
  315.                 max-width: 10%; /* 50% de la largeur de l'écran sur les petits écrans */
  316.             }
  317.         }
  318.         @media (min-width: 577px) and (max-width: 768px) {
  319.             .header img.logo {
  320.                 max-width: 10%; /* 30% de la largeur de l'écran sur les écrans moyens */
  321.             }
  322.         }
  323.         @media (min-width: 769px) {
  324.             .header img.logo {
  325.                 max-width: 1%; /* 20% de la largeur de l'écran sur les grands écrans */
  326.             }
  327.         }
  328.     </style>
  329.     <link href=\"https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.3/css/lightbox.min.css\" rel=\"stylesheet\">
  330.     {% block javascript %}
  331. \t{{ encore_entry_script_tags('app') }}
  332. \t\t<script src=\"https://cdn.jsdelivr.net/npm/sweetalert2@11\"></script>
  333. \t\t<script src=\"https://unpkg.com/leaflet@1.9.3/dist/leaflet.js\"  crossorigin=\"\"></script>
  334.         
  335. \t{% endblock %}
  336. \t
  337. </head>
  338. <body>
  339. <div class=\"container mt-5\">
  340.     <!-- Header avec logo centré et email en dessous -->
  341.     <div class=\"header\">
  342.         <img class=\"navbar-brand-logo\" src=\"{{ asset('assets/img/logo-MUAT-2.png') }}\" alt=\"Logo\" data-hs-theme-appearance=\"dark\" width=400>
  343.         <hr>
  344.         {% if app.user %}
  345.         <div class=\"email\">
  346.             <p class=\"text-muted\"><strong>Utilisateur connecté :</strong> {{ app.user.email }} </p>
  347.         </div>
  348.         {% endif %}
  349.     </div>
  350.     <!-- Formulaire principal -->
  351.     <div class=\"form-container\">
  352.         {% block body %} {% endblock %}
  353.     </div>
  354. </div>
  355. <!-- Footer avec bouton de déconnexion -->
  356. <div class=\"footer mt-5\">
  357.     <p>&copy; 2024 Votre Société. Tous droits réservés.</p>
  358.     <a href=\"{{path('app_logout')}}\" class=\"btn btn-danger logout-btn\">Déconnexion</a>
  359. </div>
  360. </body>
  361.     <script src=\"https://cdn.jsdelivr.net/npm/signature_pad@2.3.2/dist/signature_pad.min.js\"></script>
  362.     <script src=\" {{asset('assets/js/sign.js')}}\"></script>
  363.     
  364. </html>
  365. ""base_baux_agent.html.twig""/home/u131790682/domains/brainsensetech.com/public_html/baux/templates/base_baux_agent.html.twig");
  366.     }
  367. }