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.
97 lines
3.1 KiB
97 lines
3.1 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;
|
|
|
|
/* loginAdmin.twig */
|
|
class __TwigTemplate_e196f9ec32fc9706c65ba98b0f6c214ddc2e5d903a2e8bbcc6e385ff276fb2c6 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>
|
|
<meta charset=\"utf-8\">
|
|
<title>Math'Educ - Connexion</title>
|
|
<link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN\" crossorigin=\"anonymous\">
|
|
<style>
|
|
@font-face {
|
|
font-family: 'MenuFont';
|
|
src: url('Media/mathEducFont.ttf') format('truetype');
|
|
}
|
|
|
|
* {
|
|
font-family: 'MenuFont';
|
|
}
|
|
</style>
|
|
</head>
|
|
<body style=\"height: 100%;\">
|
|
<div class=\"container mt-5\">
|
|
<div class=\"row\">
|
|
<div class=\"col-md-4 offset-md-4\">
|
|
<div class=\"card\">
|
|
<div class=\"card-body\">
|
|
<h2 class=\"card-title\">Connexion</h2>
|
|
<form action=\"/admin/administrators\" method=\"post\">
|
|
<div class=\"mb-3\">
|
|
<label for=\"username\" class=\"form-label\">Nom d'utilisateur</label>
|
|
<input type=\"text\" class=\"form-control\" id=\"username\" name=\"username\" required>
|
|
</div>
|
|
<div class=\"mb-3\">
|
|
<label for=\"password\" class=\"form-label\">Mot de passe</label>
|
|
<input type=\"password\" class=\"form-control\" id=\"password\" name=\"password\" required>
|
|
</div>
|
|
<button type=\"submit\" class=\"btn btn-primary\">Se connecter</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
";
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "loginAdmin.twig";
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 37 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("", "loginAdmin.twig", "C:\\MAMP\\htdocs\\3.01-QCM_MuscuMaths\\Website\\templates\\loginAdmin.twig");
|
|
}
|
|
}
|