mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-07-05 07:00:14 +02:00
Improve quiz layout: add fixed topbar, include navigation, and clean up unused elements
- Add `.quiz-topbar` with fixed positioning and spacing in `quiz.scss` - Update `base.html.twig` to include `quiz/nav.html.twig` in a new `nav` block - Remove unused "Manage Quiz" button from `select_season.html.twig`
This commit is contained in:
@@ -85,6 +85,15 @@ input.btn-check:checked + label.answer-btn {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.quiz-topbar {
|
||||||
|
position: fixed;
|
||||||
|
top: 1rem;
|
||||||
|
right: 1rem;
|
||||||
|
z-index: 1030;
|
||||||
|
display: flex;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.elimination-screen {
|
.elimination-screen {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% block importmap %}{{ importmap('quiz') }}{% endblock %}
|
{% block importmap %}{{ importmap('quiz') }}{% endblock %}
|
||||||
|
{% block nav %}{{ include('quiz/nav.html.twig') }}{% endblock %}
|
||||||
|
|||||||
@@ -2,6 +2,5 @@
|
|||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="quiz-form-narrow">
|
<div class="quiz-form-narrow">
|
||||||
{{ form(form) }}
|
{{ form(form) }}
|
||||||
<a href="{{ path('tvdt_backoffice_index') }}" class="btn btn-outline-secondary">{{ 'Manage Quiz'|trans }}</a>
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock body %}
|
{% endblock body %}
|
||||||
|
|||||||
Reference in New Issue
Block a user