From 90ceff1b02d115fafd4e602325a00b00561e6fc3 Mon Sep 17 00:00:00 2001 From: Ross Date: Wed, 28 Jan 2026 14:45:01 +0000 Subject: [PATCH] Add admin view for cases ordered by total image size with filtering options --- atlas/templates/atlas/base.html | 6 +++ atlas/urls.py | 1 + atlas/views.py | 62 ++++++++++++++++++++++++++++++ templates/atlas/cases_by_size.html | 43 +++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 templates/atlas/cases_by_size.html diff --git a/atlas/templates/atlas/base.html b/atlas/templates/atlas/base.html index 385a2fd5..edaf8de2 100755 --- a/atlas/templates/atlas/base.html +++ b/atlas/templates/atlas/base.html @@ -49,6 +49,12 @@
  • Normals
  • + {% if request.user.is_staff %} +
  • +
  • + Large cases +
  • + {% endif %}