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.
122 lines
5.4 KiB
122 lines
5.4 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;
|
|
|
|
/* multijoueur.twig */
|
|
class __TwigTemplate_429a8744f4fda2467ee032a38c95765093750a6d603790dcf0bff53ef39a41b5 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\">
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset=utf-8>
|
|
<title>Math'Educ</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=\"background: linear-gradient(to bottom, rgba(37, 34, 71, 1), rgba(37, 35, 72, 1));\">
|
|
<div class=\"d-flex flex-column align-items-center justify-content-center\" style=\"height:95vh\">
|
|
<div style=\"width:90vw; height:30vh; margin-top:50px;\" class=\"text-center d-flex align-items-center text-center text-white border border-white rounded\">
|
|
<p class=\"sm-fs-5 mx-auto m-5\">
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Provident fuga cum soluta iure libero! Ullam, expedita excepturi! Odio distinctio quos quasi commodi libero ratione corrupti, unde iste explicabo suscipit consequatur ipsum! Id beatae corrupti ipsa totam deserunt, vel tenetur, iusto quaerat asperiores veritatis quidem! Vel dolorem recusandae necessitatibus ullam laborum!
|
|
<?php /* Query to bd d'une question aléatoire */ ?>
|
|
</p>
|
|
</div>
|
|
<div class=\"container text-center d-flex flex-column align-items-center text-center flex-grow\">
|
|
<div class=\"container text-center d-flex flex-row align-items-center text-center flex-grow\">
|
|
<button href=\"vues/Solo.php\" class=\"text-white m-3 container text-center d-flex align-items-center w-75 h-75 rounded border border-white text-center\" style=\"background-color:blue;text-decoration: none;color: black; height:20vh;\">
|
|
<div class=\"container text-center d-flex align-items-center text-center\">
|
|
<p class=\"mx-auto fs-5\">
|
|
Lorem, ipsum.
|
|
<?php /* Query to bd d'une question aléatoire */ ?>
|
|
</p>
|
|
</div>
|
|
</button>
|
|
<button href=\"vues/Multijoueur.php\" class=\"text-white m-3 container text-center d-flex align-items-center w-75 h-75 rounded border border-white text-center\" style=\"background-color:green;text-decoration: none;color: black;height:20vh;\">
|
|
<div class=\"container text-center d-flex align-items-center text-center\">
|
|
<p class=\"mx-auto fs-5\">
|
|
Lorem, ipsum.
|
|
<?php /* Query to bd d'une question aléatoire */ ?>
|
|
</p>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
<div class=\"container text-center d-flex flex-row align-items-center text-center flex-grow\">
|
|
<button href=\"vues/AddQuestions.php\" class=\"text-white m-3 container text-center d-flex align-items-center w-75 h-75 rounded border border-white text-center\" style=\"background-color:red;text-decoration: none;color: black;height:20vh;\">
|
|
<div class=\"container text-center d-flex align-items-center text-center\">
|
|
<p class=\"mx-auto fs-5\">
|
|
e^5
|
|
<?php /* Query to bd d'une question aléatoire */ ?>
|
|
</p>
|
|
</div>
|
|
</button>
|
|
<button href=\"vues/AddQuestions.php\" class=\"text-white m-3 container text-center d-flex align-items-center w-75 h-75 rounded border border-white text-center\" style=\"background-color:orange;text-decoration: none;color: black;height:20vh;\">
|
|
<div class=\"container text-center d-flex align-items-center text-center\">
|
|
<p class=\"mx-auto fs-5\">
|
|
Lorem, ipsum.
|
|
<?php /* Query to bd d'une question aléatoire */ ?>
|
|
</p>
|
|
</div>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>";
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "multijoueur.twig";
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 37 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("", "multijoueur.twig", "C:\\MAMP\\htdocs\\3.01-QCM_MuscuMaths\\Website\\templates\\multijoueur.twig");
|
|
}
|
|
}
|