2016-11-09 18:24:33 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
2019-01-11 07:36:28 +00:00
|
|
|
<h1 class="{{page}}">{{_(title)}}</h1>
|
2016-11-09 18:24:33 +00:00
|
|
|
<div class="container">
|
2018-08-12 07:29:57 +00:00
|
|
|
<div class="col-xs-12 col-sm-6">
|
2016-11-09 18:24:33 +00:00
|
|
|
{% for entry in entries %}
|
2017-02-25 12:28:57 +00:00
|
|
|
{% if loop.index0 == (loop.length/2)|int and loop.length > 20 %}
|
|
|
|
</div>
|
2018-08-12 07:29:57 +00:00
|
|
|
<div class="col-xs-12 col-sm-6">
|
2017-02-25 12:28:57 +00:00
|
|
|
{% endif %}
|
2016-11-09 18:24:33 +00:00
|
|
|
<div class="row">
|
2018-08-12 07:29:57 +00:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-1" align="left"><span class="badge">{{entry.count}}</span></div>
|
|
|
|
<div class="col-xs-10 col-sm-10 col-md-11"><a id="list_{{loop.index0}}" href="{{url_for(folder, book_id=entry[0].id )}}">{{entry[0].name}}</a></div>
|
2016-11-09 18:24:33 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2017-02-25 12:28:57 +00:00
|
|
|
</div>
|
2016-11-09 18:24:33 +00:00
|
|
|
{% endblock %}
|