2016-01-20 23:55:56 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
2016-01-31 21:18:13 +01:00
|
|
|
{% load staticfiles %}
|
|
|
|
<link rel="stylesheet" href="{% static 'css/style.css' %}">
|
|
|
|
<link href="{% static 'images/favicon.ico' %}" rel="shortcut icon">
|
|
|
|
<title>{{ settings.title }}</title>
|
2016-01-20 23:55:56 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="container">
|
2016-02-14 15:02:26 +01:00
|
|
|
<img src="{{ settings.logo }}" class="mainLogo">
|
2016-01-31 18:19:45 +01:00
|
|
|
<h1>{{ settings.title }}</h1>
|
2016-02-14 15:02:26 +01:00
|
|
|
<p>{{ settings.message_welcome_user }}</p>
|
2016-01-31 18:19:45 +01:00
|
|
|
<hr/>
|
2016-02-09 21:35:46 +01:00
|
|
|
<div class="margin50" ></div>
|
2016-01-31 16:17:37 +01:00
|
|
|
|
2016-01-31 21:18:13 +01:00
|
|
|
{% for question, options in questions_options.items %}
|
|
|
|
<h2>{{ question.id }}: {{ question.title }}</h2>
|
|
|
|
<p>{{ question.text }}</p>
|
|
|
|
|
2016-02-14 15:02:26 +01:00
|
|
|
<p id="enable-{{ question.id }}" data-value="{{ question.enable }}" data-questionId= "{{ question.id }}" class="message_already_answered hide">
|
|
|
|
{{ settings.message_already_answered }}
|
|
|
|
</p>
|
|
|
|
|
2016-01-31 21:18:13 +01:00
|
|
|
<form action="#">
|
|
|
|
{% for option in options %}
|
|
|
|
|
|
|
|
<label>
|
2016-02-09 19:51:05 +01:00
|
|
|
<input name="checkbox_{{ question.id }}" type="checkbox" value="{{ option.id }}">
|
2016-01-31 21:18:13 +01:00
|
|
|
{{ option.text }}
|
|
|
|
</label>
|
|
|
|
{% endfor %}
|
2016-02-09 21:35:46 +01:00
|
|
|
<button class="margin10" type="button" id="showSolution_{{ question.id }}" onmousedown="get_answer({{ question.id }})">{{ settings.button_solution }}</button>
|
2016-01-31 21:18:13 +01:00
|
|
|
</form>
|
|
|
|
|
|
|
|
<p id="explanation_{{ question.id }}" class="hide">{{ question.explanation }}</p>
|
2016-02-14 16:15:13 +01:00
|
|
|
<div class="margin25"></div>
|
2016-01-31 16:17:37 +01:00
|
|
|
{% endfor %}
|
|
|
|
|
2016-02-09 21:35:46 +01:00
|
|
|
<div class="margin50" ></div>
|
2016-01-31 18:19:45 +01:00
|
|
|
<hr/>
|
|
|
|
{{ settings.footer }}
|
|
|
|
|
2016-01-20 23:55:56 +01:00
|
|
|
</div>
|
|
|
|
|
2016-02-14 15:02:26 +01:00
|
|
|
<script type="text/javascript" src="{% static 'js/elearning.js' %}"></script>
|
2016-01-20 23:55:56 +01:00
|
|
|
</body>
|
|
|
|
</html>
|