2021-12-13 20:13:06 -05:00
|
|
|
{% load helpers %}
|
2023-07-29 03:30:25 +07:00
|
|
|
{% load i18n %}
|
2021-12-13 20:13:06 -05:00
|
|
|
|
2022-08-12 11:25:03 -04:00
|
|
|
<div class="row mb-3">
|
2024-01-17 16:25:42 -05:00
|
|
|
<div class="col-auto d-print-none">
|
2024-03-28 11:51:38 -04:00
|
|
|
<div class="input-group input-group-flat me-2 quicksearch" hx-disinherit="hx-select hx-swap">
|
2024-01-23 10:30:23 -05:00
|
|
|
<input type="search" results="5" name="q" id="quicksearch" class="form-control px-2 py-1" placeholder="Quick search"
|
2022-08-09 17:32:20 -04:00
|
|
|
hx-get="{{ request.full_path }}" hx-target="#object_list" hx-trigger="keyup changed delay:500ms, search" />
|
2024-01-23 10:30:23 -05:00
|
|
|
<span class="input-group-text py-1">
|
2024-05-08 14:49:14 -04:00
|
|
|
<a href="#" id="quicksearch_clear" class="invisible text-secondary"><i class="mdi mdi-close-circle"></i></a>
|
2024-01-23 10:30:23 -05:00
|
|
|
</span>
|
2022-08-12 11:25:03 -04:00
|
|
|
{% block extra_table_controls %}{% endblock %}
|
2024-01-23 10:30:23 -05:00
|
|
|
</div>
|
2021-12-13 20:13:06 -05:00
|
|
|
</div>
|
2024-01-17 16:25:42 -05:00
|
|
|
<div class="col-auto ms-auto d-print-none">
|
2021-12-13 20:13:06 -05:00
|
|
|
{% if request.user.is_authenticated and table_modal %}
|
2024-01-17 16:25:42 -05:00
|
|
|
<div class="table-configure input-group">
|
2023-07-29 03:30:25 +07:00
|
|
|
<button type="button" data-bs-toggle="modal" title="{% trans "Configure Table" %}" data-bs-target="#{{ table_modal }}"
|
2024-01-17 16:25:42 -05:00
|
|
|
class="btn">
|
2023-07-29 03:30:25 +07:00
|
|
|
<i class="mdi mdi-cog"></i> {% trans "Configure Table" %}
|
2022-08-12 11:25:03 -04:00
|
|
|
</button>
|
|
|
|
</div>
|
2021-12-13 20:13:06 -05:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-08-12 11:25:03 -04:00
|
|
|
</div>
|