Tag Strict/Loose filter controls (non-functional)

Controls to specify whether to use the AND or OR operators when applying ticket filters.

I.e:
- Only show tickets with tag1 AND tag2
- Show tickets matching either tag1 OR tag2
This commit is contained in:
Corban-Lee Jones 2024-01-16 16:22:57 +00:00
parent dc21810add
commit e5930668c5

View File

@ -66,8 +66,50 @@
{% if tags %}
<li class="nav-item mT-15">
<h6>Tags</h6>
<h6 class="peers ai-c jc-sb mb-2">
<span class="peer-greed">Tags</span>
<div class="dropdown">
<button type="button" class="peer me-3 text-body bg-none border-none" data-bs-toggle="dropdown">
<i class="ti-more-alt"></i>
</button>
<ul class="dropdown-menu">
<li>
<span class="dropdown-item-text">Tag Filtering</span>
</li>
<li>
<label for="ticketTags-AND" class="dropdown-item">
<div class="form-check form-check-switch">
<span class="form-check-label">Strict</span>
<input type="radio" name="ticketTags" id="ticketTags-AND" class="form-check-input" checked="checked" value="AND">
</div>
</label>
</li>
<li>
<label for="ticketTags-OR" class="dropdown-item">
<div class="form-check form-check-switch">
<span class="form-check-label">Loose</span>
<input type="radio" name="ticketTags" id="ticketTags-OR" class="form-check-input" value="OR">
</div>
</label>
</li>
</ul>
</div>
</h6>
</li>
<!--
<li class="nav-item">
<label for="" class="nav-link c-grey-800">
<div class="peers ai-c sc-sb">
<div class="peer peer-greed form-switch">
<input type="checkbox" id="" class="form-check-input me-2">
<span></span>
</div>
<div class="peer">
</div>
</div>
</label>
</li> -->
{% for tag in tags %}