You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.1 KiB
47 lines
2.1 KiB
{% extends "base.html" %} |
|
{% block title %}Прохождение теста{% endblock %} |
|
|
|
{% block content %} |
|
<div class="attempt-root test-detail-page" id="attempt-root" data-test-id="{{ test_id }}" data-attempt-id="{{ attempt_id }}"> |
|
|
|
<a href="{{ url_for('tests.tests_list_page') }}" class="link-back attempt-back-link">← К тестам</a> |
|
|
|
<div id="attempt-flow" class="attempt-flow"> |
|
<header class="attempt-progress-head"> |
|
<div class="attempt-progress-row"> |
|
<span id="attempt-progress-label" class="attempt-progress-label" aria-live="polite">—</span> |
|
<span id="attempt-timer" class="attempt-timer" style="display:none;" aria-live="polite"></span> |
|
</div> |
|
<div class="attempt-progress-track" |
|
role="progressbar" |
|
aria-valuemin="1" |
|
aria-valuenow="1" |
|
aria-valuemax="1" |
|
aria-label="Прогресс прохождения"> |
|
<div id="attempt-progress-fill" class="attempt-progress-fill"></div> |
|
</div> |
|
<h1 class="attempt-title font-headline" id="attempt-title">Загрузка…</h1> |
|
<p class="attempt-subtitle muted text-sm" id="attempt-subtitle"></p> |
|
</header> |
|
|
|
<div id="attempt-stage" class="attempt-stage"></div> |
|
|
|
<footer class="attempt-footer-bar" aria-label="Навигация по вопросам"> |
|
<div class="attempt-footer-inner"> |
|
<button type="button" class="btn btn-ghost attempt-footer-btn" id="attempt-prev" hidden>Назад</button> |
|
<div class="attempt-footer-spacer"></div> |
|
<button type="button" class="btn btn-primary attempt-footer-btn" id="attempt-next">Далее</button> |
|
<button type="button" class="btn btn-primary attempt-footer-btn" id="attempt-finish" style="display:none;">Завершить тест</button> |
|
</div> |
|
</footer> |
|
</div> |
|
|
|
<p id="attempt-error" class="callout callout--error attempt-error-box" style="display:none;"></p> |
|
|
|
<div id="attempt-result" class="surface-card attempt-result-card" style="display:none;"></div> |
|
</div> |
|
{% endblock %} |
|
|
|
{% block scripts %} |
|
<script src="{{ url_for('static', filename='js/attempt.js') }}" defer></script> |
|
{% endblock %}
|
|
|