.
This commit is contained in:
@@ -523,4 +523,12 @@ td.user-answer-score-2::after {
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
background-color: #343a40;
|
background-color: #343a40;
|
||||||
color: lightgray;
|
color: lightgray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exam-list li {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exam-list li .col {
|
||||||
|
flex: 1;
|
||||||
}
|
}
|
||||||
@@ -4,22 +4,22 @@
|
|||||||
<h1>Examinations</h1>
|
<h1>Examinations</h1>
|
||||||
<div class="physics">
|
<div class="physics">
|
||||||
Active exams:<br/>
|
Active exams:<br/>
|
||||||
<ul>
|
<ul class="exam-list">
|
||||||
{% for exam in exams %}
|
{% for exam in exams %}
|
||||||
{% if exam.active %}
|
{% if exam.active %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'physics:exam_overview' pk=exam.pk %}">{{exam.name}}</a> <a href="{% url 'physics:exam_scores_cid' pk=exam.pk %}">(scores)</a> <span class="published-icon {% if exam.publish_results %}published{% endif %}">Results Published</span>
|
<a href="{% url 'physics:exam_overview' pk=exam.pk %}" class="flex-col">{{exam.name}}</a> <a href="{% url 'physics:exam_scores_cid' pk=exam.pk %}" class="flex-col">(scores)</a> <span class="flex-col published-icon {% if exam.publish_results %}published{% endif %}">Results Published</span>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
Inactive exams:<br/>
|
Inactive exams:<br/>
|
||||||
<ul>
|
<ul class="exam-list">
|
||||||
{% for exam in exams %}
|
{% for exam in exams %}
|
||||||
{% if not exam.active %}
|
{% if not exam.active %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'physics:exam_overview' pk=exam.pk %}">{{exam.name}}</a> <a href="{% url 'physics:exam_scores_cid' pk=exam.pk %}">(scores)</a> <span class="published-icon {% if exam.publish_results %}published{% endif %}">Results Published</span>
|
<a href="{% url 'physics:exam_overview' pk=exam.pk %}" class="flex-col">{{exam.name}}</a> <a href="{% url 'physics:exam_scores_cid' pk=exam.pk %}" class="flex-col">(scores)</a> <span class="flex-col published-icon {% if exam.publish_results %}published{% endif %}">Results Published</span>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -523,4 +523,12 @@ td.user-answer-score-2::after {
|
|||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
background-color: #343a40;
|
background-color: #343a40;
|
||||||
color: lightgray;
|
color: lightgray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exam-list li {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.exam-list li .col {
|
||||||
|
flex: 1;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user