From 5e14df4836188877d8fd83def6a999a0b88aa831 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 2 Feb 2026 10:21:13 +0000 Subject: [PATCH] Refactor case search page layout and improve indentation in search results --- atlas/templates/atlas/case_search_page.html | 106 +++++++++--------- .../atlas/partials/case_search_results.html | 4 +- 2 files changed, 55 insertions(+), 55 deletions(-) diff --git a/atlas/templates/atlas/case_search_page.html b/atlas/templates/atlas/case_search_page.html index a870c63f..1e19e228 100644 --- a/atlas/templates/atlas/case_search_page.html +++ b/atlas/templates/atlas/case_search_page.html @@ -1,67 +1,67 @@ {% extends 'atlas/base.html' %} {% block content %} -
-

Search Cases

+
+

Search Cases

-
-
- -
-
- -
+ +
+ +
+
+ +
-
- -
+
+ +
-
- - - -
+
+ + + +
-
- - Clear -
-
+
+ + Clear +
+ -
- {% include 'atlas/partials/case_search_results.html' with cases=cases recent_cases=recent_cases collection=None q=q %} +
+ {% include 'atlas/partials/case_search_results.html' with cases=cases recent_cases=recent_cases collection=None q=q %} {# pagination controls #} - {% if cases.has_other_pages %} - + {% endif %} +
-
{% endblock %} diff --git a/atlas/templates/atlas/partials/case_search_results.html b/atlas/templates/atlas/partials/case_search_results.html index 425bc8df..cda0cce2 100644 --- a/atlas/templates/atlas/partials/case_search_results.html +++ b/atlas/templates/atlas/partials/case_search_results.html @@ -2,8 +2,8 @@ {% if q %} {% if cases and cases.exists %}
- {% for case in cases %} -
+ {% for case in cases %} +
{{ case.title }}
{% if case.description %}{{ case.description|truncatechars:100 }}{% endif %}