<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* base_baux_agent.html.twig */
class __TwigTemplate_601f1358483f4ac860b2db88e05a366b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
'body' => [$this, 'block_body'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base_baux_agent.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base_baux_agent.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<title>Gestion des BAUX</title>
";
// line 8
yield from $this->unwrap()->yieldBlock('stylesheet', $context, $blocks);
// line 13
yield "
<linkrel=\"shortcut icon\" href=\"";
// line 14
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo-MUAT.png"), "html", null, true);
yield "\">
\t<link rel=\"icon\" href=\"";
// line 15
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo-MUAT-2.png"), "html", null, true);
yield "\" type=\"image/x-icon\">
<link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css\" rel=\"stylesheet\">
<style>
body {
background-color: #f8f9fa; /* Background de l'écran global */
}
.form-container {
background-color: #ffffff; /* Background du formulaire */
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
width: 100%; /* Prend toute la largeur disponible */
max-width: 900px; /* Limite la largeur à 900px ou moins */
margin: 0 auto; /* Centre le conteneur horizontalement */
border: 1px solid #e0e0e0; /* Bordure légère pour délimiter le conteneur */
}
.block-title {
color: #28a745; /* Couleur verte pour les titres des blocs */
font-weight: bold;
margin-bottom: 10px;
}
.header {
text-align: center;
margin-bottom: 30px;
}
.header img.logo {
margin-bottom: 10px;
}
h5{
color : green;
}
.footer {
background-color: green;
color: white;
text-align: center;
padding: 10px;
margin-top: 30px;
border-radius: 10px;
}
.footer .logout-btn {
margin-top: 10px;
}
/* Limiter la taille maximale du logo pour différentes tailles d'écran */
@media (max-width: 2576px) {
.header img.logo {
max-width: 10%; /* 50% de la largeur de l'écran sur les petits écrans */
}
}
@media (min-width: 577px) and (max-width: 768px) {
.header img.logo {
max-width: 10%; /* 30% de la largeur de l'écran sur les écrans moyens */
}
}
@media (min-width: 769px) {
.header img.logo {
max-width: 1%; /* 20% de la largeur de l'écran sur les grands écrans */
}
}
</style>
<link href=\"https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.3/css/lightbox.min.css\" rel=\"stylesheet\">
";
// line 85
yield from $this->unwrap()->yieldBlock('javascript', $context, $blocks);
// line 91
yield "\t
</head>
<body>
<div class=\"container mt-5\">
<!-- Header avec logo centré et email en dessous -->
<div class=\"header\">
<img class=\"navbar-brand-logo\" src=\"";
// line 98
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo-MUAT-2.png"), "html", null, true);
yield "\" alt=\"Logo\" data-hs-theme-appearance=\"dark\" width=400>
<hr>
";
// line 100
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", false, false, false, 100)) {
// line 101
yield " <div class=\"email\">
<p class=\"text-muted\"><strong>Utilisateur connecté :</strong> ";
// line 102
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, 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.', 102, $this->source); })()), "user", [], "any", false, false, false, 102), "email", [], "any", false, false, false, 102), "html", null, true);
yield " </p>
</div>
";
}
// line 105
yield " </div>
<!-- Formulaire principal -->
<div class=\"form-container\">
";
// line 109
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
// line 110
yield " </div>
</div>
<!-- Footer avec bouton de déconnexion -->
<div class=\"footer mt-5\">
<p>© 2024 Votre Société. Tous droits réservés.</p>
<a href=\"";
// line 116
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
yield "\" class=\"btn btn-danger logout-btn\">Déconnexion</a>
</div>
</body>
<script src=\"https://cdn.jsdelivr.net/npm/signature_pad@2.3.2/dist/signature_pad.min.js\"></script>
<script src=\" ";
// line 122
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/sign.js"), "html", null, true);
yield "\"></script>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
// line 8
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 9
yield "\t\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('encore_entry_script_tags')->getCallable()("app"), "html", null, true);
yield "
\t\t<link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.9.3/dist/leaflet.css\" crossorigin=\"\"/>
\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 85
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 86
yield "\t";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('encore_entry_script_tags')->getCallable()("app"), "html", null, true);
yield "
\t\t<script src=\"https://cdn.jsdelivr.net/npm/sweetalert2@11\"></script>
\t\t<script src=\"https://unpkg.com/leaflet@1.9.3/dist/leaflet.js\" crossorigin=\"\"></script>
\t";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 109
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "base_baux_agent.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<title>Gestion des BAUX</title>
{% block stylesheet %}
\t\t{{ encore_entry_script_tags('app') }}
\t\t<link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.9.3/dist/leaflet.css\" crossorigin=\"\"/>
\t{% endblock %}
<linkrel=\"shortcut icon\" href=\"{{ asset('assets/img/logo-MUAT.png') }}\">
\t<link rel=\"icon\" href=\"{{ asset('assets/img/logo-MUAT-2.png') }}\" type=\"image/x-icon\">
<link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css\" rel=\"stylesheet\">
<style>
body {
background-color: #f8f9fa; /* Background de l'écran global */
}
.form-container {
background-color: #ffffff; /* Background du formulaire */
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
width: 100%; /* Prend toute la largeur disponible */
max-width: 900px; /* Limite la largeur à 900px ou moins */
margin: 0 auto; /* Centre le conteneur horizontalement */
border: 1px solid #e0e0e0; /* Bordure légère pour délimiter le conteneur */
}
.block-title {
color: #28a745; /* Couleur verte pour les titres des blocs */
font-weight: bold;
margin-bottom: 10px;
}
.header {
text-align: center;
margin-bottom: 30px;
}
.header img.logo {
margin-bottom: 10px;
}
h5{
color : green;
}
.footer {
background-color: green;
color: white;
text-align: center;
padding: 10px;
margin-top: 30px;
border-radius: 10px;
}
.footer .logout-btn {
margin-top: 10px;
}
/* Limiter la taille maximale du logo pour différentes tailles d'écran */
@media (max-width: 2576px) {
.header img.logo {
max-width: 10%; /* 50% de la largeur de l'écran sur les petits écrans */
}
}
@media (min-width: 577px) and (max-width: 768px) {
.header img.logo {
max-width: 10%; /* 30% de la largeur de l'écran sur les écrans moyens */
}
}
@media (min-width: 769px) {
.header img.logo {
max-width: 1%; /* 20% de la largeur de l'écran sur les grands écrans */
}
}
</style>
<link href=\"https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.3/css/lightbox.min.css\" rel=\"stylesheet\">
{% block javascript %}
\t{{ encore_entry_script_tags('app') }}
\t\t<script src=\"https://cdn.jsdelivr.net/npm/sweetalert2@11\"></script>
\t\t<script src=\"https://unpkg.com/leaflet@1.9.3/dist/leaflet.js\" crossorigin=\"\"></script>
\t{% endblock %}
\t
</head>
<body>
<div class=\"container mt-5\">
<!-- Header avec logo centré et email en dessous -->
<div class=\"header\">
<img class=\"navbar-brand-logo\" src=\"{{ asset('assets/img/logo-MUAT-2.png') }}\" alt=\"Logo\" data-hs-theme-appearance=\"dark\" width=400>
<hr>
{% if app.user %}
<div class=\"email\">
<p class=\"text-muted\"><strong>Utilisateur connecté :</strong> {{ app.user.email }} </p>
</div>
{% endif %}
</div>
<!-- Formulaire principal -->
<div class=\"form-container\">
{% block body %} {% endblock %}
</div>
</div>
<!-- Footer avec bouton de déconnexion -->
<div class=\"footer mt-5\">
<p>© 2024 Votre Société. Tous droits réservés.</p>
<a href=\"{{path('app_logout')}}\" class=\"btn btn-danger logout-btn\">Déconnexion</a>
</div>
</body>
<script src=\"https://cdn.jsdelivr.net/npm/signature_pad@2.3.2/dist/signature_pad.min.js\"></script>
<script src=\" {{asset('assets/js/sign.js')}}\"></script>
</html>
", "base_baux_agent.html.twig", "/home/u131790682/domains/brainsensetech.com/public_html/baux/templates/base_baux_agent.html.twig");
}
}