a955b31b715a50684df22e127241aacdb6bcdca8
[wolnelektury.git] / src / social / templates / social / 2022 / my_shelf.html
1 {% extends '2022/base.html' %}
2 {% load catalogue_tags %}
3
4
5 {% block settings %}
6   {% load title %}
7   {% title 'Półka' %}
8 {% endblock %}
9
10 {% block main %}
11   <div class="l-section">
12     <div class="l-author__header">
13       <h1>Półka</h1>
14     </div>
15   </div>
16
17   <div class="l-section">
18     <div class="l-books__header">
19       <div class="l-books__input">
20         <i class="icon icon-filter"></i>
21         <input type="text" placeholder="filtry, tytuł" class="quick-filter" data-for="book-list" data-filters="with-filter">
22       </div>
23       <div class="l-books__sorting">
24         <span>Sortuj:</span>
25         <div>
26           <button data-order="data-pop">najpopularniejsze</button>
27           <button class="is-active">alfabetycznie</button>
28           <!--button>chronologicznie</button-->
29         </div>
30       </div>
31     </div>
32   </div>
33
34   <div class="with-filter">
35
36     <div class="row">
37       <h2 class="header">&nbsp;</h2>
38       {% if suggest %}
39         <div class="filter-container">
40           {% with list_type='book' %}
41             {% for tag in suggest %}
42               <span class="filter filter-category-{{ tag.category }}">
43                 <a href="{% catalogue_url list_type tag %}">{{ tag }}</a>
44               </span>
45             {% endfor %}
46           {% endwith %}
47         </div>
48       {% endif %}
49     </div>
50   </div>
51
52
53
54   <div class="l-section l-section--col">
55     <div class="l-books__grid" id="book-list">
56       {% for book in books %}
57         {% include "catalogue/2022/book_box.html" %}
58       {% endfor %}
59     </div>
60   </div>
61
62 {% endblock %}