You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
4.0 KiB
119 lines
4.0 KiB
<?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;
|
|
|
|
/* adminAdministrators.twig */
|
|
class __TwigTemplate_c98eacdb83979a8d1d23cbb83febab2600b7cfae34ecace697c0e2fd5d812e30 extends Template
|
|
{
|
|
private $source;
|
|
private $macros = [];
|
|
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->source = $this->getSourceContext();
|
|
|
|
$this->parent = false;
|
|
|
|
$this->blocks = [
|
|
];
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
// line 1
|
|
echo "<!DOCTYPE html>
|
|
<html lang=\"fr\">
|
|
<head>
|
|
<title>Maths Educ</title>
|
|
<meta charset=\"UTF-8\">
|
|
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
|
|
<link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN\" crossorigin=\"anonymous\">
|
|
<script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL\" crossorigin=\"anonymous\">
|
|
</script>
|
|
|
|
<style>
|
|
@font-face {
|
|
font-family: 'MenuFont';
|
|
src: url('Media/mathEducFont.ttf') format('truetype');
|
|
}
|
|
|
|
* {
|
|
font-family: 'MenuFont';
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class=\"container mt-5\">
|
|
<h1>Liste des Administrateurs</h1>
|
|
<ul class=\"list-group\">
|
|
";
|
|
// line 27
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["administrators"] ?? null));
|
|
foreach ($context['_seq'] as $context["_key"] => $context["admin"]) {
|
|
// line 28
|
|
echo " <li class=\"list-group-item d-flex ustify-content-between align-items-center\">
|
|
";
|
|
// line 29
|
|
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["admin"], "username", [], "any", false, false, false, 29), "html", null, true);
|
|
echo "
|
|
<div class=\"btn-group\" role=\"group\">
|
|
<button type=\"button\" class=\"btn btn-primary\">Modifier</button>
|
|
<button type=\"button\" class=\"btn btn-danger\">Supprimer</button>
|
|
</div>
|
|
</li>
|
|
";
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['admin'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 36
|
|
echo " </ul>
|
|
</div>
|
|
<div class=\"container mt-3\">
|
|
<div class=\"btn-group\" role=\"group\">
|
|
<a href=\"/admin/users\" class=\"btn btn-secondary\">D</a>
|
|
<a href=\"/\" class=\"btn btn-secondary\">Retour</a>
|
|
<a href=\"/admin/chapters\" class=\"btn btn-secondary\">G</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
";
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "adminAdministrators.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 85 => 36, 72 => 29, 69 => 28, 65 => 27, 37 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("", "adminAdministrators.twig", "C:\\MAMP\\htdocs\\3.01-QCM_MuscuMaths\\Website\\templates\\adminAdministrators.twig");
|
|
}
|
|
}
|