2016-11-09 18:24:33 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<h1>{{title}}</h1>
|
|
|
|
<div class="container">
|
2018-08-31 08:47:58 +00:00
|
|
|
<div class="col-xs-12 col-sm-6">
|
2016-11-09 18:24:33 +00:00
|
|
|
{% for lang in languages %}
|
2017-02-25 12:28:57 +00:00
|
|
|
{% if loop.index0 == (loop.length/2)|int and loop.length > 20 %}
|
|
|
|
</div>
|
2018-08-31 08:47:58 +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-31 08:47:58 +00:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-1" align="left"><span class="badge">{{lang_counter[loop.index0].bookcount}}</span></div>
|
2019-02-09 17:46:36 +00:00
|
|
|
<div class="col-xs-10 col-sm-10 col-md-11"><a id="list_{{loop.index0}}" href="{{url_for('web.language', name=lang.lang_code)}}">{{lang.name}}</a></div>
|
2016-11-09 18:24:33 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2017-02-25 12:28:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-09 18:24:33 +00:00
|
|
|
{% endblock %}
|