mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-08-13 07:01:13 +00:00
Improved CSV export code
This commit is contained in:
@@ -31,6 +31,17 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div th:each="field : ${schema.getComputedColumnNames()}">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox"
|
||||
th:value="${field}" th:id="|__check_${field}|"
|
||||
th:name="fields[]"
|
||||
checked>
|
||||
<label class="form-check-label" th:for="|__check_${field}|">
|
||||
[[ ${field} ]]
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div th:if="${!activeFilters.isEmpty()}">
|
||||
<h5 class="fw-bold mt-3 mb-0">Active filters</h5>
|
||||
<p class="text-muted">Remove them from the right sidebar.</p>
|
||||
@@ -140,8 +151,8 @@
|
||||
<span title="Database table name" class="ms-3 label label-primary label-gray font-monospace">
|
||||
[[ ${schema.getTableName()} ]]
|
||||
</span>
|
||||
<button type="button" class="btn p-0 m-0 ms-3" data-bs-toggle="modal" data-bs-target="#csvExportModal">
|
||||
<i class="bi bi-file-earmark-spreadsheet" style="font-size: 1.5rem;"></i>
|
||||
<button title="Open export data window" type="button" class="btn" data-bs-toggle="modal" data-bs-target="#csvExportModal">
|
||||
<i class="bi bi-file-earmark-spreadsheet export-icon" style="font-size: 1.5rem;"></i>
|
||||
</button>
|
||||
</h3>
|
||||
|
||||
|
Reference in New Issue
Block a user