Commit b7427faa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve starred and trending pages

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 1c8ec154
...@@ -30,4 +30,8 @@ ...@@ -30,4 +30,8 @@
.title { .title {
color: $gl-text-color; color: $gl-text-color;
} }
.oneline {
line-height: 44px;
}
} }
...@@ -301,7 +301,7 @@ table { ...@@ -301,7 +301,7 @@ table {
} }
.btn-sign-in { .btn-sign-in {
margin-top: 7px; margin-top: 15px;
text-shadow: none; text-shadow: none;
} }
......
...@@ -259,17 +259,6 @@ pre.light-well { ...@@ -259,17 +259,6 @@ pre.light-well {
margin-bottom: 0px; margin-bottom: 0px;
border-top: 1px solid #e7e9ed; border-top: 1px solid #e7e9ed;
border-bottom: 1px solid #e7e9ed; border-bottom: 1px solid #e7e9ed;
.projects-list-filter {
@include input-big;
padding: 5px 18px;
}
.btn {
@include btn-big;
padding: 5px 18px;
}
} }
/* /*
......
- page_title "Starred Projects" - page_title "Starred Projects"
- if current_user - if current_user
= render 'dashboard/projects_head' = render 'dashboard/projects_head'
.explore-trending-block .explore-trending-block
.lead .gray-content-block
%i.fa.fa-star
See most starred projects
.pull-right .pull-right
= render 'explore/projects/dropdown' = render 'explore/projects/dropdown'
.oneline
%i.fa.fa-star
See most starred projects
= render 'projects', projects: @starred_projects = render 'projects', projects: @starred_projects
= paginate @starred_projects, theme: 'gitlab' = paginate @starred_projects, theme: 'gitlab'
- page_title "Trending Projects" - page_title "Trending Projects"
- if current_user - if current_user
= render 'dashboard/projects_head' = render 'dashboard/projects_head'
- else
.gray-content-block.explore-title .explore-title
%h3 %h3
Explore GitLab Explore GitLab
%p.lead %p.lead
Discover projects and groups. Share your projects with others Discover projects and groups. Share your projects with others
%br
.explore-trending-block .explore-trending-block
.lead .gray-content-block
%i.fa.fa-comments-o
See most discussed projects for last month
.pull-right .pull-right
= render 'explore/projects/dropdown' = render 'explore/projects/dropdown'
.oneline
%i.fa.fa-comments-o
See most discussed projects for last month
= render 'projects', projects: @trending_projects = render 'projects', projects: @trending_projects
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
.header-content .header-content
- unless current_controller?('sessions') - unless current_controller?('sessions')
.pull-right .pull-right
= link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-success btn-sm' = link_to "Sign in", new_session_path(:user, redirect_to_referer: 'yes'), class: 'btn btn-sign-in btn-success'
%h1.title= title %h1.title= title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment