]> git.p6c8.net - pcdenotes.git/blob - notes/templates/note_list.html
e77bce06508c1a8954bfcda91d7f5fd8779da0b1
[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 <ul class="pagination mt-5">
13 {% for page in pages %}
14 {% ifnotequal page.number page_number %}
15 <li class="page-item"><a href="?page={{ page.number }}" class="page-link">{{ page.number }}</a></li>
16 {% else %}
17 <li class="page-item active"><span class="page-link">{{ page.number }}</span></li>
18 {% endifnotequal %}
19 {% endfor %}
20 </ul>
21 {% endblock %}

patrick-canterino.de