2022-01-12 10:50:34 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Test result{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="resultContainer ">
|
|
|
|
<img class="resultImage" src="http://kmit.in/emagazine/wp-content/uploads/2018/02/karnataka-results.jpg" alt="Card image cap">
|
|
|
|
<div class="resultBody">
|
2022-01-19 20:56:00 +01:00
|
|
|
<h5 class="resultMsg">
|
2022-01-23 17:10:05 +01:00
|
|
|
<!-- Quite good! All the best for next quiz!-->
|
|
|
|
{% if percentage == 100 %}
|
|
|
|
Idealnie, widzę że ten temat nie ma dla ciebie tajemnic!
|
|
|
|
{% elif percentage >= 75 %}
|
|
|
|
Bardzo dobrze, ale są jeszcze pewne braki ;)
|
|
|
|
{% elif percentage >= 50 %}
|
|
|
|
Nie jest źle, wiedziałeś więcej niż mniej
|
|
|
|
{% elif percentage >= 25 %}
|
|
|
|
Masz spore braki, powinieneś trochę więcej się pouczyć
|
|
|
|
{% else %}
|
|
|
|
Słabiutko, ale następnym razem będzie lepiej
|
|
|
|
{% endif %}
|
2022-01-19 20:56:00 +01:00
|
|
|
</h5>
|
2022-01-17 16:05:26 +01:00
|
|
|
<h5 class="resultScore">Result: {{ status }}</h5>
|
2022-01-23 17:10:05 +01:00
|
|
|
<h5 class="resultText">Score: {{ points }}</h5>
|
|
|
|
<h5 class="resultText">Passing Score: {{ passing }}</h5>
|
|
|
|
<h5 class="resultText">Max Score: {{ max }}</h5>
|
|
|
|
<h5 class="resultText">Percentage: {{ percentage }}</h5>
|
2022-01-19 20:56:00 +01:00
|
|
|
<button class="defaultButton"><a href="{% url 'home' %}">Home</a></button>
|
2022-01-17 16:05:26 +01:00
|
|
|
{# <p class="resultText">Correct answers: 3</p>#}
|
|
|
|
{# <p class="resultText">Incorrect answers: 2</p>#}
|
|
|
|
{# <p class="resultText">Total questions: 5</p>#}
|
2022-01-12 10:50:34 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|