SOITA/templates/myTests.html

30 lines
1.3 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
2022-01-25 18:17:58 +01:00
{% block title %}Moje testy{% endblock %}
{% block content %}
2022-01-25 18:17:58 +01:00
<h1>Twoje testy</h1>
{% for test in tests %}
<div class="mainTestContainer">
<div class="mainTestName">
{{test.name}}
</div>
<div class="mainTestMeta">
2022-01-25 18:17:58 +01:00
<div class="left">Kategoria: {{test.category}}</div>
<div class="center">Próg zaliczenia: {{test.passing_score}}</div>
2022-01-30 15:20:55 +01:00
<div class="right">Ilość pytań: {{test.question_count}}</div>
</div>
2022-01-25 18:45:02 +01:00
<!-- <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>-->
2022-01-23 17:10:05 +01:00
<div class="tripleButton">
2022-01-25 18:17:58 +01:00
<button><a href="/tests/{{test.id}}/show">Rozwiąż</a></button>
<button><a href="/tests/{{test.id}}/edit">Edytuj</a></button>
2022-01-25 18:20:42 +01:00
<button style="background:#FF0000;"><a href="/tests/{{test.id}}/remove">Usuń</a></button>
</div>
</div>
<br>
{% endfor %}
{% endblock %}