SOITA/templates/home.html

27 lines
1.2 KiB
HTML
Raw Normal View History

2021-12-08 19:28:56 +01:00
{% extends "base.html" %}
2022-01-25 18:17:58 +01:00
{% block title %}Główna{% endblock %}
2021-12-08 19:28:56 +01:00
{% block content %}
2022-01-30 14:26:15 +01:00
<h1>Rozwiąż jakiś test!</h1>
2021-12-23 14:03:12 +01:00
{% for test in tests %}
2021-12-29 19:31:10 +01:00
<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-31 22:27:05 +01:00
<div class="right">Liczba pytań: {{test.question_count}}</div>
2021-12-29 19:31:10 +01:00
</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-04-10 15:05:07 +02:00
{# <button><a href="/tests/{{test.id}}/show">Rozwiąż</a></button>#}
<button><a href="/tests/{{test.id}}/password">Rozwiąż</a></button>
2021-12-29 19:31:10 +01:00
</div>
<br>
2021-12-23 14:03:12 +01:00
{% endfor %}
2021-12-08 19:28:56 +01:00
{% endblock %}