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