mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 20:39:59 +00:00
4708347c16
# Conflicts: # MANIFEST.in # README.md # cps/helper.py # cps/static/js/archive/archive.js # cps/translations/nl/LC_MESSAGES/messages.mo # cps/translations/nl/LC_MESSAGES/messages.po # cps/ub.py # cps/updater.py # cps/web.py # cps/worker.py # optional-requirements.txt
23 lines
857 B
HTML
23 lines
857 B
HTML
{% extends "layout.html" %}
|
|
{% block body %}
|
|
<div class="col-sm-6 col-lg-6 col-xs-6">
|
|
<h2>{{title}}</h2>
|
|
<div>{{_('Drag \'n drop to rearrange order')}}</div>
|
|
<div id="sortTrue" class="list-group">
|
|
{% for entry in entries %}
|
|
<div id="{{entry.id}}" class="list-group-item">{{entry.title}}</div>
|
|
{% endfor %}
|
|
</div>
|
|
<button onclick="sendData('{{ url_for('shelf.order_shelf', shelf_id=shelf.id) }}')" class="btn btn-default" id="ChangeOrder">{{_('Change order')}}</button>
|
|
<a href="{{ url_for('shelf.show_shelf', shelf_id=shelf.id) }}" class="btn btn-default">{{_('Back')}}</a>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block js %}
|
|
<script src="{{ url_for('static', filename='js/libs/Sortable.min.js') }}"></script>
|
|
<script src="{{ url_for('static', filename='js/shelforder.js') }}"></script>
|
|
{% endblock %}
|
|
|
|
|
|
|