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.
47 lines
2.3 KiB
47 lines
2.3 KiB
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<title>Maths'Educ</title>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" href="css/global.css">
|
|
<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>
|
|
|
|
</head>
|
|
|
|
<body id="bodyStyle">
|
|
<div>
|
|
<a href="/" role="button" class="fs-4 btn btn-secondary btn-lg position-absolute top-0 mt-2 end-0 me-2">
|
|
Retour
|
|
</a>
|
|
</div>
|
|
<form action="/verifySingleplayer" method="post">
|
|
<div class="text-center" style="padding-top: 6vh">
|
|
<h1 style="color: white; font-size: 50px">Difficulte :</h1>
|
|
<input type="radio" class="btn-check" name="difficulty" id="Facile" value="1">
|
|
<label class="btn btn-outline-success fs-1" for="Facile">Facile</label>
|
|
|
|
<input type="radio" class="btn-check" name="difficulty" id="Toutes" value="2">
|
|
<label class="btn btn-outline-warning fs-1 mx-3" for="Toutes">Toutes</label>
|
|
|
|
<input type="radio" class="btn-check" name="difficulty" id="Difficile" value="3">
|
|
<label class="btn btn-outline-danger fs-1" for="Difficile">Difficile</label>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="container text-center p-5 col-7">
|
|
{% for chapter in chapters %}
|
|
<input type="radio" class="btn-check" name="chapter" id="{{ chapter.name }}" value="{{ chapter.id }}">
|
|
<label class="btn btn-outline-secondary fs-1 mx-2 my-2" for="{{ chapter.name }}">{{ chapter.name }}</label>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<div class="d-flex flex-column align-items-center">
|
|
<button type="submit" class="btn btn-success btn-lg fs-1" >Jouer</button>
|
|
<p class="mt-2 fs-5 text-danger">{{ error }}</p>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html> |