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