From 4628f39a4947fc7ae46dae18e7d1c9a4b85be062 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 2 Feb 2026 09:12:56 +0000 Subject: [PATCH] Refactor case size template for improved readability and structure --- atlas/templates/atlas/base.html | 10 ++-- templates/atlas/cases_by_size.html | 76 +++++++++++++++--------------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/atlas/templates/atlas/base.html b/atlas/templates/atlas/base.html index edaf8de2..79f044c3 100755 --- a/atlas/templates/atlas/base.html +++ b/atlas/templates/atlas/base.html @@ -50,10 +50,10 @@ Normals {% if request.user.is_staff %} -
  • -
  • - Large cases -
  • +
  • +
  • + Large cases +
  • {% endif %} @@ -113,7 +113,7 @@ - + diff --git a/templates/atlas/cases_by_size.html b/templates/atlas/cases_by_size.html index 86dd2d75..26adf65b 100644 --- a/templates/atlas/cases_by_size.html +++ b/templates/atlas/cases_by_size.html @@ -1,43 +1,43 @@ {% extends 'base.html' %} {% block content %} -

    Cases by size

    -
    - - -
    - - - - - - - - - - - - {% for row in page.object_list %} +

    Cases by size

    + + + + +
    CaseTitleSeriesImagesTotal Size
    + - - - - - + + + + + - {% empty %} - - {% endfor %} - -
    {{ row.case.pk }}{{ row.case.title }}{{ row.series_count }}{{ row.image_count }}{{ row.human_total }}CaseTitleSeriesImagesTotal Size
    No cases
    - + + + {% for row in page.object_list %} + + {{ row.case.pk }} + {{ row.case.title }} + {{ row.series_count }} + {{ row.image_count }} + {{ row.human_total }} + + {% empty %} + No cases + {% endfor %} + + + {% endblock %}