<?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;
/* @App/dashboard/settings/accounts/main.html.twig */
class __TwigTemplate_14bee992f19e13d75851cc3395e17234 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'modals' => [$this, 'block_modals'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@App/dashboard/settings/base.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", "@App/dashboard/settings/accounts/main.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@App/dashboard/settings/accounts/main.html.twig"));
// line 3
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 3, $this->source); })()), [0 => "@ui2022/schoolnow/forms/themes/default.html.twig"], true);
// line 1
$this->parent = $this->loadTemplate("@App/dashboard/settings/base.html.twig", "@App/dashboard/settings/accounts/main.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_header($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", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 6
echo " ";
$this->loadTemplate("@App/dashboard/settings/accounts/main.html.twig", "@App/dashboard/settings/accounts/main.html.twig", 6, "665492094")->display(twig_array_merge(twig_array_merge($context, ["title" => "User accounts"]), ['_args' => twig_to_array(["title" => "User accounts"])]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 20
public function block_content($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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 21
echo " <div class=\"row\">
<div class=\"col\">
";
// line 23
$this->loadTemplate("@App/dashboard/settings/accounts/includes/_filter.html.twig", "@App/dashboard/settings/accounts/main.html.twig", 23)->display(twig_array_merge($context, ['_args' => []]));
// line 24
echo " <div id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 24, $this->source); })()), "vars", [], "any", false, false, false, 24), "id", [], "any", false, false, false, 24), "html", null, true);
echo "__results\" class=\"user-table\">
";
// line 25
$this->loadTemplate("@App/dashboard/settings/accounts/includes/_results.html.twig", "@App/dashboard/settings/accounts/main.html.twig", 25)->display(twig_array_merge(twig_array_merge($context, ["sidepanel" => "sidepanel__result_view"]), ['_args' => twig_to_array(["sidepanel" => "sidepanel__result_view"])]));
// line 28
echo " </div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 33
public function block_modals($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", "modals"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modals"));
// line 34
echo " ";
$this->displayParentBlock("modals", $context, $blocks);
echo "
";
// line 35
$this->loadTemplate("@ui2022/modal.html.twig", "@App/dashboard/settings/accounts/main.html.twig", 35)->display(twig_array_merge(twig_array_merge($context, ["attr" => ["id" => "modal__result", "class" => "modal-ajax modal-delete"], "dialog_styles" => "dialog--createmsg"]), ['_args' => twig_to_array(["attr" => ["id" => "modal__result", "class" => "modal-ajax modal-delete"], "dialog_styles" => "dialog--createmsg"])]));
// line 42
echo " ";
$this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig", "@App/dashboard/settings/accounts/main.html.twig", 42)->display(twig_array_merge(twig_array_merge($context, ["attr" => ["id" => "sidepanel__result_view", "class" => "sidepanel-user"], "preserveScroll" => true]), ['_args' => twig_to_array(["attr" => ["id" => "sidepanel__result_view", "class" => "sidepanel-user"], "preserveScroll" => true])]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@App/dashboard/settings/accounts/main.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 137 => 42, 135 => 35, 130 => 34, 120 => 33, 107 => 28, 105 => 25, 100 => 24, 98 => 23, 94 => 21, 84 => 20, 73 => 6, 63 => 5, 52 => 1, 50 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@App/dashboard/settings/base.html.twig' %}
{% form_theme form '@ui2022/schoolnow/forms/themes/default.html.twig' %}
{% block header %}
{% embed '@ui2022/page__header.html.twig' with {
title: 'User accounts',
} %}
{% block actions %}
{% include '@ui2022/button--a.html.twig' with {
text: '+ Add user',
styles: 'gray',
link: path('app.app.dashboard.settings.accounts.create'),
modal: 'modal__result',
} %}
{% endblock %}
{% endembed %}
{% endblock %}
{% block content %}
<div class=\"row\">
<div class=\"col\">
{% include '@App/dashboard/settings/accounts/includes/_filter.html.twig' %}
<div id=\"{{ form.vars.id }}__results\" class=\"user-table\">
{% include '@App/dashboard/settings/accounts/includes/_results.html.twig' with {
sidepanel: 'sidepanel__result_view',
} %}
</div>
</div>
</div>
{% endblock %}
{% block modals %}
{{ parent() }}
{% include '@ui2022/modal.html.twig' with {
attr: {
id: 'modal__result',
class: 'modal-ajax modal-delete',
},
dialog_styles: 'dialog--createmsg',
} %}
{% include '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'sidepanel__result_view',
class: 'sidepanel-user'
},
preserveScroll: true,
} %}
{% endblock %}
", "@App/dashboard/settings/accounts/main.html.twig", "/var/www/campussuite/src/App/Resources/views/dashboard/settings/accounts/main.html.twig");
}
}
/* @App/dashboard/settings/accounts/main.html.twig */
class __TwigTemplate_14bee992f19e13d75851cc3395e17234___665492094 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'actions' => [$this, 'block_actions'],
];
}
protected function doGetParent(array $context)
{
// line 6
return "@ui2022/page__header.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", "@App/dashboard/settings/accounts/main.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@App/dashboard/settings/accounts/main.html.twig"));
$this->parent = $this->loadTemplate("@ui2022/page__header.html.twig", "@App/dashboard/settings/accounts/main.html.twig", 6);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
public function block_actions($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", "actions"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
// line 10
echo " ";
$this->loadTemplate("@ui2022/button--a.html.twig", "@App/dashboard/settings/accounts/main.html.twig", 10)->display(twig_array_merge(twig_array_merge($context, ["text" => "+ Add user", "styles" => "gray", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.app.dashboard.settings.accounts.create"), "modal" => "modal__result"]), ['_args' => twig_to_array(["text" => "+ Add user", "styles" => "gray", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.app.dashboard.settings.accounts.create"), "modal" => "modal__result"])]));
// line 16
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@App/dashboard/settings/accounts/main.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 274 => 16, 271 => 10, 261 => 9, 238 => 6, 137 => 42, 135 => 35, 130 => 34, 120 => 33, 107 => 28, 105 => 25, 100 => 24, 98 => 23, 94 => 21, 84 => 20, 73 => 6, 63 => 5, 52 => 1, 50 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@App/dashboard/settings/base.html.twig' %}
{% form_theme form '@ui2022/schoolnow/forms/themes/default.html.twig' %}
{% block header %}
{% embed '@ui2022/page__header.html.twig' with {
title: 'User accounts',
} %}
{% block actions %}
{% include '@ui2022/button--a.html.twig' with {
text: '+ Add user',
styles: 'gray',
link: path('app.app.dashboard.settings.accounts.create'),
modal: 'modal__result',
} %}
{% endblock %}
{% endembed %}
{% endblock %}
{% block content %}
<div class=\"row\">
<div class=\"col\">
{% include '@App/dashboard/settings/accounts/includes/_filter.html.twig' %}
<div id=\"{{ form.vars.id }}__results\" class=\"user-table\">
{% include '@App/dashboard/settings/accounts/includes/_results.html.twig' with {
sidepanel: 'sidepanel__result_view',
} %}
</div>
</div>
</div>
{% endblock %}
{% block modals %}
{{ parent() }}
{% include '@ui2022/modal.html.twig' with {
attr: {
id: 'modal__result',
class: 'modal-ajax modal-delete',
},
dialog_styles: 'dialog--createmsg',
} %}
{% include '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'sidepanel__result_view',
class: 'sidepanel-user'
},
preserveScroll: true,
} %}
{% endblock %}
", "@App/dashboard/settings/accounts/main.html.twig", "/var/www/campussuite/src/App/Resources/views/dashboard/settings/accounts/main.html.twig");
}
}