Participate / Explore have been upgraded to top-level status.

This commit is contained in:
danielgrippi 2012-02-08 16:27:36 -08:00
parent ceb0a15a84
commit 398ca3d97b
4 changed files with 115 additions and 104 deletions

View file

@ -29,6 +29,16 @@
= link_to current_user.first_name, local_or_remote_person_path(current_user.person) = link_to current_user.first_name, local_or_remote_person_path(current_user.person)
.section .section
%ul.left_nav
%li
= link_to t("streams.participate.title"), participate_path, :class => 'home_selector', :rel => 'backbone'
%ul.left_nav.sub
%li
= link_to t('streams.mentions.title'), mentioned_stream_path, :class => 'home_selector', :rel => 'backbone'
%br
%ul.left_nav %ul.left_nav
%li %li
= link_to t("streams.multi.title"), explore_path, :class => 'home_selector', :rel => 'backbone' = link_to t("streams.multi.title"), explore_path, :class => 'home_selector', :rel => 'backbone'
@ -38,24 +48,6 @@
#followed_tags_listing #followed_tags_listing
= render 'tags/followed_tags_listings' = render 'tags/followed_tags_listings'
%br
%ul.left_nav
%li
= link_to t("streams.participate.title"), participate_path, :class => 'home_selector', :rel => 'backbone'
%ul.left_nav.sub
%li
= link_to t('streams.like_stream.title'), liked_stream_path, :class => 'home_selector', :rel => 'backbone'
%ul.left_nav.sub
%li
= link_to t('streams.comment_stream.title'), commented_stream_path, :class => 'home_selector', :rel => 'backbone'
%ul.left_nav.sub
%li
= link_to t('streams.mentions.title'), mentioned_stream_path, :class => 'home_selector', :rel => 'backbone'
.span-13.append-1 .span-13.append-1

View file

@ -24,6 +24,10 @@ en:
months: "%d months" months: "%d months"
year: "about a year" year: "about a year"
years: "%d years" years: "%d years"
participate: "Participate"
explore: "Explore"
videos: videos:
watch: "Watch this video on <%= provider %>" watch: "Watch this video on <%= provider %>"
unknown: "Unknown video type" unknown: "Unknown video type"
@ -117,7 +121,7 @@ en:
notifications: "Notifications" notifications: "Notifications"
messages: "Messages" messages: "Messages"
search: "Find people or #tags" search: "Search"
recent_notifications: "Recent Notifications" recent_notifications: "Recent Notifications"
mark_all_as_read: "Mark all as read" mark_all_as_read: "Mark all as read"

View file

@ -1,22 +1,25 @@
<div class="container" style="position:relative;"> <div class="container" style="position:relative;">
<a href="/explore">
<a href="/participate">
<img alt="Logo_small" class="diaspora_header_logo" height="38px" width="65px" src="{{imageUrl "/images/header-logo.png"}}" /> <img alt="Logo_small" class="diaspora_header_logo" height="38px" width="65px" src="{{imageUrl "/images/header-logo.png"}}" />
</a> </a>
<div id="global_search"> <span class="header-nav">
<form accept-charset="UTF-8" action="/people" class="search_form" method="get"> <span>
<input name="utf8" type="hidden" value="✓"> <a href="/participate">
<input id="q" name="q" placeholder="{{t "header.search"}}" results="5" type="search" autocomplete="off" class="ac_input"> {{t "participate"}}
</form> </a>
</div> </span>
<span>
<a href="/explore">
{{t "explore"}}
</a>
</span>
</span>
<div id="nav_badges"> <div id="nav_badges">
<div class="badge" id="home_badge">
<a href="/explore" title="{{t "header.home"}}"><img alt="Home" src="{{imageUrl "/images/icons/home_grey.png"}}" />
</a>
</div>
<div class="badge" id="notification_badge"> <div class="badge" id="notification_badge">
<a href="/notifications" title="{{t "header.notifications"}}"> <a href="/notifications" title="{{t "header.notifications"}}">
<img alt="{{t "header.notifications"}}" id="notification-flag" src="{{imageUrl "/images/icons/notifications_grey.png"}}" /> <img alt="{{t "header.notifications"}}" id="notification-flag" src="{{imageUrl "/images/icons/notifications_grey.png"}}" />
@ -34,7 +37,7 @@
</div> </div>
</a> </a>
</div> </div>
</div>
<div id="notification_dropdown"> <div id="notification_dropdown">
<div class="header"> <div class="header">
@ -59,6 +62,8 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div id="hovercard_container"> <div id="hovercard_container">
<div id="hovercard"> <div id="hovercard">
@ -93,6 +98,14 @@
<li><a href="/users/sign_out">{{t "header.log_out"}}</a></li> <li><a href="/users/sign_out">{{t "header.log_out"}}</a></li>
</ul> </ul>
<div id="global_search">
<form accept-charset="UTF-8" action="/people" class="search_form" method="get">
<input name="utf8" type="hidden" value="✓">
<input id="q" name="q" placeholder="{{t "header.search"}}" results="5" type="search" autocomplete="off" class="ac_input">
</form>
</div>
<div id="lightbox"> <div id="lightbox">
<div id="lightbox-content"> <div id="lightbox-content">
<a href="#" id="lightbox-close-link">[x] close</a> <a href="#" id="lightbox-close-link">[x] close</a>

