Restore sidebar

This commit is contained in:
Jef van Schendel 2012-02-12 16:18:58 +01:00
parent fb1dc4f56b
commit b21c943427
2 changed files with 30 additions and 30 deletions

View File

@ -150,21 +150,19 @@ footer {
clear: both;
}
/* TEMP removal -> permanent removal should also be done in html!
.media_pane {
width: 640px;
width: 560px;
margin-left: 0px;
margin-right: 10px;
float: left;
}
*/
img.media_image {
width: 100%;
}
.media_sidebar {
width: 280px;
width: 240px;
margin-left: 10px;
margin-right: 0px;
float: left;

View File

@ -40,7 +40,6 @@
{% endblock mediagoblin_head %}
{% block mediagoblin_content %}
<div class="media_pane">
{% trans user_url=request.urlgen(
'mediagoblin.user_pages.user_home',
user=media.get_uploader.username),
@ -69,6 +68,7 @@
{% endif %}
{% endblock %}
</div>
<div class="media_pane">
<h2 class="media_title">
{{ media.title }}
</h2>
@ -155,6 +155,8 @@
{{ render_pagination(request, pagination,
media.url_for_self(request.urlgen)) }}
{% endif %}
</div>
<div class="media_sidebar">
{% if media.attachment_files|count %}
<h3>Attachments</h3>
<ul>