Browse Source

Amélioration affichage quiz

master
Christophe SCAYA 4 years ago
parent
commit
89a10d0214
  1. 8
      quiz_atomes/templates/quiz_atomes/quiz_atomes.html

8
quiz_atomes/templates/quiz_atomes/quiz_atomes.html

@ -9,7 +9,7 @@
<div class="navbar-brand"> <div class="navbar-brand">
<time>00m 00s</time> <time>00m 00s</time>
</div> </div>
<a class="navbar-brand" href="{% url "logout" %}"> <a href="{% url "logout" %}">
<i class="fa-solid fa-arrow-right-from-bracket"></i> <i class="fa-solid fa-arrow-right-from-bracket"></i>
</a> </a>
</div> </div>
@ -21,13 +21,13 @@
<thead> <thead>
<tr> <tr>
<th scope="col">Atome</th> <th scope="col">Atome</th>
<th scope="col">Symbole</th> <th scope="col" class="col-5">Symbole</th>
</tr> </tr>
</thead> </thead>
<tbody>{% if atome_list %}{% for atome in atome_list %} <tbody>{% if atome_list %}{% for atome in atome_list %}
<tr> <tr>
<td>{{atome.nom}}</td> <td>{{ forloop.counter }} - {{atome.nom}}</td>
<td><input name="input{{ forloop.counter }}" maxlength="3" value=""></td> <td><input name="input{{ forloop.counter }}" class="form-control" maxlength="3" value=""></td>
</tr>{% endfor %}{% endif %} </tr>{% endfor %}{% endif %}
<tr> <tr>
<td colspan="2"><input type="submit" name="ok" value="OK"></td> <td colspan="2"><input type="submit" name="ok" value="OK"></td>

Loading…
Cancel
Save