<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* general/loginpage.html.twig */
class __TwigTemplate_760146b7dda83d7cd0de5db66e96ef48 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
'footer' => [$this, 'block_footer'],
];
}
protected function doGetParent(array $context)
{
// line 10
return "basepm.html.twig";
}
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", "general/loginpage.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "general/loginpage.html.twig"));
$this->parent = $this->loadTemplate("basepm.html.twig", "general/loginpage.html.twig", 10);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 12
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"));
// line 13
echo "
<div class=\" bandeHaut jaune full\"></div>
";
// line 19
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 20
echo "
<div class=\"row\" style=\"margin-top: -100px;\">
<div class=\"col centrer\">
<a href=\"";
// line 24
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_redirect");
echo "\" class=\"boutonProf\">Mon espace personnel <i
class=\" fa fa-arrow-right\"></i></a>
</div>
</div>
<br>
<br>
<br>
";
} else {
// line 33
echo "
<div class=\"flex-container\" style=\"margin-top: -200px;\">
<div>
<a href=\"";
// line 36
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilEleve");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/ChoixEleve.png"), "html", null, true);
echo "\"
class=\"rond\" alt=\"Je suis eleve\"></a>
<a href=\"";
// line 38
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilEleve");
echo "\"><h5>Je suis un élève</h5></a>
</div>
<div>
<a href=\"";
// line 43
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "adulte"]);
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/JeunesAdultes.png"), "html", null, true);
echo "\"
class=\"rond\" alt=\"Je suis un jeune adulte\"></a>
<a href=\"";
// line 45
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "adulte"]);
echo "\"><h5 class=\"legend\">Je suis un jeune adulte</h5></a>
</div>
<div>
<a href=\"";
// line 48
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilParent");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/choixParent.png"), "html", null, true);
echo "\"
class=\"rond\" alt=\"Je suis parent\"></a>
<a href=\"";
// line 50
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilParent");
echo "\"><h5>Je suis un parent</h5></a>
</div>
</div>
<div class=\"flex-container\">
<div>
<a href=\"";
// line 58
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilProf");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/Proffesseur.png"), "html", null, true);
echo "\"
class=\"rond\" alt=\"Je suis professeur\"></a>
<a href=\"";
// line 60
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilProf");
echo "\"><h5 class=\"legend\"> Je suis professeur conseiller ou
accompagnateur</h5></a>
</div>
<div>
<a href=";
// line 64
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "mentor"]);
echo "><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/Mentor.png"), "html", null, true);
echo "\"
class=\"rond\" alt=\"Je suis un mentor\"></a>
<a href=\"";
// line 66
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "mentor"]);
echo "\"><h5>Je suis un mentor</h5></a>
</div>
</div>
<div class=\"flex-container\">
<div>
<a href=\"";
// line 72
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register_expert");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tmp/banner-2.jpg"), "html", null, true);
echo "\"
class=\"rond\" alt=\"Je suis expert métier\"></a>
<a href=\"";
// line 74
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register_expert");
echo "\"><h5 class=\"legend\"> Je suis expert métier</h5></a>
</div>
</div>
<br>
";
}
// line 85
echo "
<style>
.rond {
border-radius: 50%;
width:250px;
height :250px;
opacity: 92%;
}
.rond:hover{
box-shadow: 1px 1px 1px 1px #333333;
opacity: 100%;
}
.legend {
max-width: 400px
}
.blocFooterBas {
padding-top: 20px;
background-color: #e5c234;
color: #034055;
text-align: center;
}
.boutonPerso {
padding-left: 20px;
padding-right: 20px;
background-color: #034055;
color: #e5e9ec;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
border-radius: 12px;
border: 2px solid #034055;
font-family: 'OdibeeSansRegular', sans-serif;
font-size: 36px;
}
.boutonPerso:hover {
background-color: #e5c234;
color: #034055;
border: 2px solid #e5c234;
text-decoration: none;
}
.centrerButton {
width: 90%;
text-align: center;
margin-left: auto;
margin-right: auto;
max-width: 300px;
}
.flex-container {
display: flex;
justify-content: center;
}
.flex-container > div {
width: 20%;
margin: 10px;
text-align: center;
line-height: 75px;
font-size: 30px;
}
.centrer {
text-align: center;}
</style>
</div>
<div class=\" bandeBas jaune full\">
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 167
public function block_footer($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", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 168
echo "
<div class=\"full lightGrey\">
<div class=\"blocFooter\">
<div class=\" bandeBas jaune full\">
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "general/loginpage.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 296 => 168, 286 => 167, 199 => 85, 185 => 74, 178 => 72, 169 => 66, 162 => 64, 155 => 60, 148 => 58, 137 => 50, 130 => 48, 124 => 45, 117 => 43, 109 => 38, 102 => 36, 97 => 33, 85 => 24, 79 => 20, 77 => 19, 69 => 13, 59 => 12, 36 => 10,);
}
public function getSourceContext()
{
return new Source("{#
/*
* Ce fichier est la propriété de l'association (c) Projets Métiers
*
* (c) crée par Jean-Marc CATALA <jeanmmarccatala@gmail.com>
*
*/
#}
{% extends 'basepm.html.twig' %}
{% block body %}
<div class=\" bandeHaut jaune full\"></div>
{% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
<div class=\"row\" style=\"margin-top: -100px;\">
<div class=\"col centrer\">
<a href=\"{{ path('app_redirect') }}\" class=\"boutonProf\">Mon espace personnel <i
class=\" fa fa-arrow-right\"></i></a>
</div>
</div>
<br>
<br>
<br>
{% else %}
<div class=\"flex-container\" style=\"margin-top: -200px;\">
<div>
<a href=\"{{ path('accueilEleve') }}\"><img src=\"{{ asset('images/accueil/ChoixEleve.png') }}\"
class=\"rond\" alt=\"Je suis eleve\"></a>
<a href=\"{{ path('accueilEleve') }}\"><h5>Je suis un élève</h5></a>
</div>
<div>
<a href=\"{{ path('app_register',{type:'adulte'}) }}\"><img src=\"{{ asset('images/accueil/JeunesAdultes.png') }}\"
class=\"rond\" alt=\"Je suis un jeune adulte\"></a>
<a href=\"{{ path('app_register',{type:'adulte'}) }}\"><h5 class=\"legend\">Je suis un jeune adulte</h5></a>
</div>
<div>
<a href=\"{{ path('accueilParent') }}\"><img src=\"{{ asset('images/accueil/choixParent.png') }}\"
class=\"rond\" alt=\"Je suis parent\"></a>
<a href=\"{{ path('accueilParent') }}\"><h5>Je suis un parent</h5></a>
</div>
</div>
<div class=\"flex-container\">
<div>
<a href=\"{{ path('accueilProf') }}\"><img src=\"{{ asset('images/accueil/Proffesseur.png') }}\"
class=\"rond\" alt=\"Je suis professeur\"></a>
<a href=\"{{ path('accueilProf') }}\"><h5 class=\"legend\"> Je suis professeur conseiller ou
accompagnateur</h5></a>
</div>
<div>
<a href={{ path('app_register',{type:'mentor'}) }}><img src=\"{{ asset('images/accueil/Mentor.png') }}\"
class=\"rond\" alt=\"Je suis un mentor\"></a>
<a href=\"{{ path('app_register',{type:'mentor'}) }}\"><h5>Je suis un mentor</h5></a>
</div>
</div>
<div class=\"flex-container\">
<div>
<a href=\"{{ path('app_register_expert') }}\"><img src=\"{{ asset('images/tmp/banner-2.jpg') }}\"
class=\"rond\" alt=\"Je suis expert métier\"></a>
<a href=\"{{ path('app_register_expert') }}\"><h5 class=\"legend\"> Je suis expert métier</h5></a>
</div>
</div>
<br>
{% endif %}
<style>
.rond {
border-radius: 50%;
width:250px;
height :250px;
opacity: 92%;
}
.rond:hover{
box-shadow: 1px 1px 1px 1px #333333;
opacity: 100%;
}
.legend {
max-width: 400px
}
.blocFooterBas {
padding-top: 20px;
background-color: #e5c234;
color: #034055;
text-align: center;
}
.boutonPerso {
padding-left: 20px;
padding-right: 20px;
background-color: #034055;
color: #e5e9ec;
text-align: center;
text-decoration: none;
display: inline-block;
cursor: pointer;
border-radius: 12px;
border: 2px solid #034055;
font-family: 'OdibeeSansRegular', sans-serif;
font-size: 36px;
}
.boutonPerso:hover {
background-color: #e5c234;
color: #034055;
border: 2px solid #e5c234;
text-decoration: none;
}
.centrerButton {
width: 90%;
text-align: center;
margin-left: auto;
margin-right: auto;
max-width: 300px;
}
.flex-container {
display: flex;
justify-content: center;
}
.flex-container > div {
width: 20%;
margin: 10px;
text-align: center;
line-height: 75px;
font-size: 30px;
}
.centrer {
text-align: center;}
</style>
</div>
<div class=\" bandeBas jaune full\">
</div>
{% endblock %}
{% block footer %}
<div class=\"full lightGrey\">
<div class=\"blocFooter\">
<div class=\" bandeBas jaune full\">
</div>
</div>
</div>
{% endblock %}
", "general/loginpage.html.twig", "/srv/data/web/vhosts/projetsmetiers.org/htdocs/templates/general/loginpage.html.twig");
}
}