feat: add /images image listing page
This commit is contained in:
parent
39a15bb094
commit
fc02399e78
3 changed files with 38 additions and 5 deletions
10
templates/views/images.html
Normal file
10
templates/views/images.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<h1>Images</h1>
|
||||
{% for image in images %}
|
||||
<article>
|
||||
<p>Date taken: {{ image.date_taken }}</p>
|
||||
<p>Note: {{ image.note }}</p>
|
||||
<a href="/images/{{ image.id }}/original" target="_blank">
|
||||
<img src="/images/{{ image.id }}/thumb">
|
||||
</a>
|
||||
</article>
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue