var/cache/dev/twig/d1/d12051ea3e6174d924f050a8c9cda8df.php line 49

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* general/loginpage.html.twig */
  14. class __TwigTemplate_760146b7dda83d7cd0de5db66e96ef48 extends Template
  15. {
  16. private $source;
  17. private $macros = [];
  18. public function __construct(Environment $env)
  19. {
  20. parent::__construct($env);
  21. $this->source = $this->getSourceContext();
  22. $this->blocks = [
  23. 'body' => [$this, 'block_body'],
  24. 'footer' => [$this, 'block_footer'],
  25. ];
  26. }
  27. protected function doGetParent(array $context)
  28. {
  29. // line 10
  30. return "basepm.html.twig";
  31. }
  32. protected function doDisplay(array $context, array $blocks = [])
  33. {
  34. $macros = $this->macros;
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "general/loginpage.html.twig"));
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "general/loginpage.html.twig"));
  39. $this->parent = $this->loadTemplate("basepm.html.twig", "general/loginpage.html.twig", 10);
  40. $this->parent->display($context, array_merge($this->blocks, $blocks));
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  43. }
  44. // line 12
  45. public function block_body($context, array $blocks = [])
  46. {
  47. $macros = $this->macros;
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  52. // line 13
  53. echo "
  54. <div class=\" bandeHaut jaune full\"></div>
  55. ";
  56. // line 19
  57. if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  58. // line 20
  59. echo "
  60. <div class=\"row\" style=\"margin-top: -100px;\">
  61. <div class=\"col centrer\">
  62. <a href=\"";
  63. // line 24
  64. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_redirect");
  65. echo "\" class=\"boutonProf\">Mon espace personnel <i
  66. class=\" fa fa-arrow-right\"></i></a>
  67. </div>
  68. </div>
  69. <br>
  70. <br>
  71. <br>
  72. ";
  73. } else {
  74. // line 33
  75. echo "
  76. <div class=\"flex-container\" style=\"margin-top: -200px;\">
  77. <div>
  78. <a href=\"";
  79. // line 36
  80. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilEleve");
  81. echo "\"><img src=\"";
  82. echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/ChoixEleve.png"), "html", null, true);
  83. echo "\"
  84. class=\"rond\" alt=\"Je suis eleve\"></a>
  85. <a href=\"";
  86. // line 38
  87. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilEleve");
  88. echo "\"><h5>Je suis un élève</h5></a>
  89. </div>
  90. <div>
  91. <a href=\"";
  92. // line 43
  93. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "adulte"]);
  94. echo "\"><img src=\"";
  95. echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/JeunesAdultes.png"), "html", null, true);
  96. echo "\"
  97. class=\"rond\" alt=\"Je suis un jeune adulte\"></a>
  98. <a href=\"";
  99. // line 45
  100. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "adulte"]);
  101. echo "\"><h5 class=\"legend\">Je suis un jeune adulte</h5></a>
  102. </div>
  103. <div>
  104. <a href=\"";
  105. // line 48
  106. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilParent");
  107. echo "\"><img src=\"";
  108. echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/choixParent.png"), "html", null, true);
  109. echo "\"
  110. class=\"rond\" alt=\"Je suis parent\"></a>
  111. <a href=\"";
  112. // line 50
  113. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilParent");
  114. echo "\"><h5>Je suis un parent</h5></a>
  115. </div>
  116. </div>
  117. <div class=\"flex-container\">
  118. <div>
  119. <a href=\"";
  120. // line 58
  121. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilProf");
  122. echo "\"><img src=\"";
  123. echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/Proffesseur.png"), "html", null, true);
  124. echo "\"
  125. class=\"rond\" alt=\"Je suis professeur\"></a>
  126. <a href=\"";
  127. // line 60
  128. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueilProf");
  129. echo "\"><h5 class=\"legend\"> Je suis professeur conseiller ou
  130. accompagnateur</h5></a>
  131. </div>
  132. <div>
  133. <a href=";
  134. // line 64
  135. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "mentor"]);
  136. echo "><img src=\"";
  137. echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/accueil/Mentor.png"), "html", null, true);
  138. echo "\"
  139. class=\"rond\" alt=\"Je suis un mentor\"></a>
  140. <a href=\"";
  141. // line 66
  142. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register", ["type" => "mentor"]);
  143. echo "\"><h5>Je suis un mentor</h5></a>
  144. </div>
  145. </div>
  146. <div class=\"flex-container\">
  147. <div>
  148. <a href=\"";
  149. // line 72
  150. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register_expert");
  151. echo "\"><img src=\"";
  152. echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/tmp/banner-2.jpg"), "html", null, true);
  153. echo "\"
  154. class=\"rond\" alt=\"Je suis expert métier\"></a>
  155. <a href=\"";
  156. // line 74
  157. echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_register_expert");
  158. echo "\"><h5 class=\"legend\"> Je suis expert métier</h5></a>
  159. </div>
  160. </div>
  161. <br>
  162. ";
  163. }
  164. // line 85
  165. echo "
  166. <style>
  167. .rond {
  168. border-radius: 50%;
  169. width:250px;
  170. height :250px;
  171. opacity: 92%;
  172. }
  173. .rond:hover{
  174. box-shadow: 1px 1px 1px 1px #333333;
  175. opacity: 100%;
  176. }
  177. .legend {
  178. max-width: 400px
  179. }
  180. .blocFooterBas {
  181. padding-top: 20px;
  182. background-color: #e5c234;
  183. color: #034055;
  184. text-align: center;
  185. }
  186. .boutonPerso {
  187. padding-left: 20px;
  188. padding-right: 20px;
  189. background-color: #034055;
  190. color: #e5e9ec;
  191. text-align: center;
  192. text-decoration: none;
  193. display: inline-block;
  194. cursor: pointer;
  195. border-radius: 12px;
  196. border: 2px solid #034055;
  197. font-family: 'OdibeeSansRegular', sans-serif;
  198. font-size: 36px;
  199. }
  200. .boutonPerso:hover {
  201. background-color: #e5c234;
  202. color: #034055;
  203. border: 2px solid #e5c234;
  204. text-decoration: none;
  205. }
  206. .centrerButton {
  207. width: 90%;
  208. text-align: center;
  209. margin-left: auto;
  210. margin-right: auto;
  211. max-width: 300px;
  212. }
  213. .flex-container {
  214. display: flex;
  215. justify-content: center;
  216. }
  217. .flex-container > div {
  218. width: 20%;
  219. margin: 10px;
  220. text-align: center;
  221. line-height: 75px;
  222. font-size: 30px;
  223. }
  224. .centrer {
  225. text-align: center;}
  226. </style>
  227. </div>
  228. <div class=\" bandeBas jaune full\">
  229. </div>
  230. ";
  231. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  232. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  233. }
  234. // line 167
  235. public function block_footer($context, array $blocks = [])
  236. {
  237. $macros = $this->macros;
  238. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  239. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  240. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  241. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  242. // line 168
  243. echo "
  244. <div class=\"full lightGrey\">
  245. <div class=\"blocFooter\">
  246. <div class=\" bandeBas jaune full\">
  247. </div>
  248. </div>
  249. </div>
  250. ";
  251. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  252. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  253. }
  254. /**
  255. * @codeCoverageIgnore
  256. */
  257. public function getTemplateName()
  258. {
  259. return "general/loginpage.html.twig";
  260. }
  261. /**
  262. * @codeCoverageIgnore
  263. */
  264. public function isTraitable()
  265. {
  266. return false;
  267. }
  268. /**
  269. * @codeCoverageIgnore
  270. */
  271. public function getDebugInfo()
  272. {
  273. 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,);
  274. }
  275. public function getSourceContext()
  276. {
  277. return new Source("{#
  278. /*
  279. * Ce fichier est la propriété de l'association (c) Projets Métiers
  280. *
  281. * (c) crée par Jean-Marc CATALA <jeanmmarccatala@gmail.com>
  282. *
  283. */
  284. #}
  285. {% extends 'basepm.html.twig' %}
  286. {% block body %}
  287. <div class=\" bandeHaut jaune full\"></div>
  288. {% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
  289. <div class=\"row\" style=\"margin-top: -100px;\">
  290. <div class=\"col centrer\">
  291. <a href=\"{{ path('app_redirect') }}\" class=\"boutonProf\">Mon espace personnel <i
  292. class=\" fa fa-arrow-right\"></i></a>
  293. </div>
  294. </div>
  295. <br>
  296. <br>
  297. <br>
  298. {% else %}
  299. <div class=\"flex-container\" style=\"margin-top: -200px;\">
  300. <div>
  301. <a href=\"{{ path('accueilEleve') }}\"><img src=\"{{ asset('images/accueil/ChoixEleve.png') }}\"
  302. class=\"rond\" alt=\"Je suis eleve\"></a>
  303. <a href=\"{{ path('accueilEleve') }}\"><h5>Je suis un élève</h5></a>
  304. </div>
  305. <div>
  306. <a href=\"{{ path('app_register',{type:'adulte'}) }}\"><img src=\"{{ asset('images/accueil/JeunesAdultes.png') }}\"
  307. class=\"rond\" alt=\"Je suis un jeune adulte\"></a>
  308. <a href=\"{{ path('app_register',{type:'adulte'}) }}\"><h5 class=\"legend\">Je suis un jeune adulte</h5></a>
  309. </div>
  310. <div>
  311. <a href=\"{{ path('accueilParent') }}\"><img src=\"{{ asset('images/accueil/choixParent.png') }}\"
  312. class=\"rond\" alt=\"Je suis parent\"></a>
  313. <a href=\"{{ path('accueilParent') }}\"><h5>Je suis un parent</h5></a>
  314. </div>
  315. </div>
  316. <div class=\"flex-container\">
  317. <div>
  318. <a href=\"{{ path('accueilProf') }}\"><img src=\"{{ asset('images/accueil/Proffesseur.png') }}\"
  319. class=\"rond\" alt=\"Je suis professeur\"></a>
  320. <a href=\"{{ path('accueilProf') }}\"><h5 class=\"legend\"> Je suis professeur conseiller ou
  321. accompagnateur</h5></a>
  322. </div>
  323. <div>
  324. <a href={{ path('app_register',{type:'mentor'}) }}><img src=\"{{ asset('images/accueil/Mentor.png') }}\"
  325. class=\"rond\" alt=\"Je suis un mentor\"></a>
  326. <a href=\"{{ path('app_register',{type:'mentor'}) }}\"><h5>Je suis un mentor</h5></a>
  327. </div>
  328. </div>
  329. <div class=\"flex-container\">
  330. <div>
  331. <a href=\"{{ path('app_register_expert') }}\"><img src=\"{{ asset('images/tmp/banner-2.jpg') }}\"
  332. class=\"rond\" alt=\"Je suis expert métier\"></a>
  333. <a href=\"{{ path('app_register_expert') }}\"><h5 class=\"legend\"> Je suis expert métier</h5></a>
  334. </div>
  335. </div>
  336. <br>
  337. {% endif %}
  338. <style>
  339. .rond {
  340. border-radius: 50%;
  341. width:250px;
  342. height :250px;
  343. opacity: 92%;
  344. }
  345. .rond:hover{
  346. box-shadow: 1px 1px 1px 1px #333333;
  347. opacity: 100%;
  348. }
  349. .legend {
  350. max-width: 400px
  351. }
  352. .blocFooterBas {
  353. padding-top: 20px;
  354. background-color: #e5c234;
  355. color: #034055;
  356. text-align: center;
  357. }
  358. .boutonPerso {
  359. padding-left: 20px;
  360. padding-right: 20px;
  361. background-color: #034055;
  362. color: #e5e9ec;
  363. text-align: center;
  364. text-decoration: none;
  365. display: inline-block;
  366. cursor: pointer;
  367. border-radius: 12px;
  368. border: 2px solid #034055;
  369. font-family: 'OdibeeSansRegular', sans-serif;
  370. font-size: 36px;
  371. }
  372. .boutonPerso:hover {
  373. background-color: #e5c234;
  374. color: #034055;
  375. border: 2px solid #e5c234;
  376. text-decoration: none;
  377. }
  378. .centrerButton {
  379. width: 90%;
  380. text-align: center;
  381. margin-left: auto;
  382. margin-right: auto;
  383. max-width: 300px;
  384. }
  385. .flex-container {
  386. display: flex;
  387. justify-content: center;
  388. }
  389. .flex-container > div {
  390. width: 20%;
  391. margin: 10px;
  392. text-align: center;
  393. line-height: 75px;
  394. font-size: 30px;
  395. }
  396. .centrer {
  397. text-align: center;}
  398. </style>
  399. </div>
  400. <div class=\" bandeBas jaune full\">
  401. </div>
  402. {% endblock %}
  403. {% block footer %}
  404. <div class=\"full lightGrey\">
  405. <div class=\"blocFooter\">
  406. <div class=\" bandeBas jaune full\">
  407. </div>
  408. </div>
  409. </div>
  410. {% endblock %}
  411. ", "general/loginpage.html.twig", "/srv/data/web/vhosts/projetsmetiers.org/htdocs/templates/general/loginpage.html.twig");
  412. }
  413. }