var/cache/dev/twig/fe/fee4c70b67c0ae620be466be80373040.php line 57

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. /* @admin/account/login/index.html.twig */
  16. class __TwigTemplate_92aa0aa17ed3ca19d59bb0abbb65b72f extends Netgen\Bundle\SiteBundle\Templating\Twig\DebugTemplate
  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. 'content' => [$this, 'block_content'],
  29. 'login_form' => [$this, 'block_login_form'],
  30. 'login_form_errors' => [$this, 'block_login_form_errors'],
  31. 'login_form_fields' => [$this, 'block_login_form_fields'],
  32. 'login_form_buttons' => [$this, 'block_login_form_buttons'],
  33. ];
  34. }
  35. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  36. {
  37. // line 1
  38. return "@ibexadesign/account/base.html.twig";
  39. }
  40. protected function doDisplay(array $context, array $blocks = []): iterable
  41. {
  42. $macros = $this->macros;
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/account/login/index.html.twig"));
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/account/login/index.html.twig"));
  47. $this->parent = $this->load("@ibexadesign/account/base.html.twig", 1);
  48. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  49. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51. }
  52. // line 3
  53. /**
  54. * @return iterable<null|scalar|\Stringable>
  55. */
  56. public function block_content(array $context, array $blocks = []): iterable
  57. {
  58. $macros = $this->macros;
  59. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  63. // line 4
  64. yield "<h2 class=\"ibexa-login__actions-headline\">";
  65. yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.get_started") == "base.get_started")) ? ("Get started") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("base.get_started"), "html", null, true)));
  66. yield "</h2>
  67. ";
  68. // line 6
  69. yield from $this->unwrap()->yieldBlock('login_form', $context, $blocks);
  70. // line 86
  71. yield "
  72. ";
  73. // line 87
  74. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("ibexa-admin-ui-login-js", null, "ibexa");
  75. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77. yield from [];
  78. }
  79. // line 6
  80. /**
  81. * @return iterable<null|scalar|\Stringable>
  82. */
  83. public function block_login_form(array $context, array $blocks = []): iterable
  84. {
  85. $macros = $this->macros;
  86. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form"));
  88. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form"));
  90. // line 7
  91. yield " ";
  92. yield $this->extensions['Ibexa\Bundle\TwigComponents\Templating\Twig\ComponentExtension']->renderComponentGroup("admin-ui-login-form-before");
  93. yield "
  94. <form action=\"";
  95. // line 9
  96. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login_check");
  97. yield "\" method=\"post\" role=\"form\">
  98. <fieldset>
  99. ";
  100. // line 11
  101. yield from $this->unwrap()->yieldBlock('login_form_errors', $context, $blocks);
  102. // line 21
  103. yield "
  104. ";
  105. // line 22
  106. yield from $this->unwrap()->yieldBlock('login_form_fields', $context, $blocks);
  107. // line 67
  108. yield "
  109. ";
  110. // line 68
  111. yield from $this->unwrap()->yieldBlock('login_form_buttons', $context, $blocks);
  112. // line 81
  113. yield " </fieldset>
  114. </form>
  115. ";
  116. // line 84
  117. yield $this->extensions['Ibexa\Bundle\TwigComponents\Templating\Twig\ComponentExtension']->renderComponentGroup("admin-ui-login-form-after");
  118. yield "
  119. ";
  120. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  122. yield from [];
  123. }
  124. // line 11
  125. /**
  126. * @return iterable<null|scalar|\Stringable>
  127. */
  128. public function block_login_form_errors(array $context, array $blocks = []): iterable
  129. {
  130. $macros = $this->macros;
  131. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form_errors"));
  133. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  134. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form_errors"));
  135. // line 12
  136. yield " ";
  137. if ((($tmp = (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 12, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  138. // line 13
  139. yield " <div class=\"ibexa-login__errors-container\">
  140. ";
  141. // line 14
  142. yield from $this->load("@ibexadesign/ui/component/alert/alert.html.twig", 14)->unwrap()->yield(CoreExtension::toArray(["type" => "error", "title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 16
  143. (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 16, $this->source); })()), "message", [], "any", false, false, false, 16))]));
  144. // line 18
  145. yield " </div>
  146. ";
  147. }
  148. // line 20
  149. yield " ";
  150. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  152. yield from [];
  153. }
  154. // line 22
  155. /**
  156. * @return iterable<null|scalar|\Stringable>
  157. */
  158. public function block_login_form_fields(array $context, array $blocks = []): iterable
  159. {
  160. $macros = $this->macros;
  161. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  162. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form_fields"));
  163. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  164. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form_fields"));
  165. // line 23
  166. yield " <div class=\"form-group";
  167. if ((($tmp = (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 23, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  168. yield " has-error";
  169. }
  170. yield "\">
  171. <div class=\"ibexa-login__input-label-wrapper\">
  172. <label class=\"ibexa-label\" for=\"username\">";
  173. // line 25
  174. yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.username") == "authentication.username")) ? ("Username") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.username"), "html", null, true)));
  175. yield "</label>
  176. </div>";
  177. // line 27
  178. yield from $this->load("@admin/account/login/index.html.twig", 27, 1584365770)->unwrap()->yield($context);
  179. // line 43
  180. yield "</div>
  181. <div class=\"form-group";
  182. // line 44
  183. if ((($tmp = (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 44, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  184. yield " has-error";
  185. }
  186. yield " position-relative\">
  187. <div class=\"ibexa-login__input-label-wrapper\">
  188. <label class=\"ibexa-label\" for=\"password\">";
  189. // line 46
  190. yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.password") == "authentication.password")) ? ("Password") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.password"), "html", null, true)));
  191. yield "</label>
  192. </div>";
  193. // line 48
  194. yield from $this->load("@admin/account/login/index.html.twig", 48, 1688583015)->unwrap()->yield(CoreExtension::merge($context, ["type" => "password"]));
  195. // line 63
  196. yield "</div>
  197. <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  198. // line 65
  199. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
  200. yield "\" />
  201. ";
  202. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  203. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  204. yield from [];
  205. }
  206. // line 68
  207. /**
  208. * @return iterable<null|scalar|\Stringable>
  209. */
  210. public function block_login_form_buttons(array $context, array $blocks = []): iterable
  211. {
  212. $macros = $this->macros;
  213. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  214. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form_buttons"));
  215. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  216. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "login_form_buttons"));
  217. // line 69
  218. yield " <button
  219. type=\"submit\"
  220. class=\"btn ibexa-btn ibexa-btn--primary ibexa-login__btn ibexa-login__btn--sign-in\"
  221. tabindex=\"3\"
  222. disabled
  223. >
  224. ";
  225. // line 75
  226. yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.login") == "authentication.login")) ? ("Login") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.login"), "html", null, true)));
  227. yield "
  228. </button>
  229. <div class=\"ibexa-login__link-wrapper\">
  230. <a href=\"";
  231. // line 78
  232. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ibexa.user.forgot_password");
  233. yield "\" tabindex=\"4\">";
  234. yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.forgot_password") == "authentication.forgot_password")) ? ("Forgot your password?") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("authentication.forgot_password"), "html", null, true)));
  235. yield "</a>
  236. </div>
  237. ";
  238. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  239. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  240. yield from [];
  241. }
  242. /**
  243. * @codeCoverageIgnore
  244. */
  245. public function getTemplateName(): string
  246. {
  247. return "@admin/account/login/index.html.twig";
  248. }
  249. /**
  250. * @codeCoverageIgnore
  251. */
  252. public function isTraitable(): bool
  253. {
  254. return false;
  255. }
  256. /**
  257. * @codeCoverageIgnore
  258. */
  259. public function getDebugInfo(): array
  260. {
  261. return array ( 280 => 78, 274 => 75, 266 => 69, 253 => 68, 240 => 65, 236 => 63, 234 => 48, 230 => 46, 223 => 44, 220 => 43, 218 => 27, 214 => 25, 206 => 23, 193 => 22, 182 => 20, 178 => 18, 176 => 16, 175 => 14, 172 => 13, 169 => 12, 156 => 11, 143 => 84, 138 => 81, 136 => 68, 133 => 67, 131 => 22, 128 => 21, 126 => 11, 121 => 9, 115 => 7, 102 => 6, 91 => 87, 88 => 86, 86 => 6, 80 => 4, 67 => 3, 44 => 1,);
  262. }
  263. public function getSourceContext(): Source
  264. {
  265. return new Source("{% extends '@ibexadesign/account/base.html.twig' %}
  266. {%- block content -%}
  267. <h2 class=\"ibexa-login__actions-headline\">{{ 'base.get_started'|trans|desc('Get started') }}</h2>
  268. {% block login_form %}
  269. {{ ibexa_twig_component_group('admin-ui-login-form-before') }}
  270. <form action=\"{{ path( 'login_check' ) }}\" method=\"post\" role=\"form\">
  271. <fieldset>
  272. {% block login_form_errors %}
  273. {% if error %}
  274. <div class=\"ibexa-login__errors-container\">
  275. {% include '@ibexadesign/ui/component/alert/alert.html.twig' with {
  276. type: 'error',
  277. title: error.message|trans,
  278. } only %}
  279. </div>
  280. {% endif %}
  281. {% endblock %}
  282. {% block login_form_fields %}
  283. <div class=\"form-group{% if error %} has-error{% endif %}\">
  284. <div class=\"ibexa-login__input-label-wrapper\">
  285. <label class=\"ibexa-label\" for=\"username\">{{ 'authentication.username'|trans|desc('Username') }}</label>
  286. </div>
  287. {%- embed '@ibexadesign/ui/component/input_text.html.twig' -%}
  288. {% block content %}
  289. <input
  290. type=\"text\"
  291. id=\"username\"
  292. class=\"form-control ibexa-input ibexa-input--text ibexa-login__input ibexa-login__input--name\"
  293. name=\"_username\"
  294. value=\"{{ last_username }}\"
  295. required=\"required\"
  296. autofocus=\"autofocus\"
  297. autocomplete=\"on\"
  298. tabindex=\"1\"
  299. placeholder=\" \"
  300. />
  301. {% endblock %}
  302. {%- endembed -%}
  303. </div>
  304. <div class=\"form-group{% if error %} has-error{% endif %} position-relative\">
  305. <div class=\"ibexa-login__input-label-wrapper\">
  306. <label class=\"ibexa-label\" for=\"password\">{{ 'authentication.password'|trans|desc('Password') }}</label>
  307. </div>
  308. {%- embed '@ibexadesign/ui/component/input_text.html.twig' with {
  309. type: 'password',
  310. } -%}
  311. {% block content %}
  312. <input
  313. type=\"password\"
  314. id=\"password\"
  315. class=\"form-control ibexa-input ibexa-input--text ibexa-login__input ibexa-login__input--password\"
  316. name=\"_password\"
  317. required=\"required\"
  318. tabindex=\"2\"
  319. placeholder=\" \"
  320. />
  321. {% endblock %}
  322. {%- endembed -%}
  323. </div>
  324. <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token(\"authenticate\") }}\" />
  325. {% endblock %}
  326. {% block login_form_buttons %}
  327. <button
  328. type=\"submit\"
  329. class=\"btn ibexa-btn ibexa-btn--primary ibexa-login__btn ibexa-login__btn--sign-in\"
  330. tabindex=\"3\"
  331. disabled
  332. >
  333. {{ 'authentication.login'|trans|desc('Login') }}
  334. </button>
  335. <div class=\"ibexa-login__link-wrapper\">
  336. <a href=\"{{ path('ibexa.user.forgot_password') }}\" tabindex=\"4\">{{ 'authentication.forgot_password'|trans|desc('Forgot your password?') }}</a>
  337. </div>
  338. {% endblock %}
  339. </fieldset>
  340. </form>
  341. {{ ibexa_twig_component_group('admin-ui-login-form-after') }}
  342. {% endblock %}
  343. {{ encore_entry_script_tags('ibexa-admin-ui-login-js', null, 'ibexa') }}
  344. {%- endblock content -%}
  345. ", "@admin/account/login/index.html.twig", "/var/www/vhosts/platformv4.alpha.se7enx.com/httpdocs/platformvlegacy4.alpha.se7enx.com/vendor/se7enxweb/admin-ui/src/bundle/Resources/views/themes/admin/account/login/index.html.twig");
  346. }
  347. }
  348. /* @admin/account/login/index.html.twig */
  349. class __TwigTemplate_92aa0aa17ed3ca19d59bb0abbb65b72f___1584365770 extends Netgen\Bundle\SiteBundle\Templating\Twig\DebugTemplate
  350. {
  351. private Source $source;
  352. /**
  353. * @var array<string, Template>
  354. */
  355. private array $macros = [];
  356. public function __construct(Environment $env)
  357. {
  358. parent::__construct($env);
  359. $this->source = $this->getSourceContext();
  360. $this->blocks = [
  361. 'content' => [$this, 'block_content'],
  362. ];
  363. }
  364. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  365. {
  366. // line 27
  367. return "@ibexadesign/ui/component/input_text.html.twig";
  368. }
  369. protected function doDisplay(array $context, array $blocks = []): iterable
  370. {
  371. $macros = $this->macros;
  372. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  373. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/account/login/index.html.twig"));
  374. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  375. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/account/login/index.html.twig"));
  376. $this->parent = $this->load("@ibexadesign/ui/component/input_text.html.twig", 27);
  377. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  378. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  379. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  380. }
  381. // line 28
  382. /**
  383. * @return iterable<null|scalar|\Stringable>
  384. */
  385. public function block_content(array $context, array $blocks = []): iterable
  386. {
  387. $macros = $this->macros;
  388. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  389. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  390. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  391. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  392. // line 29
  393. yield " <input
  394. type=\"text\"
  395. id=\"username\"
  396. class=\"form-control ibexa-input ibexa-input--text ibexa-login__input ibexa-login__input--name\"
  397. name=\"_username\"
  398. value=\"";
  399. // line 34
  400. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["last_username"]) || array_key_exists("last_username", $context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.', 34, $this->source); })()), "html", null, true);
  401. yield "\"
  402. required=\"required\"
  403. autofocus=\"autofocus\"
  404. autocomplete=\"on\"
  405. tabindex=\"1\"
  406. placeholder=\" \"
  407. />
  408. ";
  409. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  410. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411. yield from [];
  412. }
  413. /**
  414. * @codeCoverageIgnore
  415. */
  416. public function getTemplateName(): string
  417. {
  418. return "@admin/account/login/index.html.twig";
  419. }
  420. /**
  421. * @codeCoverageIgnore
  422. */
  423. public function isTraitable(): bool
  424. {
  425. return false;
  426. }
  427. /**
  428. * @codeCoverageIgnore
  429. */
  430. public function getDebugInfo(): array
  431. {
  432. return array ( 480 => 34, 473 => 29, 460 => 28, 437 => 27, 280 => 78, 274 => 75, 266 => 69, 253 => 68, 240 => 65, 236 => 63, 234 => 48, 230 => 46, 223 => 44, 220 => 43, 218 => 27, 214 => 25, 206 => 23, 193 => 22, 182 => 20, 178 => 18, 176 => 16, 175 => 14, 172 => 13, 169 => 12, 156 => 11, 143 => 84, 138 => 81, 136 => 68, 133 => 67, 131 => 22, 128 => 21, 126 => 11, 121 => 9, 115 => 7, 102 => 6, 91 => 87, 88 => 86, 86 => 6, 80 => 4, 67 => 3, 44 => 1,);
  433. }
  434. public function getSourceContext(): Source
  435. {
  436. return new Source("{% extends '@ibexadesign/account/base.html.twig' %}
  437. {%- block content -%}
  438. <h2 class=\"ibexa-login__actions-headline\">{{ 'base.get_started'|trans|desc('Get started') }}</h2>
  439. {% block login_form %}
  440. {{ ibexa_twig_component_group('admin-ui-login-form-before') }}
  441. <form action=\"{{ path( 'login_check' ) }}\" method=\"post\" role=\"form\">
  442. <fieldset>
  443. {% block login_form_errors %}
  444. {% if error %}
  445. <div class=\"ibexa-login__errors-container\">
  446. {% include '@ibexadesign/ui/component/alert/alert.html.twig' with {
  447. type: 'error',
  448. title: error.message|trans,
  449. } only %}
  450. </div>
  451. {% endif %}
  452. {% endblock %}
  453. {% block login_form_fields %}
  454. <div class=\"form-group{% if error %} has-error{% endif %}\">
  455. <div class=\"ibexa-login__input-label-wrapper\">
  456. <label class=\"ibexa-label\" for=\"username\">{{ 'authentication.username'|trans|desc('Username') }}</label>
  457. </div>
  458. {%- embed '@ibexadesign/ui/component/input_text.html.twig' -%}
  459. {% block content %}
  460. <input
  461. type=\"text\"
  462. id=\"username\"
  463. class=\"form-control ibexa-input ibexa-input--text ibexa-login__input ibexa-login__input--name\"
  464. name=\"_username\"
  465. value=\"{{ last_username }}\"
  466. required=\"required\"
  467. autofocus=\"autofocus\"
  468. autocomplete=\"on\"
  469. tabindex=\"1\"
  470. placeholder=\" \"
  471. />
  472. {% endblock %}
  473. {%- endembed -%}
  474. </div>
  475. <div class=\"form-group{% if error %} has-error{% endif %} position-relative\">
  476. <div class=\"ibexa-login__input-label-wrapper\">
  477. <label class=\"ibexa-label\" for=\"password\">{{ 'authentication.password'|trans|desc('Password') }}</label>
  478. </div>
  479. {%- embed '@ibexadesign/ui/component/input_text.html.twig' with {
  480. type: 'password',
  481. } -%}
  482. {% block content %}
  483. <input
  484. type=\"password\"
  485. id=\"password\"
  486. class=\"form-control ibexa-input ibexa-input--text ibexa-login__input ibexa-login__input--password\"
  487. name=\"_password\"
  488. required=\"required\"
  489. tabindex=\"2\"
  490. placeholder=\" \"
  491. />
  492. {% endblock %}
  493. {%- endembed -%}
  494. </div>
  495. <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token(\"authenticate\") }}\" />
  496. {% endblock %}
  497. {% block login_form_buttons %}
  498. <button
  499. type=\"submit\"
  500. class=\"btn ibexa-btn ibexa-btn--primary ibexa-login__btn ibexa-login__btn--sign-in\"
  501. tabindex=\"3\"
  502. disabled
  503. >
  504. {{ 'authentication.login'|trans|desc('Login') }}
  505. </button>
  506. <div class=\"ibexa-login__link-wrapper\">
  507. <a href=\"{{ path('ibexa.user.forgot_password') }}\" tabindex=\"4\">{{ 'authentication.forgot_password'|trans|desc('Forgot your password?') }}</a>
  508. </div>
  509. {% endblock %}
  510. </fieldset>
  511. </form>
  512. {{ ibexa_twig_component_group('admin-ui-login-form-after') }}
  513. {% endblock %}
  514. {{ encore_entry_script_tags('ibexa-admin-ui-login-js', null, 'ibexa') }}
  515. {%- endblock content -%}
  516. ", "@admin/account/login/index.html.twig", "/var/www/vhosts/platformv4.alpha.se7enx.com/httpdocs/platformvlegacy4.alpha.se7enx.com/vendor/se7enxweb/admin-ui/src/bundle/Resources/views/themes/admin/account/login/index.html.twig");
  517. }
  518. }
  519. /* @admin/account/login/index.html.twig */
  520. class __TwigTemplate_92aa0aa17ed3ca19d59bb0abbb65b72f___1688583015 extends Netgen\Bundle\SiteBundle\Templating\Twig\DebugTemplate
  521. {
  522. private Source $source;
  523. /**
  524. * @var array<string, Template>
  525. */
  526. private array $macros = [];
  527. public function __construct(Environment $env)
  528. {
  529. parent::__construct($env);
  530. $this->source = $this->getSourceContext();
  531. $this->blocks = [
  532. 'content' => [$this, 'block_content'],
  533. ];
  534. }
  535. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  536. {
  537. // line 48
  538. return "@ibexadesign/ui/component/input_text.html.twig";
  539. }
  540. protected function doDisplay(array $context, array $blocks = []): iterable
  541. {
  542. $macros = $this->macros;
  543. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  544. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/account/login/index.html.twig"));
  545. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  546. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/account/login/index.html.twig"));
  547. $this->parent = $this->load("@ibexadesign/ui/component/input_text.html.twig", 48);
  548. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  549. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  550. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  551. }
  552. // line 51
  553. /**
  554. * @return iterable<null|scalar|\Stringable>
  555. */
  556. public function block_content(array $context, array $blocks = []): iterable
  557. {
  558. $macros = $this->macros;
  559. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  560. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  561. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  562. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  563. // line 52
  564. yield " <input
  565. type=\"password\"
  566. id=\"password\"
  567. class=\"form-control ibexa-input ibexa-input--text ibexa-login__input ibexa-login__input--password\"
  568. name=\"_password\"
  569. required=\"required\"
  570. tabindex=\"2\"
  571. placeholder=\" \"
  572. />
  573. ";
  574. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  575. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  576. yield from [];
  577. }
  578. /**
  579. * @codeCoverageIgnore
  580. */
  581. public function getTemplateName(): string
  582. {
  583. return "@admin/account/login/index.html.twig";
  584. }
  585. /**
  586. * @codeCoverageIgnore
  587. */
  588. public function isTraitable(): bool
  589. {
  590. return false;
  591. }
  592. /**
  593. * @codeCoverageIgnore
  594. */
  595. public function getDebugInfo(): array
  596. {
  597. return array ( 676 => 52, 663 => 51, 640 => 48, 480 => 34, 473 => 29, 460 => 28, 437 => 27, 280 => 78, 274 => 75, 266 => 69, 253 => 68, 240 => 65, 236 => 63, 234 => 48, 230 => 46, 223 => 44, 220 => 43, 218 => 27, 214 => 25, 206 => 23, 193 => 22, 182 => 20, 178 => 18, 176 => 16, 175 => 14, 172 => 13, 169 => 12, 156 => 11, 143 => 84, 138 => 81, 136 => 68, 133 => 67, 131 => 22, 128 => 21, 126 => 11, 121 => 9, 115 => 7, 102 => 6, 91 => 87, 88 => 86, 86 => 6, 80 => 4, 67 => 3, 44 => 1,);
  598. }
  599. public function getSourceContext(): Source
  600. {
  601. return new Source("{% extends '@ibexadesign/account/base.html.twig' %}
  602. {%- block content -%}
  603. <h2 class=\"ibexa-login__actions-headline\">{{ 'base.get_started'|trans|desc('Get started') }}</h2>
  604. {% block login_form %}
  605. {{ ibexa_twig_component_group('admin-ui-login-form-before') }}
  606. <form action=\"{{ path( 'login_check' ) }}\" method=\"post\" role=\"form\">
  607. <fieldset>
  608. {% block login_form_errors %}
  609. {% if error %}
  610. <div class=\"ibexa-login__errors-container\">
  611. {% include '@ibexadesign/ui/component/alert/alert.html.twig' with {
  612. type: 'error',
  613. title: error.message|trans,
  614. } only %}
  615. </div>
  616. {% endif %}
  617. {% endblock %}
  618. {% block login_form_fields %}
  619. <div class=\"form-group{% if error %} has-error{% endif %}\">
  620. <div class=\"ibexa-login__input-label-wrapper\">
  621. <label class=\"ibexa-label\" for=\"username\">{{ 'authentication.username'|trans|desc('Username') }}</label>
  622. </div>
  623. {%- embed '@ibexadesign/ui/component/input_text.html.twig' -%}
  624. {% block content %}
  625. <input
  626. type=\"text\"
  627. id=\"username\"
  628. class=\"form-control ibexa-input ibexa-input--text ibexa-login__input ibexa-login__input--name\"
  629. name=\"_username\"
  630. value=\"{{ last_username }}\"
  631. required=\"required\"
  632. autofocus=\"autofocus\"
  633. autocomplete=\"on\"
  634. tabindex=\"1\"
  635. placeholder=\" \"
  636. />
  637. {% endblock %}
  638. {%- endembed -%}
  639. </div>
  640. <div class=\"form-group{% if error %} has-error{% endif %} position-relative\">
  641. <div class=\"ibexa-login__input-label-wrapper\">
  642. <label class=\"ibexa-label\" for=\"password\">{{ 'authentication.password'|trans|desc('Password') }}</label>
  643. </div>
  644. {%- embed '@ibexadesign/ui/component/input_text.html.twig' with {
  645. type: 'password',
  646. } -%}
  647. {% block content %}
  648. <input
  649. type=\"password\"
  650. id=\"password\"
  651. class=\"form-control ibexa-input ibexa-input--text ibexa-login__input ibexa-login__input--password\"
  652. name=\"_password\"
  653. required=\"required\"
  654. tabindex=\"2\"
  655. placeholder=\" \"
  656. />
  657. {% endblock %}
  658. {%- endembed -%}
  659. </div>
  660. <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token(\"authenticate\") }}\" />
  661. {% endblock %}
  662. {% block login_form_buttons %}
  663. <button
  664. type=\"submit\"
  665. class=\"btn ibexa-btn ibexa-btn--primary ibexa-login__btn ibexa-login__btn--sign-in\"
  666. tabindex=\"3\"
  667. disabled
  668. >
  669. {{ 'authentication.login'|trans|desc('Login') }}
  670. </button>
  671. <div class=\"ibexa-login__link-wrapper\">
  672. <a href=\"{{ path('ibexa.user.forgot_password') }}\" tabindex=\"4\">{{ 'authentication.forgot_password'|trans|desc('Forgot your password?') }}</a>
  673. </div>
  674. {% endblock %}
  675. </fieldset>
  676. </form>
  677. {{ ibexa_twig_component_group('admin-ui-login-form-after') }}
  678. {% endblock %}
  679. {{ encore_entry_script_tags('ibexa-admin-ui-login-js', null, 'ibexa') }}
  680. {%- endblock content -%}
  681. ", "@admin/account/login/index.html.twig", "/var/www/vhosts/platformv4.alpha.se7enx.com/httpdocs/platformvlegacy4.alpha.se7enx.com/vendor/se7enxweb/admin-ui/src/bundle/Resources/views/themes/admin/account/login/index.html.twig");
  682. }
  683. }