]> git.p6c8.net - pcdenotes.git/blob - notes/templates/note_list.html
f1f5ee530c591805555fda26e262dfb9384f7f03
[pcdenotes.git] / notes / templates / note_list.html
1 {% extends "note_base.html" %}
2
3 {% block title %}Notes{% endblock %}
4
5 {% block content %}
6 {% for note in notes_page %}
7 {% include "note.html" %}
8 {% empty %}
9 <p>No notes</p>
10 {% endfor %}
11
12 {% if page_count > 1 %}
13 <ul class="pagination mt-5">
14 {% for page in pages %}
15 {% ifnotequal page.number page_number %}
16 <li class="page-item"><a href="?page={{ page.number }}" class="page-link">{{ page.number }}</a></li>
17 {% else %}
18 <li class="page-item active"><span class="page-link">{{ page.number }}</span></li>
19 {% endifnotequal %}
20 {% endfor %}
21 </ul>
22 {% endif %}
23 {% endblock %}

patrick-canterino.de