2022-01-17 17:38:53 +01:00
{% extends "base.html" %}
{% block title %}My Tests{% endblock %}
{% block content %}
< h1 > Check your tests< / h1 >
{% for test in tests %}
< div class = "mainTestContainer" >
< div class = "mainTestName" >
{{test.name}}
< / div >
< div class = "mainTestMeta" >
2022-01-19 20:56:00 +01:00
< div class = "left" > Category: {{test.category}}< / div >
< div class = "center" > Passing score: {{test.passing_score}}< / div >
< div class = "right" > Questions: {{test.questions|length}}< / div >
2022-01-17 17:38:53 +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 >
2022-01-23 17:10:05 +01:00
< div class = "tripleButton" >
2022-01-17 17:38:53 +01:00
< button > < a href = "/tests/{{test.id}}/show" > Start< / a > < / button >
< button > < a href = "/tests/{{test.id}}/edit" > Edit< / a > < / button >
2022-01-23 17:10:05 +01:00
< button style = "background:#FF0000;" > < a href = "/tests/{{test.id}}/edit" > Delete< / a > < / button >
2022-01-17 17:38:53 +01:00
< / div >
< / div >
< br >
{% endfor %}
{% endblock %}