]> git.p6c8.net - pcdenotes.git/blob - notes/templates/note_list.html
fb2da3323eeb119467cf1c05c1706a8440039364
[pcdenotes.git] / notes / templates / note_list.html
1 {% load markdownify %}
2 <!DOCTYPE html>
3
4 <html lang="de">
5 <head>
6 <title>Notes</title>
7 <meta charset="UTF-8" />
8 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
9 </head>
10 <body>
11
12 <h1>Notes</h1>
13 {% for note in notes %}
14 <h2>{{ note.title }}</h2>
15 <p>ID: {{ note.id }}</p>
16 <div>{{ note.content|linebreaksbr|markdownify }}</div>
17 <p>Link: <a href="{{ note.get_absolute_url }}">View</a></p>
18 <p>Date: {{ note.created_at|date:"Y-m-d H:i" }}</p>
19 {% empty %}
20 <p>No notes</p>
21 {% endfor %}
22
23 <p>Number of notes: {{ notes_count }}</p>
24
25 </body>
26 </html>

patrick-canterino.de