diff --git a/anatomy/templates/anatomy/base.html b/anatomy/templates/anatomy/base.html index e0d32b50..1041a5a4 100644 --- a/anatomy/templates/anatomy/base.html +++ b/anatomy/templates/anatomy/base.html @@ -2,7 +2,7 @@ - Anatomy Quiz + Anatomy diff --git a/anatomy/templates/anatomy/exam_list.html b/anatomy/templates/anatomy/exam_list.html index dafe7db5..7c61c002 100644 --- a/anatomy/templates/anatomy/exam_list.html +++ b/anatomy/templates/anatomy/exam_list.html @@ -8,7 +8,7 @@ {% for exam in exams %} {% if exam.active %}
  • - {{exam.name}} (mark) + {{exam.name}} (mark) (scores)
  • {% endif %} {% endfor %} @@ -19,7 +19,7 @@ {% for exam in exams %} {% if not exam.active %}
  • - {{exam.name}} (mark) + {{exam.name}} (mark) (scores)
  • {% endif %} {% endfor %} diff --git a/physics/templates/physics/base.html b/physics/templates/physics/base.html index 10786cdc..301209d7 100644 --- a/physics/templates/physics/base.html +++ b/physics/templates/physics/base.html @@ -2,7 +2,7 @@ - Anatomy Quiz + Physics diff --git a/physics/templates/physics/exam_list.html b/physics/templates/physics/exam_list.html index 9fac8ada..cf3a86c4 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}} + {{exam.name}} (scores)
  • {% endif %} {% endfor %} @@ -19,7 +19,7 @@ {% for exam in exams %} {% if not exam.active %}
  • - {{exam.name}} + {{exam.name}} (scores)
  • {% endif %} {% endfor %} diff --git a/physics/templates/physics/exam_scores.html b/physics/templates/physics/exam_scores.html index 9551563f..c72a63ff 100644 --- a/physics/templates/physics/exam_scores.html +++ b/physics/templates/physics/exam_scores.html @@ -8,8 +8,8 @@

    Stats

    Mean: {{mean}}, Median {{median}}, Mode {{mode}} -

    Distribution of results

    -
    {{plot|safe}}
    + +

    Distribution of results

    {{plot|safe}}
    diff --git a/physics/templates/physics/exam_take.html b/physics/templates/physics/exam_take.html index 45d9ff08..8521549d 100644 --- a/physics/templates/physics/exam_take.html +++ b/physics/templates/physics/exam_take.html @@ -117,7 +117,7 @@ function postAnswers(ans) { if (ret) { //window.saveSession(); - + $("#exams-button-link").remove(); $("#submit").after(''); $("#exams-button-link").click(() => { window.location.href = "{% url 'physics:active_exams' %}"; diff --git a/physics/views.py b/physics/views.py index 3a1a7038..2d31833b 100644 --- a/physics/views.py +++ b/physics/views.py @@ -176,7 +176,7 @@ def exam_scores_cid(request, pk): mode = "No unique mode" df = user_scores_list - fig = px.histogram(df, x=0, title="Distribution of scores", labels={0: "Score"}) + fig = px.histogram(df, x=0, title="Distribution of scores", labels={"0": "Score"}, height=400, width=600) fig_html = fig.to_html() total = len(questions) diff --git a/templates/base.html b/templates/base.html index e5235834..5833f3c4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,7 +2,7 @@ - Radiology Stuff + Penra Courses diff --git a/templates/index.html b/templates/index.html index 30896a6d..25dc63ff 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@ {% block content %}
    -

    Radiology Stuff

    +

    Penra Courses

    Anatomy Physics Log in