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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
Show 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 @@
...
@@ -30,4 +30,8 @@
.title
{
.title
{
color
:
$gl-text-color
;
color
:
$gl-text-color
;
}
}
.oneline
{
line-height
:
44px
;
}
}
}
app/assets/stylesheets/generic/common.scss
View file @
b7427faa
...
@@ -301,7 +301,7 @@ table {
...
@@ -301,7 +301,7 @@ table {
}
}
.btn-sign-in
{
.btn-sign-in
{
margin-top
:
7
px
;
margin-top
:
15
px
;
text-shadow
:
none
;
text-shadow
:
none
;
}
}
...
...
app/assets/stylesheets/pages/projects.scss
View file @
b7427faa
...
@@ -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
;
}
}
}
/*
/*
...
...
app/views/explore/projects/starred.html.haml
View file @
b7427faa
-
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'
app/views/explore/projects/trending.html.haml
View file @
b7427faa
-
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
app/views/layouts/header/_public.html.haml
View file @
b7427faa
...
@@ -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
...
...
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