calibre-web/cps/templates/list.html
2019-03-03 07:37:15 +01:00

22 lines
833 B
HTML

{% extends "layout.html" %}
{% block body %}
<h1 class="{{page}}">{{_(title)}}</h1>
<div class="container">
<span class="btn btn-success"><span class="glyphicon glyphicon-sort-by-alphabet"></span></span></button>
<button class="btn btn-success"><span class="glyphicon glyphicon-sort-by-alphabet-alt"></span></button>
<div class="btn-group" role="group">
{% for char in charlist%}
<button class="btn btn-success">{{char.char}}</button>
{% endfor %}
</div>
<div class="grid">
{% for entry in entries %}
<div class="grid-item">
<span class="badge">{{entry.count}}</span>
<a id="list_{{loop.index0}}" href="{{url_for(folder, book_id=entry[0].id )}}">{{entry[0].name}}</a>
</div>
{% endfor %}
</div>
</div>
{% endblock %}