2016-11-09 19:24:33 +01:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
2019-01-11 08:36:28 +01:00
|
|
|
<h1 class="{{page}}">{{_(title)}}</h1>
|
2016-11-09 19:24:33 +01:00
|
|
|
<div class="container">
|
2018-08-12 09:29:57 +02:00
|
|
|
<div class="col-xs-12 col-sm-6">
|
2016-11-09 19:24:33 +01:00
|
|
|
{% for entry in entries %}
|
2017-02-25 13:28:57 +01:00
|
|
|
{% if loop.index0 == (loop.length/2)|int and loop.length > 20 %}
|
|
|
|
</div>
|
2018-08-12 09:29:57 +02:00
|
|
|
<div class="col-xs-12 col-sm-6">
|
2017-02-25 13:28:57 +01:00
|
|
|
{% endif %}
|
2016-11-09 19:24:33 +01:00
|
|
|
<div class="row">
|
2018-08-12 09:29:57 +02: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 19:24:33 +01:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2017-02-25 13:28:57 +01:00
|
|
|
</div>
|
2016-11-09 19:24:33 +01:00
|
|
|
{% endblock %}
|