2022-01-12 10:50:34 +01:00
|
|
|
{% extends "base.html" %}
|
2022-04-10 15:52:28 +02:00
|
|
|
{% load social_share %}
|
2022-01-12 10:50:34 +01:00
|
|
|
|
|
|
|
{% 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!-->
|
2022-04-15 16:59:14 +02:00
|
|
|
{% if request.session.percentage == 100 %}
|
2022-01-23 17:10:05 +01:00
|
|
|
Idealnie, widzę że ten temat nie ma dla ciebie tajemnic!
|
2022-04-15 16:59:14 +02:00
|
|
|
{% elif request.session.percentage >= 75 %}
|
2022-01-23 17:10:05 +01:00
|
|
|
Bardzo dobrze, ale są jeszcze pewne braki ;)
|
2022-04-15 16:59:14 +02:00
|
|
|
{% elif request.session.percentage >= 50 %}
|
2022-01-23 17:10:05 +01:00
|
|
|
Nie jest źle, wiedziałeś więcej niż mniej
|
2022-04-15 16:59:14 +02:00
|
|
|
{% elif request.session.percentage >= 25 %}
|
2022-01-23 17:10:05 +01:00
|
|
|
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-04-15 16:59:14 +02:00
|
|
|
<h5 class="resultScore">Rezultat: {{ request.session.status }}</h5>
|
|
|
|
<h5 class="resultText">Twój wynik: {{ request.session.points }}</h5>
|
|
|
|
<h5 class="resultText">Próg zaliczenia: {{ request.session.passing }}</h5>
|
|
|
|
<h5 class="resultText">Maksymalny wynik: {{ request.session.max }}</h5>
|
|
|
|
<h5 class="resultText">Wynik procentowy: {{ request.session.percentage }}%</h5>
|
2022-04-16 17:05:39 +02:00
|
|
|
|
|
|
|
<div class="resultContainerSapce"><br></div>
|
|
|
|
<span><label for="rate"><h5>Jak oceniasz test:</h5></label></span>
|
|
|
|
<select name="rate" id="rate">
|
|
|
|
<option value="1">Tragiczny</option>
|
|
|
|
<option value="2">Słaby</option>
|
|
|
|
<option value="3">Przeciętny</option>
|
|
|
|
<option value="4">Dobry</option>
|
|
|
|
<option value="5">Genialny</option>
|
|
|
|
</select>
|
|
|
|
<span><button class="defaultButton">
|
|
|
|
<a href='' onclick="this.href='rateTest?rate='+document.getElementById('rate').value">Oceń</a>
|
|
|
|
</button></span>
|
|
|
|
<div class="resultContainerSapce"><br></div>
|
|
|
|
|
2022-04-15 16:59:14 +02:00
|
|
|
{% if request.session.password == "" %}
|
2022-04-11 12:20:29 +02:00
|
|
|
<h5>Udostępnij:</h5>
|
|
|
|
{% post_to_facebook object_or_url %}
|
|
|
|
{% post_to_linkedin object_or_url %}
|
|
|
|
{% endif %}
|
2022-04-16 17:05:39 +02:00
|
|
|
|
|
|
|
<div class="resultContainerSapce"><br></div>
|
|
|
|
<button class="defaultButton"><a href="{% url 'home' %}">Strona główna</a></button>
|
2022-01-12 10:50:34 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-10 15:52:28 +02:00
|
|
|
|
2022-01-12 10:50:34 +01:00
|
|
|
{% endblock %}
|
|
|
|
|