mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Add "clear all" option for applied filters
This commit is contained in:
parent
9f59f99663
commit
90a820e0cf
BIN
netbox/project-static/dist/netbox-dark.css
vendored
BIN
netbox/project-static/dist/netbox-dark.css
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox-light.css
vendored
BIN
netbox/project-static/dist/netbox-light.css
vendored
Binary file not shown.
@ -34,3 +34,7 @@ a[type='button'] {
|
||||
.form-control {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.badge {
|
||||
font-size: $font-size-xs;
|
||||
}
|
@ -5,5 +5,10 @@
|
||||
<i class="mdi mdi-close"></i> {{ filter.link_text }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
{% if applied_filters|length > 1 %}
|
||||
<a href="?" class="badge rounded-pill bg-danger text-decoration-none me-1">
|
||||
<i class="mdi mdi-tag-off"></i> Clear all
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user