View file

@ -174,7 +174,7 @@ header
:left 0 :left 0
:border :border
:bottom 1px solid #444 :bottom 1px solid #000
a a
:color #CCC :color #CCC
@ -212,11 +212,10 @@ header
:left 1px solid #333 :left 1px solid #333
:right 1px solid #333 :right 1px solid #333
:position absolute
:display inline :display inline
:top -4px :top -4px
:right 0 :float right
li li
a a
@ -263,6 +262,31 @@ header
:top 9px :top 9px
:display block :display block
.header-nav
:font-weight bold
:float left
:height 100%
:margin-right 5px
:margin-top 3px
a
:padding 0 10px
:width 100%
&:hover
:text-decoration none
> span
:height 100%
:display inline-block
:margin-left -4px
:border
:left 1px solid #333
:right 1px solid #333
&:last-child
:margin-left -5px
header.ie-user-menu-active header.ie-user-menu-active
:height 150px :height 150px
@ -299,14 +323,8 @@ ul.as-selections
:color #333 !important :color #333 !important
.diaspora_header_logo .diaspora_header_logo
:position relative :float left
:top -6px :margin-top -6px
:padding 0 10px
:margin
:left 43px
:right 60px
.stream .stream
audio audio
@ -323,7 +341,6 @@ ul.as-selections
:border :border
:top none :top none
.youtube-player, .vimeo-player .youtube-player, .vimeo-player
:border none :border none
:height 304px :height 304px
@ -1181,50 +1198,40 @@ img.scaled_full
header #global_search header #global_search
:display inline :display inline
:position relative :float right
:top -20px :margin-top -1px
:margin-right 10px
form form
:display inline :display inline
input input
@include box-shadow(0,1px,1px,#444) @include box-shadow(0,1px,1px,#444)
@include border-radius(3px) @include border-radius(15px)
@include transition(background-color) @include transition(width)
:width 100px
:display inline :display inline
:background-color #555 :background-color #444
:background-color rgba(60,60,60,0.6)
:border
:top 1px solid #111
:font
:size 14px
:border 1px solid #222 :border 1px solid #222
&:hover &:hover
:background-color #888 :background-color #555
:background-color rgba(90,90,90,0.6)
&.active &.active
:background-color #fafafa :background-color #fafafa
:background-color rgba(160,160,160,0.6) :background-color rgba(160,160,160,0.6)
&:focus &:focus
@include box-shadow(0,0,5px,#fff)
:outline none :outline none
:background-color white :background-color white
:width 200px
input[type='search'] &[type='search']
:width 220px &:-webkit-input-placeholder
:padding 5px
&::-webkit-input-placeholder
:text-shadow none :text-shadow none
&:-moz-placeholder &:-moz-placeholder
:text-shadow none :text-shadow none
@ -1679,13 +1686,9 @@ h3 span.current_gs_step
:color #22AAE0 :color #22AAE0
#nav_badges #nav_badges
:position absolute
:display inline-block :display inline-block
:min-width 170px :margin-top 2px
:top 3px :float left
:left 410px
:margin
:left 20px
a:hover a:hover
:text :text
@ -3137,11 +3140,10 @@ a.toggle_selector
:background white :background white
:border solid #888 1px :border solid #888 1px
:position absolute :left 300px
:top 32px
:left 462px
:width 380px :width 380px
:display none :display none
:margin-top 8px
:color #444 :color #444