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 @@
.title {
color: $gl-text-color;
}
.oneline {
line-height: 44px;
}
}
......@@ -301,7 +301,7 @@ table {
}
.btn-sign-in {
margin-top: 7px;
margin-top: 15px;
text-shadow: none;
}
......
......@@ -259,17 +259,6 @@ pre.light-well {
margin-bottom: 0px;
border-top: 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"
- if current_user
= render 'dashboard/projects_head'
.explore-trending-block
.lead
%i.fa.fa-star
See most starred projects
.gray-content-block
.pull-right
= render 'explore/projects/dropdown'
.oneline
%i.fa.fa-star
See most starred projects
= render 'projects', projects: @starred_projects
= paginate @starred_projects, theme: 'gitlab'
- page_title "Trending Projects"
- if current_user
= render 'dashboard/projects_head'
.gray-content-block.explore-title
%h3
Explore GitLab
%p.lead
Discover projects and groups. Share your projects with others
- else
.explore-title
%h3
Explore GitLab
%p.lead
Discover projects and groups. Share your projects with others
%br
.explore-trending-block
.lead
%i.fa.fa-comments-o
See most discussed projects for last month
.gray-content-block
.pull-right
= render 'explore/projects/dropdown'
.oneline
%i.fa.fa-comments-o
See most discussed projects for last month
= render 'projects', projects: @trending_projects
......@@ -3,7 +3,7 @@
.header-content
- unless current_controller?('sessions')
.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
......
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