Add option to make active list filters more visible. #178

* add option to make active list filters more visible

* fix margins and border radius for selected filters
This commit is contained in:
Éric
2022-10-06 03:47:19 -04:00
committed by GitHub
parent 56f876d25e
commit f25d340738
7 changed files with 55 additions and 7 deletions
@@ -1,7 +1,7 @@
{% load i18n %}
<div class="list-filter-dropdown">
<h3>{% blocktrans with title as filter_title %} By {{ filter_title }} {% endblocktrans %}</h3>
<h3 {% if spec.lookup_val or spec.value %}class="active"{% endif %}>{% blocktrans with title as filter_title %} By {{ filter_title }} {% endblocktrans %}</h3>
<div align="right">
<select onChange="javascript:window.location = this.options[this.selectedIndex].value;">
{% for choice in choices %}