SOITA/templates/myTests.html
Hubert Jankowski 37b1c6d91f typos
2022-01-31 22:27:05 +01:00

30 lines
1.3 KiB
HTML

{% extends "base.html" %}
{% block title %}Moje testy{% endblock %}
{% block content %}
<h1>Twoje testy</h1>
{% for test in tests %}
<div class="mainTestContainer">
<div class="mainTestName">
{{test.name}}
</div>
<div class="mainTestMeta">
<div class="left">Kategoria: {{test.category}}</div>
<div class="center">Próg zaliczenia: {{test.passing_score}}</div>
<div class="right">Liczba pytań: {{test.question_count}}</div>
</div>
<!-- <div class="mainTestDesc">-->
<!-- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus volutpat scelerisque tortor, id sodales leo finibus id. Vivamus id viverra nunc, ac faucibus metus. Nulla a mauris imperdiet sapien lobortis dapibus. Quisque ornare posuere pulvinar.-->
<!-- </div>-->
<div class="tripleButton">
<button><a href="/tests/{{test.id}}/show">Rozwiąż</a></button>
<button><a href="/tests/{{test.id}}/edit">Edytuj</a></button>
<button style="background:#FF0000;"><a href="/tests/{{test.id}}/remove">Usuń</a></button>
</div>
</div>
<br>
{% endfor %}
{% endblock %}