var/cache/dev/twig/55/551156c948c4418b0c2bfe0b1633ad7f.php line 61

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. use Twig\TemplateWrapper;
  15. /* layout/login.html.twig */
  16. class __TwigTemplate_198229cea3696bacd8f612f76066e77d extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'body_class' => [$this, 'block_body_class'],
  29. 'page_title' => [$this, 'block_page_title'],
  30. 'head_favicon' => [$this, 'block_head_favicon'],
  31. 'wrapper_wrapper' => [$this, 'block_wrapper_wrapper'],
  32. 'main_header' => [$this, 'block_main_header'],
  33. 'login_main_container' => [$this, 'block_login_main_container'],
  34. 'login_main' => [$this, 'block_login_main'],
  35. 'login_form' => [$this, 'block_login_form'],
  36. 'login_box' => [$this, 'block_login_box'],
  37. 'login_footer' => [$this, 'block_login_footer'],
  38. ];
  39. }
  40. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  41. {
  42. // line 1
  43. return "@EasyAdmin/layout_simple.html.twig";
  44. }
  45. protected function doDisplay(array $context, array $blocks = []): iterable
  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(), "template", "layout/login.html.twig"));
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/login.html.twig"));
  52. $this->parent = $this->load("@EasyAdmin/layout_simple.html.twig", 1);
  53. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  54. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  55. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56. }
  57. // line 2
  58. /**
  59. * @return iterable<null|scalar|\Stringable>
  60. */
  61. public function block_body_class(array $context, array $blocks = []): iterable
  62. {
  63. $macros = $this->macros;
  64. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));
  66. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));
  68. yield "page-login";
  69. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71. yield from [];
  72. }
  73. // line 3
  74. /**
  75. * @return iterable<null|scalar|\Stringable>
  76. */
  77. public function block_page_title(array $context, array $blocks = []): iterable
  78. {
  79. $macros = $this->macros;
  80. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
  82. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
  84. // line 4
  85. yield " ";
  86. yield $this->env->getRuntime('Roothirsch\CoreBundle\Translation\Twig\TranslatorRuntime')->translate("login.pageTitle", "Anmeldebereich von: {title}", ["title" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 4, $this->source); })()), "title", [], "any", false, false, false, 4)]);
  87. yield "
  88. ";
  89. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  91. yield from [];
  92. }
  93. // line 6
  94. /**
  95. * @return iterable<null|scalar|\Stringable>
  96. */
  97. public function block_head_favicon(array $context, array $blocks = []): iterable
  98. {
  99. $macros = $this->macros;
  100. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  101. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_favicon"));
  102. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  103. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_favicon"));
  104. // line 7
  105. yield " ";
  106. yield Twig\Extension\CoreExtension::include($this->env, $context, "favicon.html.twig");
  107. yield "
  108. ";
  109. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  110. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111. yield from [];
  112. }
  113. // line 9
  114. /**
  115. * @return iterable<null|scalar|\Stringable>
  116. */
  117. public function block_wrapper_wrapper(array $context, array $blocks = []): iterable
  118. {
  119. $macros = $this->macros;
  120. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  121. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper_wrapper"));
  122. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  123. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper_wrapper"));
  124. // line 10
  125. yield " ";
  126. yield from $this->load("layout/maintenance_banner.html.twig", 10)->unwrap()->yield($context);
  127. // line 11
  128. yield " <div class=\"login-wrapper\">
  129. <header class=\"main-header\">
  130. ";
  131. // line 13
  132. yield from $this->unwrap()->yieldBlock('main_header', $context, $blocks);
  133. // line 24
  134. yield " </header>
  135. ";
  136. // line 25
  137. yield from $this->unwrap()->yieldBlock('login_main_container', $context, $blocks);
  138. // line 41
  139. yield " <section class=\"login-meta mt-2\">
  140. ";
  141. // line 42
  142. yield from $this->unwrap()->yieldBlock('login_footer', $context, $blocks);
  143. // line 59
  144. yield " </section>
  145. </div>
  146. ";
  147. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  148. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  149. yield from [];
  150. }
  151. // line 13
  152. /**
  153. * @return iterable<null|scalar|\Stringable>
  154. */
  155. public function block_main_header(array $context, array $blocks = []): iterable
  156. {
  157. $macros = $this->macros;
  158. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  159. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_header"));
  160. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  161. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_header"));
  162. // line 14
  163. yield " ";
  164. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 14, $this->source); })()), "logo", [], "any", false, false, false, 14)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  165. // line 15
  166. yield " <div id=\"header-logo\">
  167. <img src=\"/uploads/site/logos/";
  168. // line 16
  169. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 16, $this->source); })()), "logo", [], "any", false, false, false, 16), "html", null, true);
  170. yield "\" alt=\"";
  171. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["site"]) || array_key_exists("site", $context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.', 16, $this->source); })()), "title", [], "any", false, false, false, 16), "html", null, true);
  172. yield "\">
  173. </div>
  174. ";
  175. } else {
  176. // line 19
  177. yield " <div id=\"header-logo\" class=\"fallback logo\">
  178. ";
  179. // line 20
  180. yield from $this->load("layout/logo.html.twig", 20)->unwrap()->yield($context);
  181. // line 21
  182. yield " </div>
  183. ";
  184. }
  185. // line 23
  186. yield " ";
  187. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  188. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  189. yield from [];
  190. }
  191. // line 25
  192. /**
  193. * @return iterable<null|scalar|\Stringable>
  194. */
  195. public function block_login_main_container(array $context, array $blocks = []): iterable
  196. {
  197. $macros = $this->macros;
  198. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  199. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_main_container"));
  200. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  201. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_main_container"));
  202. // line 26
  203. yield " <section class=\"login-main\">
  204. ";
  205. // line 27
  206. yield from $this->unwrap()->yieldBlock('login_main', $context, $blocks);
  207. // line 39
  208. yield " </section>
  209. ";
  210. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  211. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  212. yield from [];
  213. }
  214. // line 27
  215. /**
  216. * @return iterable<null|scalar|\Stringable>
  217. */
  218. public function block_login_main(array $context, array $blocks = []): iterable
  219. {
  220. $macros = $this->macros;
  221. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  222. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_main"));
  223. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  224. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_main"));
  225. // line 28
  226. yield " <div class=\"content\">
  227. ";
  228. // line 29
  229. yield from $this->unwrap()->yieldBlock('login_form', $context, $blocks);
  230. // line 32
  231. yield " </div>
  232. <div class=\"content bg-white font-montserrat-light\">
  233. ";
  234. // line 34
  235. yield from $this->unwrap()->yieldBlock('login_box', $context, $blocks);
  236. // line 37
  237. yield " </div>
  238. ";
  239. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  240. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  241. yield from [];
  242. }
  243. // line 29
  244. /**
  245. * @return iterable<null|scalar|\Stringable>
  246. */
  247. public function block_login_form(array $context, array $blocks = []): iterable
  248. {
  249. $macros = $this->macros;
  250. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  251. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form"));
  252. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  253. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form"));
  254. // line 30
  255. yield "
  256. ";
  257. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  258. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  259. yield from [];
  260. }
  261. // line 34
  262. /**
  263. * @return iterable<null|scalar|\Stringable>
  264. */
  265. public function block_login_box(array $context, array $blocks = []): iterable
  266. {
  267. $macros = $this->macros;
  268. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  269. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_box"));
  270. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  271. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_box"));
  272. // line 35
  273. yield "
  274. ";
  275. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  276. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  277. yield from [];
  278. }
  279. // line 42
  280. /**
  281. * @return iterable<null|scalar|\Stringable>
  282. */
  283. public function block_login_footer(array $context, array $blocks = []): iterable
  284. {
  285. $macros = $this->macros;
  286. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  287. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_footer"));
  288. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  289. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_footer"));
  290. // line 43
  291. yield " ";
  292. if ((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.', 43, $this->source); })()), "request", [], "any", false, false, false, 43), "get", ["_route"], "method", false, false, false, 43) != "app_login")) {
  293. // line 44
  294. yield " <div class=\"mb-1\">
  295. <a href=\"";
  296. // line 45
  297. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  298. yield "\">";
  299. yield $this->env->getRuntime('Roothirsch\CoreBundle\Translation\Twig\TranslatorRuntime')->translate("login.link.backToLogin", "Zurück zum Login");
  300. yield "</a>
  301. </div>
  302. ";
  303. }
  304. // line 48
  305. yield " ";
  306. if ((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.', 48, $this->source); })()), "request", [], "any", false, false, false, 48), "get", ["_route"], "method", false, false, false, 48) != "app_forgot_password_request")) {
  307. // line 49
  308. yield " <div class=\"mb-1\">
  309. <a href=\"";
  310. // line 50
  311. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_forgot_password_request");
  312. yield "\">";
  313. yield $this->env->getRuntime('Roothirsch\CoreBundle\Translation\Twig\TranslatorRuntime')->translate("login.link.forgotPassword", "Passwort vergessen?");
  314. yield "</a>
  315. </div>
  316. ";
  317. }
  318. // line 53
  319. yield " ";
  320. if ((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.', 53, $this->source); })()), "request", [], "any", false, false, false, 53), "get", ["_route"], "method", false, false, false, 53) != "app_registration_request")) {
  321. // line 54
  322. yield " <div>
  323. <a href=\"";
  324. // line 55
  325. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_registration_request");
  326. yield "\">";
  327. yield $this->env->getRuntime('Roothirsch\CoreBundle\Translation\Twig\TranslatorRuntime')->translate("login.link.register", "Registrieren");
  328. yield "</a>
  329. </div>
  330. ";
  331. }
  332. // line 58
  333. yield " ";
  334. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  335. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  336. yield from [];
  337. }
  338. /**
  339. * @codeCoverageIgnore
  340. */
  341. public function getTemplateName(): string
  342. {
  343. return "layout/login.html.twig";
  344. }
  345. /**
  346. * @codeCoverageIgnore
  347. */
  348. public function isTraitable(): bool
  349. {
  350. return false;
  351. }
  352. /**
  353. * @codeCoverageIgnore
  354. */
  355. public function getDebugInfo(): array
  356. {
  357. return array ( 412 => 58, 404 => 55, 401 => 54, 398 => 53, 390 => 50, 387 => 49, 384 => 48, 376 => 45, 373 => 44, 370 => 43, 357 => 42, 345 => 35, 332 => 34, 320 => 30, 307 => 29, 295 => 37, 293 => 34, 289 => 32, 287 => 29, 284 => 28, 271 => 27, 259 => 39, 257 => 27, 254 => 26, 241 => 25, 230 => 23, 226 => 21, 224 => 20, 221 => 19, 213 => 16, 210 => 15, 207 => 14, 194 => 13, 181 => 59, 179 => 42, 176 => 41, 174 => 25, 171 => 24, 169 => 13, 165 => 11, 162 => 10, 149 => 9, 135 => 7, 122 => 6, 108 => 4, 95 => 3, 72 => 2, 49 => 1,);
  358. }
  359. public function getSourceContext(): Source
  360. {
  361. return new Source("{% extends '@EasyAdmin/layout_simple.html.twig' %}
  362. {% block body_class 'page-login' %}
  363. {% block page_title %}
  364. {{ btrans('login.pageTitle', 'Anmeldebereich von: {title}', {title: site.title}) }}
  365. {% endblock %}
  366. {% block head_favicon %}
  367. {{ include('favicon.html.twig') }}
  368. {% endblock %}
  369. {% block wrapper_wrapper %}
  370. {% include \"layout/maintenance_banner.html.twig\" %}
  371. <div class=\"login-wrapper\">
  372. <header class=\"main-header\">
  373. {% block main_header %}
  374. {% if site.logo %}
  375. <div id=\"header-logo\">
  376. <img src=\"/uploads/site/logos/{{ site.logo }}\" alt=\"{{ site.title }}\">
  377. </div>
  378. {% else %}
  379. <div id=\"header-logo\" class=\"fallback logo\">
  380. {% include 'layout/logo.html.twig' %}
  381. </div>
  382. {% endif %}
  383. {% endblock %}
  384. </header>
  385. {% block login_main_container %}
  386. <section class=\"login-main\">
  387. {% block login_main %}
  388. <div class=\"content\">
  389. {% block login_form %}
  390. {% endblock %}
  391. </div>
  392. <div class=\"content bg-white font-montserrat-light\">
  393. {% block login_box %}
  394. {% endblock %}
  395. </div>
  396. {% endblock %}
  397. </section>
  398. {% endblock %}
  399. <section class=\"login-meta mt-2\">
  400. {% block login_footer %}
  401. {% if app.request.get('_route') != 'app_login' %}
  402. <div class=\"mb-1\">
  403. <a href=\"{{ path('app_login') }}\">{{ btrans('login.link.backToLogin', 'Zurück zum Login') }}</a>
  404. </div>
  405. {% endif %}
  406. {% if app.request.get('_route') != 'app_forgot_password_request' %}
  407. <div class=\"mb-1\">
  408. <a href=\"{{ path('app_forgot_password_request') }}\">{{ btrans('login.link.forgotPassword', 'Passwort vergessen?') }}</a>
  409. </div>
  410. {% endif %}
  411. {% if app.request.get('_route') != 'app_registration_request' %}
  412. <div>
  413. <a href=\"{{ path('app_registration_request') }}\">{{ btrans('login.link.register', 'Registrieren') }}</a>
  414. </div>
  415. {% endif %}
  416. {% endblock %}
  417. </section>
  418. </div>
  419. {% endblock %}
  420. ", "layout/login.html.twig", "/var/www/int.my.brunex.ch/themes/brunex/layout/login.html.twig");
  421. }
  422. }