From f9ee8ecf16f35979910deecd5ffde029d4033e9c Mon Sep 17 00:00:00 2001 From: Zak Timson Date: Tue, 24 Oct 2017 00:11:16 -0400 Subject: [PATCH] Mobile friendly expert viewer --- expert_witnesses/templates/expertViewer.html | 25 +++++++++++++------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/expert_witnesses/templates/expertViewer.html b/expert_witnesses/templates/expertViewer.html index ea6ea1d..3c59570 100644 --- a/expert_witnesses/templates/expertViewer.html +++ b/expert_witnesses/templates/expertViewer.html @@ -2,12 +2,12 @@ {% block head %} {% endblock %} @@ -15,7 +15,7 @@
-
+

{{ expert.name }}

{% if expert.institute %} @@ -24,6 +24,14 @@ No Institute {% endif %}
+
+
Expertise
+
    + {% for e in expert.expertise.all %} +
  • {{ e.field }}
  • + {% endfor %} +
+
Cases
@@ -35,7 +43,8 @@ {% for case in expert.cases.all %} - + @@ -49,7 +58,7 @@
{{ case.synopsis }} {{ case.published }}
-
+
Areas of Expertise
    {% for e in expert.expertise.all %}