Restore sidebar
This commit is contained in:
parent
fb1dc4f56b
commit
b21c943427
@ -150,21 +150,19 @@ footer {
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TEMP removal -> permanent removal should also be done in html!
|
|
||||||
.media_pane {
|
.media_pane {
|
||||||
width: 640px;
|
width: 560px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
img.media_image {
|
img.media_image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.media_sidebar {
|
.media_sidebar {
|
||||||
width: 280px;
|
width: 240px;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
{% endblock mediagoblin_head %}
|
{% endblock mediagoblin_head %}
|
||||||
|
|
||||||
{% block mediagoblin_content %}
|
{% block mediagoblin_content %}
|
||||||
<div class="media_pane">
|
|
||||||
{% trans user_url=request.urlgen(
|
{% trans user_url=request.urlgen(
|
||||||
'mediagoblin.user_pages.user_home',
|
'mediagoblin.user_pages.user_home',
|
||||||
user=media.get_uploader.username),
|
user=media.get_uploader.username),
|
||||||
@ -69,6 +68,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="media_pane">
|
||||||
<h2 class="media_title">
|
<h2 class="media_title">
|
||||||
{{ media.title }}
|
{{ media.title }}
|
||||||
</h2>
|
</h2>
|
||||||
@ -155,6 +155,8 @@
|
|||||||
{{ render_pagination(request, pagination,
|
{{ render_pagination(request, pagination,
|
||||||
media.url_for_self(request.urlgen)) }}
|
media.url_for_self(request.urlgen)) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
<div class="media_sidebar">
|
||||||
{% if media.attachment_files|count %}
|
{% if media.attachment_files|count %}
|
||||||
<h3>Attachments</h3>
|
<h3>Attachments</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user