2 changed files with 1 additions and 46 deletions
@ -1,46 +0,0 @@ |
|||||||
{% extends 'basic_template.html' %}{% block 'body' %} |
|
||||||
<nav class="navbar navbar-light"> |
|
||||||
<div class="container"> <a class="navbar-brand text-primary" href="{% url "quiz_atomes" %}"> |
|
||||||
<i class="fa fa-arrow-left"></i> |
|
||||||
</a> |
|
||||||
</div> |
|
||||||
</nav> |
|
||||||
<div class="py-2 d-flex flex-column justify-content-center align-items-center"> |
|
||||||
<h3 class="text-center"><b>Paramètres du quiz</b></h3> |
|
||||||
<form action="{% url "settings" %}" method="POST" name="settings">{% csrf_token %} |
|
||||||
<table class="table w-auto table-responsive-lg"> |
|
||||||
<tr> |
|
||||||
<td>NOM :</td> |
|
||||||
<td><input id="nom" name="nom" maxlength="10" value="{{nom}}"></td> |
|
||||||
</tr> |
|
||||||
<tr> |
|
||||||
<td>Prénom :</td> |
|
||||||
<td><input id="prenom" name="prenom" maxlength="10" value="{{prenom}}"></td> |
|
||||||
</tr> |
|
||||||
<tr> |
|
||||||
<td>Nombre<br/>d'atomes :</td> |
|
||||||
<td class="align-middle"> |
|
||||||
<div class="form-check form-check-inline"> |
|
||||||
<input class="form-check-input" type="radio" name="nb" id="inlineRadio1" value="10" {% if difficulte == "10" %}checked{% endif %}> |
|
||||||
<label class="form-check-label" for="inlineRadio1">10</label> |
|
||||||
</div> |
|
||||||
<div class="form-check form-check-inline"> |
|
||||||
<input class="form-check-input" type="radio" name="nb" id="inlineRadio1" value="20" {% if difficulte == "20" %}checked{% endif %}> |
|
||||||
<label class="form-check-label" for="inlineRadio2">20</label> |
|
||||||
</div> |
|
||||||
<div class="form-check form-check-inline"> |
|
||||||
<input class="form-check-input" type="radio" name="nb" id="inlineRadio1" value="30" {% if difficulte == "30" %}checked{% endif %}> |
|
||||||
<label class="form-check-label" for="inlineRadio1">30</label> |
|
||||||
</div> |
|
||||||
<div class="form-check form-check-inline"> |
|
||||||
<input class="form-check-input" type="radio" name="nb" id="inlineRadio1" value="40" {% if difficulte == "40" %}checked{% endif %}> |
|
||||||
<label class="form-check-label" for="inlineRadio2">40</label> |
|
||||||
</div> |
|
||||||
</td> |
|
||||||
</tr> |
|
||||||
<tr> |
|
||||||
<td colspan="2"><input type="submit" value="OK"></td> |
|
||||||
</tr> |
|
||||||
</table> |
|
||||||
</form> |
|
||||||
</div>{% endblock %} |
|
||||||
Loading…
Reference in new issue