First push with 180px wide thumbnails
This commit is contained in:
parent
18d9287aa9
commit
e854a1285c
@ -221,20 +221,14 @@ text-align:center;
|
|||||||
|
|
||||||
/* media galleries */
|
/* media galleries */
|
||||||
|
|
||||||
ul.media_thumbnail {
|
.media_thumbnail {
|
||||||
padding:0px;
|
padding:0px;
|
||||||
}
|
width:180px;
|
||||||
|
height:135px;
|
||||||
li.media_thumbnail {
|
overflow:hidden;
|
||||||
width:200px;
|
float:left;
|
||||||
height:200px;
|
|
||||||
display:-moz-inline-stack;
|
|
||||||
display:inline-block;
|
|
||||||
vertical-align:top;
|
|
||||||
margin:0px 10px 10px 0px;
|
margin:0px 10px 10px 0px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
zoom:1;
|
|
||||||
. *display:inline;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* icons */
|
/* icons */
|
||||||
|
@ -31,7 +31,11 @@
|
|||||||
'mediagoblin.user_pages.user_home',
|
'mediagoblin.user_pages.user_home',
|
||||||
user=user.username) }}">{{ user.username }}</a>'s media</h1>
|
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(
|
<a href={{ request.urlgen(
|
||||||
'mediagoblin.user_pages.atom_feed',
|
'mediagoblin.user_pages.atom_feed',
|
||||||
|
@ -19,17 +19,14 @@
|
|||||||
{% from "mediagoblin/utils/pagination.html" import render_pagination %}
|
{% from "mediagoblin/utils/pagination.html" import render_pagination %}
|
||||||
|
|
||||||
{% block object_gallery_content -%}
|
{% block object_gallery_content -%}
|
||||||
<div>
|
|
||||||
{% if media_entries %}
|
{% if media_entries %}
|
||||||
<ul class="media_thumbnail">
|
{% for entry in media_entries %}
|
||||||
{% for entry in media_entries %}
|
<div class="media_thumbnail">
|
||||||
<li class="media_thumbnail">
|
<a href="{{ entry.url_for_self(request.urlgen) }}">
|
||||||
<a href="{{ entry.url_for_self(request.urlgen) }}">
|
<img src="{{ request.app.public_store.file_url(
|
||||||
<img src="{{ request.app.public_store.file_url(
|
|
||||||
entry['media_files']['thumb']) }}" /></a>
|
entry['media_files']['thumb']) }}" /></a>
|
||||||
</li>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
|
||||||
{% if pagination_base_url %}
|
{% if pagination_base_url %}
|
||||||
{# different url, so set that and don't keep the get params #}
|
{# different url, so set that and don't keep the get params #}
|
||||||
{{ render_pagination(request, pagination, pagination_base_url, False) }}
|
{{ render_pagination(request, pagination, pagination_base_url, False) }}
|
||||||
@ -37,5 +34,4 @@
|
|||||||
{{ render_pagination(request, pagination) }}
|
{{ render_pagination(request, pagination) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
{% endblock %}
|
||||||
{% endblock %}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user