Skip to content

Commit

Permalink
Added filter icon to advanced filter button
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Oct 10, 2024
1 parent 254e30a commit 7f3b7de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions scoring/templates/scoring/icons/filter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<svg width="{{ width|default:'1em' }}" height="{{ height|default:'1em' }}" class="{{ classes }}" role="{{ role|default:'presentation' }}" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21.25 9.99989H8.895M4.534 9.99989H2.75M4.534 9.99989C4.534 9.42172 4.76368 8.86723 5.17251 8.4584C5.58134 8.04957 6.13583 7.81989 6.714 7.81989C7.29217 7.81989 7.84666 8.04957 8.25549 8.4584C8.66432 8.86723 8.894 9.42172 8.894 9.99989C8.894 10.5781 8.66432 11.1326 8.25549 11.5414C7.84666 11.9502 7.29217 12.1799 6.714 12.1799C6.13583 12.1799 5.58134 11.9502 5.17251 11.5414C4.76368 11.1326 4.534 10.5781 4.534 9.99989ZM21.25 16.6069H15.502M15.502 16.6069C15.502 17.1852 15.2718 17.7403 14.8628 18.1492C14.4539 18.5582 13.8993 18.7879 13.321 18.7879C12.7428 18.7879 12.1883 18.5572 11.7795 18.1484C11.3707 17.7396 11.141 17.1851 11.141 16.6069M15.502 16.6069C15.502 16.0286 15.2718 15.4745 14.8628 15.0655C14.4539 14.6566 13.8993 14.4269 13.321 14.4269C12.7428 14.4269 12.1883 14.6566 11.7795 15.0654C11.3707 15.4742 11.141 16.0287 11.141 16.6069M11.141 16.6069H2.75M21.25 3.39289H18.145M13.784 3.39289H2.75M13.784 3.39289C13.784 2.81472 14.0137 2.26023 14.4225 1.8514C14.8313 1.44257 15.3858 1.21289 15.964 1.21289C16.2503 1.21289 16.5338 1.26928 16.7983 1.37883C17.0627 1.48839 17.3031 1.64897 17.5055 1.8514C17.7079 2.05383 17.8685 2.29415 17.9781 2.55864C18.0876 2.82313 18.144 3.10661 18.144 3.39289C18.144 3.67917 18.0876 3.96265 17.9781 4.22714C17.8685 4.49163 17.7079 4.73195 17.5055 4.93438C17.3031 5.13681 17.0627 5.29739 16.7983 5.40695C16.5338 5.5165 16.2503 5.57289 15.964 5.57289C15.3858 5.57289 14.8313 5.34321 14.4225 4.93438C14.0137 4.52555 13.784 3.97106 13.784 3.39289Z" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/></svg>
3 changes: 2 additions & 1 deletion scoring/templates/scoring/includes/advanced-filter.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<button type="button" class="btn btn-primary mt-3 mt-md-0 mb-md-1" data-bs-toggle="modal" data-bs-target="#advancedFilter">
Advanced filters
{% include "scoring/icons/filter.html" %}
Advanced filters
</button>

<div class="modal fade" id="advancedFilter" tabindex="-1" aria-labelledby="advancedFilterLabel" aria-hidden="true">
Expand Down

0 comments on commit 7f3b7de

Please sign in to comment.