aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorJef van Schendel <jefvanschendel@gmail.com>2011-07-03 22:29:36 +0200
committerJef van Schendel <jefvanschendel@gmail.com>2011-07-03 22:29:36 +0200
commite854a1285c7a522398dea3c1a99dbb25afca7e56 (patch)
tree4cab0805f60ab7545d553ae279dfdee6d45779f7 /mediagoblin/templates
parent18d9287aa9e396e253abf1f8c86a2804c3c64de3 (diff)
downloadmediagoblin-e854a1285c7a522398dea3c1a99dbb25afca7e56.tar.lz
mediagoblin-e854a1285c7a522398dea3c1a99dbb25afca7e56.tar.xz
mediagoblin-e854a1285c7a522398dea3c1a99dbb25afca7e56.zip
First push with 180px wide thumbnails
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/user_pages/gallery.html6
-rw-r--r--mediagoblin/templates/mediagoblin/utils/object_gallery.html18
2 files changed, 12 insertions, 12 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/gallery.html b/mediagoblin/templates/mediagoblin/user_pages/gallery.html
index 28290cfd..a434ff15 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/gallery.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/gallery.html
@@ -31,7 +31,11 @@
'mediagoblin.user_pages.user_home',
user=user.username) }}">{{ user.username }}</a>'s media</h1>
- {% include "mediagoblin/utils/object_gallery.html" %}
+ </div>
+ <div class="container_16 media_gallery">
+ {% include "mediagoblin/utils/object_gallery.html" %}
+ </div>
+ <div class="grid_16">
<a href={{ request.urlgen(
'mediagoblin.user_pages.atom_feed',
diff --git a/mediagoblin/templates/mediagoblin/utils/object_gallery.html b/mediagoblin/templates/mediagoblin/utils/object_gallery.html
index 4e2886f8..96600c33 100644
--- a/mediagoblin/templates/mediagoblin/utils/object_gallery.html
+++ b/mediagoblin/templates/mediagoblin/utils/object_gallery.html
@@ -19,17 +19,14 @@
{% from "mediagoblin/utils/pagination.html" import render_pagination %}
{% block object_gallery_content -%}
- <div>
{% if media_entries %}
- <ul class="media_thumbnail">
- {% for entry in media_entries %}
- <li class="media_thumbnail">
- <a href="{{ entry.url_for_self(request.urlgen) }}">
- <img src="{{ request.app.public_store.file_url(
+ {% for entry in media_entries %}
+ <div class="media_thumbnail">
+ <a href="{{ entry.url_for_self(request.urlgen) }}">
+ <img src="{{ request.app.public_store.file_url(
entry['media_files']['thumb']) }}" /></a>
- </li>
- {% endfor %}
- </ul>
+ </div>
+ {% endfor %}
{% if pagination_base_url %}
{# different url, so set that and don't keep the get params #}
{{ render_pagination(request, pagination, pagination_base_url, False) }}
@@ -37,5 +34,4 @@
{{ render_pagination(request, pagination) }}
{% endif %}
{% endif %}
- </div>
-{% endblock %}
+{% endblock %}