Add visibility toggle for object depth indicators

This commit is contained in:
Matt
2021-08-18 14:46:49 -07:00
parent e4a162b054
commit 9b3498d87a
6 changed files with 99 additions and 10 deletions
+3
View File
@@ -2,6 +2,9 @@
{% load helpers %}
{% block extra_controls %}
<button class="btn btn-sm btn-outline-secondary toggle-depth" type="button">
Hide Depth Indicators
</button>
<div class="dropdown">
<button class="btn btn-sm btn-outline-secondary dropdown-toggle" type="button" id="max_depth" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
Max Depth{% if "depth__lte" in request.GET %}: {{ request.GET.depth__lte }}{% endif %}