Add user-configurable pagination and enhance case view filters
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user