Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
b7427faa
Commit
b7427faa
authored
Sep 03, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve starred and trending pages
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
1c8ec154
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
25 deletions
+22
-25
app/assets/stylesheets/generic/blocks.scss
app/assets/stylesheets/generic/blocks.scss
+4
-0
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+1
-1
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-11
app/views/explore/projects/starred.html.haml
app/views/explore/projects/starred.html.haml
+5
-3
app/views/explore/projects/trending.html.haml
app/views/explore/projects/trending.html.haml
+11
-9
app/views/layouts/header/_public.html.haml
app/views/layouts/header/_public.html.haml
+1
-1
No files found.
app/assets/stylesheets/generic/blocks.scss
View file @
b7427faa
...
...
@@ -30,4 +30,8 @@
.title
{
color
:
$gl-text-color
;
}
.oneline
{
line-height
:
44px
;
}
}
app/assets/stylesheets/generic/common.scss
View file @
b7427faa
...
...
@@ -301,7 +301,7 @@ table {
}
.btn-sign-in
{
margin-top
:
7
px
;
margin-top
:
15
px
;
text-shadow
:
none
;
}
...
...
app/assets/stylesheets/pages/projects.scss
View file @
b7427faa
...
...
@@ -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
;
}
}
/*
...
...
app/views/explore/projects/starred.html.haml
View file @
b7427faa
-
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'
app/views/explore/projects/trending.html.haml
View file @
b7427faa
-
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
app/views/layouts/header/_public.html.haml
View file @
b7427faa
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment