Add export to csv for books
This commit is contained in:
parent
a4c5e8185b
commit
60a5bf5583
10 changed files with 166 additions and 27 deletions
|
|
@ -4,7 +4,11 @@
|
|||
{% import "components/cards.html" as cards %}
|
||||
|
||||
{% block main %}
|
||||
{{ typography::heading("All books") }}
|
||||
{% call typography::heading("All books") %}
|
||||
<a href="/books/download_csv?{{ base_query }}" class="btn btn-info">
|
||||
<i class="fa fa-download me-2" aria-hidden="true"></i> Download (csv)
|
||||
</a>
|
||||
{% endcall %}
|
||||
|
||||
{% call cards::card() %}
|
||||
<form method="get">
|
||||
|
|
|
|||
|
|
@ -25,10 +25,9 @@
|
|||
</select>
|
||||
|
||||
<a class="btn btn-success text-white" href="/books/new">
|
||||
<i class="fa fa-download me-2"></i>
|
||||
Add book
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Reference in a new issue