2021-12-13 20:13:06 -05:00
|
|
|
{% load helpers %}
|
|
|
|
|
2022-08-12 11:25:03 -04:00
|
|
|
<div class="row mb-3">
|
|
|
|
<div class="col-auto table-controls noprint">
|
|
|
|
<div class="input-group input-group-sm me-2 quicksearch hide-last-child">
|
2022-08-09 17:32:20 -04:00
|
|
|
<input type="search" results=5 name="q" id="quicksearch" class="form-control" placeholder="Quick search"
|
|
|
|
hx-get="{{ request.full_path }}" hx-target="#object_list" hx-trigger="keyup changed delay:500ms, search" />
|
2022-08-12 11:25:03 -04:00
|
|
|
<button class="btn bg-transparent" type="button" id="quicksearch_clear"><i class="mdi mdi-close-circle"></i></button>
|
2021-12-13 20:13:06 -05:00
|
|
|
</div>
|
2022-08-12 11:25:03 -04:00
|
|
|
{% block extra_table_controls %}{% endblock %}
|
2021-12-13 20:13:06 -05:00
|
|
|
</div>
|
2022-08-12 11:25:03 -04:00
|
|
|
<div class="col-auto ms-auto table-controls noprint">
|
2021-12-13 20:13:06 -05:00
|
|
|
{% if request.user.is_authenticated and table_modal %}
|
2022-08-12 11:25:03 -04:00
|
|
|
<div class="table-configure input-group input-group-sm">
|
|
|
|
<button type="button" data-bs-toggle="modal" title="Configure Table" data-bs-target="#{{ table_modal }}"
|
|
|
|
class="btn btn-sm btn-outline-dark">
|
|
|
|
<i class="mdi mdi-cog"></i> Configure Table
|
|
|
|
</button>
|
|
|
|
</div>
|
2021-12-13 20:13:06 -05:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-08-12 11:25:03 -04:00
|
|
|
</div>
|