diff --git a/atlas/templates/atlas/author_list.html b/atlas/templates/atlas/author_list.html index c9f24e20..0e10b9be 100755 --- a/atlas/templates/atlas/author_list.html +++ b/atlas/templates/atlas/author_list.html @@ -2,7 +2,7 @@ {% block content %} -{% for author in authors %} -

Author: {{author.username}},

-{% endfor %} -{% endblock %} \ No newline at end of file + {% for author in authors %} +

Author: {{author.username}},

+ {% endfor %} +{% endblock %} diff --git a/atlas/templates/atlas/base.html b/atlas/templates/atlas/base.html index 81ea8489..ca8c36fe 100755 --- a/atlas/templates/atlas/base.html +++ b/atlas/templates/atlas/base.html @@ -1,7 +1,7 @@ {% extends 'base.html' %} {% block title %} -Atlas + Atlas {% endblock %} {% block css %} @@ -15,16 +15,16 @@ Atlas {% block content %} {% endblock %} {% block navigation %} -Atlas: -{% if request.user.is_authenticated %} -Cases / -Series / -Collections / -Categories / -Create Case / -Create Series -{% endif %} -{% comment %}
+ Atlas: + {% if request.user.is_authenticated %} + Cases / + Series / + Collections / + Categories / + Create Case / + Create Series + {% endif %} + {% comment %}
Questions by: author {% endcomment %} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/atlas/templates/atlas/case_detail.html b/atlas/templates/atlas/case_detail.html index 1e928f4c..1c170a17 100755 --- a/atlas/templates/atlas/case_detail.html +++ b/atlas/templates/atlas/case_detail.html @@ -4,21 +4,21 @@ -
- Edit - Clone - Delete - Add - Note - {% if request.user.is_superuser %} - Admin Edit - {% endif %} -
+
+ Edit + Clone + Delete + Add + Note + {% if request.user.is_superuser %} + Admin Edit + {% endif %} +
{% include 'atlas/case_display_block.html' %} - {% endblock %} +{% endblock %} - {% block js %} +{% block js %} - {% endblock %} \ No newline at end of file +{% endblock %} diff --git a/atlas/templates/atlas/case_display_block.html b/atlas/templates/atlas/case_display_block.html index f7d12e7b..c09c2123 100755 --- a/atlas/templates/atlas/case_display_block.html +++ b/atlas/templates/atlas/case_display_block.html @@ -1,125 +1,125 @@ -
-
- {{ case.created_date|date:"d/m/Y" }} -
-
- ID: {{ case.id }} -
-

Title: {{ case.title }}

- -

Description: {{ case.description }}

- -

- Presentation: -

-

- -

History: {{ case.history }}

- -

Discussion: {{ case.discussion }}

- -

Report: {{ case.report }}

- -
Series: - {% for series in case.series.all %} - - - Series {{ forloop.counter }}: - - {{series.get_block}} - - - Popup - - - {% endfor %} - Add new series
-
- {% comment %}

Scrapped: {{ case.scrapped }} (toggle) {% endcomment %} - -

-

- Condition: -

-
- Findings - {% if case.series.all %} - See individual series for more details.
- {% for series in case.series.all %} - {% for finding in series.findings.all %} -
- - Series {{series.pk}}: {{series.get_examination_full}} |  - - {% if finding.findings.all %} - - Findings: {% for f in finding.findings.all %} - {{f.get_link}},  - {% endfor %} - - {% endif %} - {% if finding.structures.all %} - - Structure: {% for s in finding.structures.all %} - {{s.get_link}},  - {% endfor %} - - {% endif %} - {% if finding.description %} - - Description: {{finding.description}} - - {% endif %} -
- - {% endfor %} - {% endfor %} - {% else %} - No findings associated with case. - {% endif %} -
-
- Differentials -
    - {% for diff in case.differentialcase.all %} -
  • {{diff.condition.get_link}} - {{diff.text}}
  • - {% endfor %} -
-
-

-
- Subspecialty: - - Pathological Process: - -

-

Previous case: {{ case.previous_case }}

-

Next case: {{ case.next_case }}

-
- {% include 'question_notes.html' %} - -
- -

Checked by: {% for verified in case.verified.all %} {{verified}}, {% endfor %}

- -

Author(s): {% for author in case.author.all %} {{author}}, {% endfor %}

+
+
+ {{ case.created_date|date:"d/m/Y" }} +
+
+ ID: {{ case.id }} +
+

Title: {{ case.title }}

+ +

Description: {{ case.description }}

+ +

+ Presentation: +

+

+ +

History: {{ case.history }}

+ +

Discussion: {{ case.discussion }}

+ +

Report: {{ case.report }}

+ +
Series: + {% for series in case.series.all %} + + + Series {{ forloop.counter }}: + + {{series.get_block}} + + + Popup + + + {% endfor %} + Add new series
+
+ {% comment %}

Scrapped: {{ case.scrapped }} (toggle) {% endcomment %} + +

+

+ Condition: +

    + {% for con in case.condition.all %} +
  • {{con.get_link}}
  • + {% endfor %} +
+
+ Findings + {% if case.series.all %} + See individual series for more details.
+ {% for series in case.series.all %} + {% for finding in series.findings.all %} +
+ + Series {{series.pk}}: {{series.get_examination_full}} |  + + {% if finding.findings.all %} + + Findings: {% for f in finding.findings.all %} + {{f.get_link}},  + {% endfor %} + + {% endif %} + {% if finding.structures.all %} + + Structure: {% for s in finding.structures.all %} + {{s.get_link}},  + {% endfor %} + + {% endif %} + {% if finding.description %} + + Description: {{finding.description}} + + {% endif %} +
+ + {% endfor %} + {% endfor %} + {% else %} + No findings associated with case. + {% endif %} +
+
+ Differentials +
    + {% for diff in case.differentialcase.all %} +
  • {{diff.condition.get_link}} - {{diff.text}}
  • + {% endfor %} +
+
+

+
+ Subspecialty: + + Pathological Process: + +

+

Previous case: {{ case.previous_case }}

+

Next case: {{ case.next_case }}

+
+ {% include 'question_notes.html' %} + +
+ +

Checked by: {% for verified in case.verified.all %} {{verified}}, {% endfor %}

+ +

Author(s): {% for author in case.author.all %} {{author}}, {% endfor %}

diff --git a/atlas/templates/atlas/case_form.html b/atlas/templates/atlas/case_form.html index bf5febcd..74032194 100755 --- a/atlas/templates/atlas/case_form.html +++ b/atlas/templates/atlas/case_form.html @@ -4,95 +4,95 @@ {% block css %} {% endblock %} {% block js %} - -{{form.media}} + + {{form.media}} - + - + {% endblock %} {% block content %} -

Submit Case

-Use this form to create a atlas case. Existing associated image sets can be added using this form. -
- {% csrf_token %} +

Submit Case

+ Use this form to create a atlas case. Existing associated image sets can be added using this form. + + {% csrf_token %} - - {{ form.as_table }} -
-

Series:

- Add image sets here. These can only be added once created (they can also be added to cases on creation). - -
- {% for form in series_formset %} -