Add header to the single post view
This commit is contained in:
parent
9793827f20
commit
abba8d8dfc
4 changed files with 8 additions and 16 deletions
|
|
@ -57,6 +57,8 @@
|
||||||
* Add possibility to ask for Bitcoin donations [#4375](https://github.com/diaspora/diaspora/pull/4375)
|
* Add possibility to ask for Bitcoin donations [#4375](https://github.com/diaspora/diaspora/pull/4375)
|
||||||
* Remove posts, comments and private conversations from the mobile site. [#4408](https://github.com/diaspora/diaspora/pull/4408) [#4409](https://github.com/diaspora/diaspora/pull/4409)
|
* Remove posts, comments and private conversations from the mobile site. [#4408](https://github.com/diaspora/diaspora/pull/4408) [#4409](https://github.com/diaspora/diaspora/pull/4409)
|
||||||
* Added a link to user photos and thumbnails are shown in the left side bar [#4347](https://github.com/diaspora/diaspora/issues/4347)
|
* Added a link to user photos and thumbnails are shown in the left side bar [#4347](https://github.com/diaspora/diaspora/issues/4347)
|
||||||
|
=======
|
||||||
|
* Rework the single post view
|
||||||
|
|
||||||
# 0.1.1.0
|
# 0.1.1.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
body > #container { margin-top: 50px; } /* to avoid being hidden under the header in the SPV */
|
||||||
|
|
||||||
body > header {
|
body > header {
|
||||||
@include box-shadow(0,1px,3px,rgba(0,0,0,0.9));
|
@include box-shadow(0,1px,3px,rgba(0,0,0,0.9));
|
||||||
background: url('header-bg.png') rgb(40,35,35);
|
background: url('header-bg.png') rgb(40,35,35);
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,4 @@
|
||||||
<div id="author-info"></div>
|
<div id="author-info"></div>
|
||||||
|
|
||||||
<div id="top-right-nav">
|
|
||||||
<a href="/" id="home-button">
|
|
||||||
<span class="label label-inverse">
|
|
||||||
<i class="icon-home icon-white"></i>
|
|
||||||
<span>
|
|
||||||
{{t "viewer.home"}}
|
|
||||||
</span>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="post-content"></div>
|
<div id="post-content"></div>
|
||||||
<div id="post-nav"></div>
|
<div id="post-nav"></div>
|
||||||
<div id="post-interactions"></div>
|
<div id="post-interactions"></div>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ class PostsController < ApplicationController
|
||||||
before_filter :set_format_if_malformed_from_status_net, :only => :show
|
before_filter :set_format_if_malformed_from_status_net, :only => :show
|
||||||
before_filter :find_post, :only => [:show, :next, :previous, :interactions]
|
before_filter :find_post, :only => [:show, :next, :previous, :interactions]
|
||||||
|
|
||||||
layout 'application'
|
layout 'with_header'
|
||||||
before_filter -> { @css_framework = :bootstrap }
|
before_filter -> { @css_framework = :bootstrap }
|
||||||
|
|
||||||
respond_to :html,
|
respond_to :html,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue