.
This commit is contained in:
@@ -591,14 +591,14 @@ table.longs .user-answer-score- {
|
|||||||
border: 1px dotted gray;
|
border: 1px dotted gray;
|
||||||
opacity: 20%;
|
opacity: 20%;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
display: none;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.published-icon:hover {
|
.published-icon:hover {
|
||||||
opacity: 100%;
|
opacity: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.published-icon.published {
|
.exam-publish-results-switch + .published-icon {
|
||||||
border: 1px solid purple;
|
border: 1px solid purple;
|
||||||
color: purple;
|
color: purple;
|
||||||
opacity: 100%;
|
opacity: 100%;
|
||||||
|
|||||||
@@ -591,14 +591,14 @@ table.longs .user-answer-score- {
|
|||||||
border: 1px dotted gray;
|
border: 1px dotted gray;
|
||||||
opacity: 20%;
|
opacity: 20%;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
display: none;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.published-icon:hover {
|
.published-icon:hover {
|
||||||
opacity: 100%;
|
opacity: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.published-icon.published {
|
.exam-publish-results-switch + .published-icon {
|
||||||
border: 1px solid purple;
|
border: 1px solid purple;
|
||||||
color: purple;
|
color: purple;
|
||||||
opacity: 100%;
|
opacity: 100%;
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
{% if marking %}<a href="{% url app_name|add:':mark_overview' pk=exam.pk %}" class="flex-col">Mark</a>{% endif %}
|
{% if marking %}<a href="{% url app_name|add:':mark_overview' pk=exam.pk %}" class="flex-col">Mark</a>{% endif %}
|
||||||
<a href="{% url app_name|add:':exam_cids' exam_id=exam.pk %}" class="flex-col">Candidates</a>
|
<a href="{% url app_name|add:':exam_cids' exam_id=exam.pk %}" class="flex-col">Candidates</a>
|
||||||
<a href="{% url app_name|add:':exam_scores_cid' pk=exam.pk %}" class="flex-col">Scores</a>
|
<a href="{% url app_name|add:':exam_scores_cid' pk=exam.pk %}" class="flex-col">Scores</a>
|
||||||
<span class="flex-col icon-container"><span class="published-icon {% if exam.publish_results %}published{% endif %}">Results Published</span></span>
|
<label for="{{exam.pk}}-pub" class="flex-col icon-container published-icon {% if exam.publish_results %}published{% endif %}">Results Published</label>
|
||||||
Publish results: <input type="checkbox" class="exam-publish-results-switch" data-posturl="{% url app_name|add:':exam_toggle_results_published' pk=exam.pk %}"
|
<input type="checkbox" id="{{exam.pk}}-pub" class="exam-publish-results-switch" data-posturl="{% url app_name|add:':exam_toggle_results_published' pk=exam.pk %}"
|
||||||
{% if exam.publish_results %}checked{% endif %}>
|
{% if exam.publish_results %}checked{% endif %}>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user