#6372: Simplify & streamline table config & table filter elements

This commit is contained in:
checktheroads
2021-07-14 16:25:59 -07:00
parent 7449ea28a5
commit ae5c2d49c6
12 changed files with 66 additions and 82 deletions
+1 -21
View File
@@ -58,27 +58,7 @@
{% endif %}
{# Object list filter, table config #}
<div class="row mb-3">
<div class="col col-md-4 offset-md-8 d-flex noprint table-controls">
<div class="input-group input-group-sm">
<input type="text" class="form-control object-filter" placeholder="Filter" title="Filter text (regular expressions supported)" />
{% if request.user.is_authenticated and table_config_form %}
<button type="button" class="btn btn-outline-dark btn-sm" data-bs-toggle="modal" data-bs-target="#ObjectTable_config" title="Configure Table">
<i class="mdi mdi-table-eye"></i>
</button>
{% endif %}
{% if filter_form %}
<button
type="button"
class="btn btn-sm btn-outline-dark"
data-bs-toggle="collapse"
data-bs-target="#advanced-search-content">
Advanced Search
</button>
{% endif %}
</div>
</div>
</div>
{% include 'inc/table_controls.html' with table_modal="ObjectTable_config" %}
{# Object table #}
<div class="row">