mirror of
https://github.com/janeczku/calibre-web
synced 2025-04-09 20:26:43 +00:00
Fix #1915 (more than 10 books at a time are displayed in books table)
This commit is contained in:
parent
e9552fedef
commit
8c0aa79f78
cps
static/js
libs/bootstrap-table/locale
bootstrap-table-af.min.jsbootstrap-table-ar.min.jsbootstrap-table-bg.min.jsbootstrap-table-ca.min.jsbootstrap-table-cs.min.jsbootstrap-table-da.min.jsbootstrap-table-de.min.jsbootstrap-table-el.min.jsbootstrap-table-es.min.jsbootstrap-table-et.min.jsbootstrap-table-eu.min.jsbootstrap-table-fa.min.jsbootstrap-table-fi.min.jsbootstrap-table-fr.min.jsbootstrap-table-he.min.jsbootstrap-table-hr.min.jsbootstrap-table-hu.min.jsbootstrap-table-id.min.jsbootstrap-table-it.min.jsbootstrap-table-ja.min.jsbootstrap-table-ka.min.jsbootstrap-table-ko.min.jsbootstrap-table-nl.min.jsbootstrap-table-pl.min.jsbootstrap-table-pt_BR.min.jsbootstrap-table-ro.min.jsbootstrap-table-ru.min.jsbootstrap-table-sk.min.jsbootstrap-table-sv.min.jsbootstrap-table-tr.min.jsbootstrap-table-uk.min.jsbootstrap-table-zh_Hans_CN.min.js
table.jstemplates
@ -136,10 +136,11 @@ $(function() {
|
||||
|
||||
$("#books-table").bootstrapTable({
|
||||
sidePagination: "server",
|
||||
pageList: "[10, 25, 50, 100]",
|
||||
queryParams: queryParams,
|
||||
pagination: true,
|
||||
paginationLoop: false,
|
||||
paginationDetailHAlign: " hidden",
|
||||
paginationDetailHAlign: "right",
|
||||
paginationHAlign: "left",
|
||||
idField: "id",
|
||||
uniqueId: "id",
|
||||
|
@ -97,5 +97,9 @@
|
||||
<script src="{{ url_for('static', filename='js/libs/bootstrap-table/bootstrap-table.min.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/libs/bootstrap-table/bootstrap-table-editable.min.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='js/libs/bootstrap-table/bootstrap-editable.min.js') }}"></script>
|
||||
{% if not g.user.locale == 'en' %}
|
||||
<script src="{{ url_for('static', filename='js/libs/bootstrap-table/locale/bootstrap-table-' + g.user.locale + '.min.js') }}" charset="UTF-8"></script>
|
||||
{% endif %}
|
||||
|
||||
<script src="{{ url_for('static', filename='js/table.js') }}"></script>
|
||||
{% endblock %}
|
||||
|
@ -21,8 +21,6 @@
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<!--div class="btn btn-default" id="tasks_delete">{{_('Delete finished tasks')}}</div>
|
||||
<div class="btn btn-default" id="tasks_hide">{{_('Hide all tasks')}}</div-->
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block js %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user