diff options
Diffstat (limited to 'bn_django/journal/templates/journal/imageartifact_list.html')
-rw-r--r-- | bn_django/journal/templates/journal/imageartifact_list.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bn_django/journal/templates/journal/imageartifact_list.html b/bn_django/journal/templates/journal/imageartifact_list.html new file mode 100644 index 0000000..6530773 --- /dev/null +++ b/bn_django/journal/templates/journal/imageartifact_list.html @@ -0,0 +1,29 @@ +{% extends "journal/base.html" %} + +{% block path %}<a href="/artifacts/">artifacts</a> + »<a href="/artifacts/images"> images</a>{% endblock %} + +{% block title %}Uploaded Images{% endblock %} + +{% block content %} +<br /> +{% if object_list %} +<table width="100%" class="thumbs"> +{% for item in object_list %} {% cycle <tr/>, , , %} + <td class="photo_thumb"> + <a href="{{ item.id }}/"> + <img src="{{ item.thumburl }}" + alt="{{ item.title }}" /> + </td> {% endfor %} +</table> +{% else %} +<p>There are no images! If you just uploaded a batch +of photos, try hitting your browser's reload button to see if they +show up.</p> {% endif %} + +{% if is_paginated %} {% if has_previous %} +<a href="./?page={{ previous }}">« previous</a> | +{% endif %} {% if has_next %} +<a href="./?page={{ next }}">next »</a> +{% endif %} {% endif %} +{% endblock %} |