8fda39d0965c2685b7f2653940b0c1f1a1db0149
[wolnelektury.git] / src / catalogue / templates / catalogue / collections.html
1 {% extends 'base.html' %}
2
3
4 {% block breadcrumbs %}
5   <a href="/katalog/"><span>Katalog</span></a>
6 {% endblock %}
7
8
9 {% block main %}
10
11   <div class="l-section">
12     <div class="l-author__header">
13       <h1>Kolekcje</h1>
14     </div>
15   </div>
16
17   <div class="l-search-bar">
18     <div class="l-search-bar__input">
19       <i class="icon icon-filter"></i>
20       <input type="text" placeholder="filtry, tytuł" class="quick-filter" data-for="collections">
21     </div>
22   </div>
23
24   <div id="collections">
25   {% for collection in objects %}
26     <section class="l-section">
27       <div class="l-collections -js-collections">
28         <div class="l-collections__header">
29           <h3><a class="s" href="{{ collection.get_absolute_url }}">{{ collection.title }}</a></h3>
30         </div>
31         <div class="l-books">
32           {% for book in collection.get_5_books %}
33             {% include 'catalogue/book_box.html' %}
34           {% endfor %}
35         </div>
36       </div>
37     </section>
38   {% endfor %}
39   </div>
40
41
42 {% endblock %}