SOITA/templates/home.html

28 lines
1.0 KiB
HTML
Raw Normal View History

2021-12-08 19:28:56 +01:00
{% extends "base.html" %}
{% block title %}Home{% endblock %}
{% block content %}
2021-12-29 19:31:10 +01:00
<h1>Take some tests!</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-08 22:15:30 +01:00
Category: {{test.category}}
2021-12-29 19:31:10 +01:00
</div>
<div class="mainTestDesc">
<!-- TODO 250 words limit-->
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="mainTestMeta">
Passing score: {{test.passing_score}}
</div>
<button><a href="/tests/{{test.id}}/show">Start</a></button>
</div>
<br>
2021-12-23 14:03:12 +01:00
{% endfor %}
2021-12-08 19:28:56 +01:00
{% endblock %}