SOITA/templates/solvedTests.html
2022-01-23 17:10:05 +01:00

20 lines
770 B
HTML

{% extends "base.html" %}
{% block title %}Home{% endblock %}
{% block content %}
<h1>Your history</h1>
{% for test in tests %}
<div class="solvedTestContainer">
<div class="mainTestName">
{{test.name}}
</div>
<div class="solvedTestText">Your score: {{test.score}}</div>
<div class="solvedTestText">Passing score: {{test.passing_score}}</div>
<div class="solvedTestText">Max score: {{test.max}}</div>
<div class="solvedTestText">Percentage: {{test.percentage}}</div>
<!-- <button><a href="/tests/{{test.id}}/show">Try again</a></button>-->
</div>
<br>
{% endfor %}
{% endblock %}