nav includes users and status messages
This commit is contained in:
parent
4584f1309e
commit
63f5fe15d6
4 changed files with 8 additions and 4 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
%body
|
%body
|
||||||
#header
|
#header
|
||||||
.container
|
.container
|
||||||
%img#diaspora_text{:src => 'images/diaspora.png'}
|
%img#diaspora_text{:src => '/images/diaspora.png'}
|
||||||
|
|
||||||
#session_action
|
#session_action
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
|
|
@ -25,7 +25,8 @@
|
||||||
= link_to "login", new_user_session_path
|
= link_to "login", new_user_session_path
|
||||||
|
|
||||||
%ul.nav
|
%ul.nav
|
||||||
%li= link_to "users", users_url
|
%li= link_to "Users", users_url
|
||||||
|
%li= link_to "Status Messages", status_messages_url
|
||||||
|
|
||||||
.container
|
.container
|
||||||
- if show_title?
|
- if show_title?
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
- title "Home"
|
- title "Users"
|
||||||
|
|
||||||
%table
|
%table
|
||||||
%tr
|
%tr
|
||||||
|
|
|
||||||
|
|
@ -59,4 +59,5 @@ h4 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: block; }
|
display: block; }
|
||||||
#header ul.nav li {
|
#header ul.nav li {
|
||||||
display: inline; }
|
display: inline;
|
||||||
|
margin-right: 1em; }
|
||||||
|
|
|
||||||
|
|
@ -70,4 +70,6 @@ h4
|
||||||
|
|
||||||
li
|
li
|
||||||
:display inline
|
:display inline
|
||||||
|
:margin
|
||||||
|
:right 1em
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue