<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* base.html.twig */
class __TwigTemplate_5d1d862504afc95fb7721c32e058f109896050b164d7b71d5f820dab7b283e40 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'breadcrumb' => [$this, 'block_breadcrumb'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"de\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<meta name=\"description\" content=\"\">
<meta name=\"author\" content=\"\">
<title>Mathematik Tutorien Verwaltung | ";
// line 9
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "</title>
";
// line 11
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 14
yield " </head>
<body id=\"page-top\">
<!-- Navbar Top -->
<nav class=\"navbar navbar-expand navbar-dark bg-dark static-top\">
<a class=\"navbar-brand mr-1\" title=\"Mathematik Tutorien Verwaltung\" href=\"";
// line 20
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
yield "\">MTV</a>
";
// line 22
if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_LECTURER"))) {
// line 23
yield " <button class=\"btn btn-link btn-sm text-white order-1 order-sm-0\" id=\"sidebarToggle\" href=\"#\">
<i class=\"fas fa-bars\" aria-hidden=\"true\"></i>
</button>
";
}
// line 27
yield "
<!-- Navbar -->
<ul class=\"navbar-nav ml-auto\">
<li class=\"m-auto\">
";
// line 33
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
// line 34
yield " <a class=\"btn btn-danger btn-sm\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home", ["_switch_user" => "_exit"]);
yield "\" role=\"button\">
<i class=\"fas fa-user-secret\"></i> Imitation Beenden
<span class=\"badge badge-light\">";
// line 36
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 36, $this->source); })()), "user", [], "any", false, false, false, 36), "firstName", [], "any", false, false, false, 36), "html", null, true);
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 36, $this->source); })()), "user", [], "any", false, false, false, 36), "lastName", [], "any", false, false, false, 36), "html", null, true);
yield " (";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 36, $this->source); })()), "user", [], "any", false, false, false, 36), "uid", [], "any", false, false, false, 36), "html", null, true);
yield ")</span>
</a>
";
}
// line 39
yield " </li>
\t <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 41
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("impressum");
yield "\">Impressum</a>
</li>
<li class=\"nav-item dropdown no-arrow m-auto\">
";
// line 44
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 45
yield " <a class=\"nav-link dropdown-toggle\" href=\"#\" id=\"userDropdown\" role=\"button\" data-toggle=\"dropdown\"
aria-haspopup=\"true\" aria-expanded=\"false\">
<i class=\"fas fa-user-circle fa-fw\"></i>
</a>
<div class=\"dropdown-menu dropdown-menu-right\" aria-labelledby=\"userDropdown\">
";
// line 57
yield " <a class=\"dropdown-item\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
yield "\">Logout</a>
</div>
";
}
// line 60
yield " </li>
</ul>
</nav>
<div id=\"wrapper\">
";
// line 65
if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_LECTURER"))) {
// line 66
yield " <!-- Sidebar Left -->
<ul class=\"sidebar navbar-nav\">
<li class=\"nav-item ";
// line 68
yield (((0 === CoreExtension::compare(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.', 68, $this->source); })()), "request", [], "any", false, false, false, 68), "get", ["_route"], "method", false, false, false, 68), "home"))) ? ("active") : (""));
yield "\">
<a class=\"nav-link\" href=\"";
// line 69
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
yield "\">
<i class=\"fas fa-fw fa-tachometer-alt\"></i>
<span>Dashboard</span>
</a>
</li>
<li class=\"nav-item ";
// line 74
yield (((0 === CoreExtension::compare(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.', 74, $this->source); })()), "request", [], "any", false, false, false, 74), "get", ["_route"], "method", false, false, false, 74), "users_index"))) ? ("active") : (""));
yield "\">
<a class=\"nav-link\" href=\"";
// line 75
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("users_index");
yield "\">
<i class=\"fas fa-fw fa-users\"></i>
<span>Benutzer</span>
</a>
</li>
<li class=\"nav-item ";
// line 80
yield (((0 === CoreExtension::compare(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.', 80, $this->source); })()), "request", [], "any", false, false, false, 80), "get", ["_route"], "method", false, false, false, 80), "courses_index"))) ? ("active") : (""));
yield "\">
<a class=\"nav-link\" href=\"";
// line 81
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("courses_index");
yield "\">
<i class=\"fas fa-chalkboard\"></i>
<span>Lehrveranstaltungen</span>
</a>
</li>
</ul>
";
}
// line 88
yield "
<div id=\"content-wrapper\">
";
// line 91
if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_LECTURER"))) {
// line 92
yield " <div class=\"container-fluid\">
";
} else {
// line 94
yield " <div class=\"container\">
";
}
// line 96
yield "
<div class=\"row align-items-center\">
<!-- Breadcrumbs-->
";
// line 99
if ((($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN") || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_LECTURER")) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_TUTOR"))) {
// line 100
yield " <div class=\"col-lg\">
<ol class=\"breadcrumb\">
";
// line 102
yield from $this->unwrap()->yieldBlock('breadcrumb', $context, $blocks);
// line 104
yield " </ol>
</div>
";
}
// line 107
yield "
";
// line 108
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(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.', 108, $this->source); })()), "flashes", ["success"], "method", false, false, false, 108));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 109
yield " <div class=\"col-lg-3 col-sm-6 mb-3 column-card\">
<div class=\"card text-white bg-success o-hidden h-100\">
<div class=\"card-header\">
<div class=\"row align-items-center\">
<div class=\"col\">
<h5 class=\"card-title mb-0\">Erfolg</h5>
</div>
<div class=\"col\" data-effect=\"fadeOut\">
<button type=\"button\" class=\"btn btn-link float-right card-close-icon\">
<i class=\"fas fa-fw fa-times\"></i>
</button>
</div>
</div>
</div>
<div class=\"card-body\">
<div class=\"card-body-icon\">
<i class=\"fas fa-fw fa-check\"></i>
</div>
<div class=\"mr-5\">";
// line 127
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 132
yield "
";
// line 133
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(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.', 133, $this->source); })()), "flashes", ["warning"], "method", false, false, false, 133));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 134
yield " <div class=\"col-lg-3 col-sm-6 mb-3 column-card\">
<div class=\"card text-white bg-danger o-hidden h-100\">
<div class=\"card-header\">
<div class=\"row align-items-center\">
<div class=\"col\">
<h5 class=\"card-title mb-0\">Fehler</h5>
</div>
<div class=\"col\" data-effect=\"fadeOut\">
<button type=\"button\" class=\"btn btn-link float-right card-close-icon\">
<i class=\"fas fa-fw fa-times\"></i>
</button>
</div>
</div>
</div>
<div class=\"card-body\">
<div class=\"card-body-icon\">
<i class=\"fas fa-fw fa-times\"></i>
</div>
<div class=\"mr-5\">";
// line 152
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 157
yield " </div>
";
// line 158
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
// line 160
yield " </div>
";
// line 172
yield " </div>
</div>
";
// line 175
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 178
yield "
</body>
</html>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
return; yield '';
}
// line 9
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 11
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 12
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 102
public function block_breadcrumb($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumb"));
// line 103
yield " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 158
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 159
yield " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 175
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 176
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 424 => 176, 414 => 175, 403 => 159, 393 => 158, 382 => 103, 372 => 102, 358 => 12, 348 => 11, 329 => 9, 315 => 178, 313 => 175, 308 => 172, 304 => 160, 302 => 158, 299 => 157, 288 => 152, 268 => 134, 264 => 133, 261 => 132, 250 => 127, 230 => 109, 226 => 108, 223 => 107, 218 => 104, 216 => 102, 212 => 100, 210 => 99, 205 => 96, 201 => 94, 197 => 92, 195 => 91, 190 => 88, 180 => 81, 176 => 80, 168 => 75, 164 => 74, 156 => 69, 152 => 68, 148 => 66, 146 => 65, 139 => 60, 132 => 57, 125 => 45, 123 => 44, 117 => 41, 113 => 39, 103 => 36, 97 => 34, 95 => 33, 87 => 27, 81 => 23, 79 => 22, 74 => 20, 66 => 14, 64 => 11, 59 => 9, 49 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"de\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<meta name=\"description\" content=\"\">
<meta name=\"author\" content=\"\">
<title>Mathematik Tutorien Verwaltung | {% block title %}{% endblock %}</title>
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
</head>
<body id=\"page-top\">
<!-- Navbar Top -->
<nav class=\"navbar navbar-expand navbar-dark bg-dark static-top\">
<a class=\"navbar-brand mr-1\" title=\"Mathematik Tutorien Verwaltung\" href=\"{{ path('home') }}\">MTV</a>
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_LECTURER') %}
<button class=\"btn btn-link btn-sm text-white order-1 order-sm-0\" id=\"sidebarToggle\" href=\"#\">
<i class=\"fas fa-bars\" aria-hidden=\"true\"></i>
</button>
{% endif %}
<!-- Navbar -->
<ul class=\"navbar-nav ml-auto\">
<li class=\"m-auto\">
{% if is_granted('ROLE_PREVIOUS_ADMIN') %}
<a class=\"btn btn-danger btn-sm\" href=\"{{ path('home', {'_switch_user': \"_exit\" }) }}\" role=\"button\">
<i class=\"fas fa-user-secret\"></i> Imitation Beenden
<span class=\"badge badge-light\">{{ app.user.firstName }} {{ app.user.lastName }} ({{ app.user.uid }})</span>
</a>
{% endif %}
</li>
\t <li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('impressum') }}\">Impressum</a>
</li>
<li class=\"nav-item dropdown no-arrow m-auto\">
{% if is_granted('ROLE_USER') %}
<a class=\"nav-link dropdown-toggle\" href=\"#\" id=\"userDropdown\" role=\"button\" data-toggle=\"dropdown\"
aria-haspopup=\"true\" aria-expanded=\"false\">
<i class=\"fas fa-user-circle fa-fw\"></i>
</a>
<div class=\"dropdown-menu dropdown-menu-right\" aria-labelledby=\"userDropdown\">
{# These options habe no function yet
<a class=\"dropdown-item\" href=\"#\">Settings</a>
<a class=\"dropdown-item\" href=\"#\">Activity Log</a>
<div class=\"dropdown-divider\"></div>
#}{# Alter Logout Link
<a class=\"dropdown-item\" href=\"#\" data-toggle=\"modal\" data-target=\"#logoutModal\">Logout</a>
#}
<a class=\"dropdown-item\" href=\"{{ path('app_logout')}}\">Logout</a>
</div>
{% endif %}
</li>
</ul>
</nav>
<div id=\"wrapper\">
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_LECTURER') %}
<!-- Sidebar Left -->
<ul class=\"sidebar navbar-nav\">
<li class=\"nav-item {{ app.request.get('_route') == 'home' ? 'active' }}\">
<a class=\"nav-link\" href=\"{{ path('home') }}\">
<i class=\"fas fa-fw fa-tachometer-alt\"></i>
<span>Dashboard</span>
</a>
</li>
<li class=\"nav-item {{ app.request.get('_route') == 'users_index' ? 'active' }}\">
<a class=\"nav-link\" href=\"{{ path('users_index') }}\">
<i class=\"fas fa-fw fa-users\"></i>
<span>Benutzer</span>
</a>
</li>
<li class=\"nav-item {{ app.request.get('_route') == 'courses_index' ? 'active' }}\">
<a class=\"nav-link\" href=\"{{ path('courses_index') }}\">
<i class=\"fas fa-chalkboard\"></i>
<span>Lehrveranstaltungen</span>
</a>
</li>
</ul>
{% endif %}
<div id=\"content-wrapper\">
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_LECTURER') %}
<div class=\"container-fluid\">
{% else %}
<div class=\"container\">
{% endif %}
<div class=\"row align-items-center\">
<!-- Breadcrumbs-->
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_LECTURER') or is_granted('ROLE_TUTOR') %}
<div class=\"col-lg\">
<ol class=\"breadcrumb\">
{% block breadcrumb %}
{% endblock %}
</ol>
</div>
{% endif %}
{% for message in app.flashes('success') %}
<div class=\"col-lg-3 col-sm-6 mb-3 column-card\">
<div class=\"card text-white bg-success o-hidden h-100\">
<div class=\"card-header\">
<div class=\"row align-items-center\">
<div class=\"col\">
<h5 class=\"card-title mb-0\">Erfolg</h5>
</div>
<div class=\"col\" data-effect=\"fadeOut\">
<button type=\"button\" class=\"btn btn-link float-right card-close-icon\">
<i class=\"fas fa-fw fa-times\"></i>
</button>
</div>
</div>
</div>
<div class=\"card-body\">
<div class=\"card-body-icon\">
<i class=\"fas fa-fw fa-check\"></i>
</div>
<div class=\"mr-5\">{{ message }}</div>
</div>
</div>
</div>
{% endfor %}
{% for message in app.flashes('warning') %}
<div class=\"col-lg-3 col-sm-6 mb-3 column-card\">
<div class=\"card text-white bg-danger o-hidden h-100\">
<div class=\"card-header\">
<div class=\"row align-items-center\">
<div class=\"col\">
<h5 class=\"card-title mb-0\">Fehler</h5>
</div>
<div class=\"col\" data-effect=\"fadeOut\">
<button type=\"button\" class=\"btn btn-link float-right card-close-icon\">
<i class=\"fas fa-fw fa-times\"></i>
</button>
</div>
</div>
</div>
<div class=\"card-body\">
<div class=\"card-body-icon\">
<i class=\"fas fa-fw fa-times\"></i>
</div>
<div class=\"mr-5\">{{ message }}</div>
</div>
</div>
</div>
{% endfor %}
</div>
{% block body %}
{% endblock %}
</div>
{#
<!-- Sticky Footer -->
<footer class=\"sticky-footer\">
<div class=\"container my-auto\">
<div class=\"copyright text-center my-auto\">
<span>Impressum</span>
</div>
</div>
</footer>
#}
</div>
</div>
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</body>
</html>", "base.html.twig", "/mtvupgrade/mtv/symfony/templates/base.html.twig");
}
}