From c48719d24d4b6cca7bdcba2be75f3ae7d160979f Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 9 Aug 2021 12:49:49 +0000 Subject: [PATCH] . --- anatomy/static/css/anatomy.css | 10 ++++++++++ physics/templates/physics/exam_list.html | 4 ++-- rapids/templates/rapids/exam_list.html | 4 ++-- static/css/anatomy.css | 10 ++++++++++ 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/anatomy/static/css/anatomy.css b/anatomy/static/css/anatomy.css index f47d2658..350b19d9 100644 --- a/anatomy/static/css/anatomy.css +++ b/anatomy/static/css/anatomy.css @@ -501,4 +501,14 @@ td.user-answer-score-2::after { table.longs .user-answer-score-7\.0, table.longs .user-answer-score-7\.5 { color: green + } + + .published-icon { + border: 1px dotted gray; + opacity: 50%; + } + + .published-icon.true { + border: 1px solid green; + opacity: 100%; } \ No newline at end of file diff --git a/physics/templates/physics/exam_list.html b/physics/templates/physics/exam_list.html index 97c4d779..81c7266c 100644 --- a/physics/templates/physics/exam_list.html +++ b/physics/templates/physics/exam_list.html @@ -8,7 +8,7 @@ {% for exam in exams %} {% if exam.active %}
  • - {{exam.name}} (scores) + {{exam.name}} (scores) Published
  • {% endif %} {% endfor %} @@ -19,7 +19,7 @@ {% for exam in exams %} {% if not exam.active %}
  • - {{exam.name}} (scores) + {{exam.name}} (scores) Published
  • {% endif %} {% endfor %} diff --git a/rapids/templates/rapids/exam_list.html b/rapids/templates/rapids/exam_list.html index ff2cefdf..a9d64b9f 100644 --- a/rapids/templates/rapids/exam_list.html +++ b/rapids/templates/rapids/exam_list.html @@ -8,7 +8,7 @@ {% for exam in exams %} {% if exam.active %}
  • - {{exam.name}} (mark) (scores) [Results are {% if not exam.publish_results %} not {% endif %}published] + {{exam.name}} (mark) (scores) Published
  • {% endif %} {% endfor %} @@ -19,7 +19,7 @@ {% for exam in exams %} {% if not exam.active %}
  • - {{exam.name}} (mark) (scores) [Results are {% if not exam.publish_results %} not {% endif %}published] + {{exam.name}} (mark) (scores) Published
  • {% endif %} {% endfor %} diff --git a/static/css/anatomy.css b/static/css/anatomy.css index f47d2658..350b19d9 100644 --- a/static/css/anatomy.css +++ b/static/css/anatomy.css @@ -501,4 +501,14 @@ td.user-answer-score-2::after { table.longs .user-answer-score-7\.0, table.longs .user-answer-score-7\.5 { color: green + } + + .published-icon { + border: 1px dotted gray; + opacity: 50%; + } + + .published-icon.true { + border: 1px solid green; + opacity: 100%; } \ No newline at end of file