Add user-configurable pagination and enhance case view filters

This commit is contained in:
Ross
2025-08-11 17:12:22 +01:00
parent 99bc89fe20
commit a8840290f5
4 changed files with 52 additions and 13 deletions
+5 -3
View File
@@ -7,7 +7,9 @@
{% block content %}
<div class="container-fluid">
<h2>My Cases</h2>
<h2>Cases</h2>
Quick filters:<br/>
Show <a href='{% url "atlas:case_view" %}?author={{request.user.id}}'>my cases only</a>, <a href='{% url "atlas:case_view" %}'>all cases</a>
<details>
<summary>
<h4>Filter</h4>
@@ -20,7 +22,6 @@
</div>
View my <a href='{% url "atlas:case_view" %}?author={{request.user.id}}'>cases</a>.
</details>
<form>
<details id="actions-detail" class="mt-3">
<summary>
@@ -78,7 +79,8 @@
</details>
{% render_table table %}
</form>
</div>
{% include "generic/partials/page_size_form.html" %}
<div id="exam-options"></div>
{% endblock %}