diff options
author | Martin Green <martin.speleo@gmail.com> | 2022-06-25 23:17:19 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2022-06-25 23:17:19 +0100 |
commit | 20583b04c0c1a826aaddbf0342f4369a206dae2d (patch) | |
tree | a1ef507b3f8827e70d0233cbb17191ec4f463e40 /templates/image_selector.html | |
parent | b3d9e814997ab8f83e8e441ed48625c66ed68d51 (diff) | |
download | troggle-20583b04c0c1a826aaddbf0342f4369a206dae2d.tar.gz troggle-20583b04c0c1a826aaddbf0342f4369a206dae2d.tar.bz2 troggle-20583b04c0c1a826aaddbf0342f4369a206dae2d.zip |
Allowed user to select/upload images when editing. When uploaded thumbnails and description pages are automatically created. Git commiting can now handle multiple files at once.
Diffstat (limited to 'templates/image_selector.html')
-rw-r--r-- | templates/image_selector.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/image_selector.html b/templates/image_selector.html new file mode 100644 index 0000000..5ac4e01 --- /dev/null +++ b/templates/image_selector.html @@ -0,0 +1,3 @@ +{% for thumbnail in thumbnails %} + <img class = "thumbnail" src = "{{ thumbnail.thumbnail_url }}" data-html = "{% include 'linked_image_template.html' with thumbnail_url=thumbnail.thumbnail_url page_url=thumbnail.page_url %}"/> +{% endfor %} |