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
48ecb614
Commit
48ecb614
authored
Dec 21, 2015
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
project header
parent
e1e39b61
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
22 deletions
+52
-22
app/assets/stylesheets/framework/common.scss
app/assets/stylesheets/framework/common.scss
+2
-1
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+33
-3
app/views/dashboard/_projects_head.html.haml
app/views/dashboard/_projects_head.html.haml
+17
-10
app/views/dashboard/projects/_projects.html.haml
app/views/dashboard/projects/_projects.html.haml
+0
-8
No files found.
app/assets/stylesheets/framework/common.scss
View file @
48ecb614
...
...
@@ -376,11 +376,12 @@ table {
.center-top-menu
{
@include
nav-menu
;
text-align
:
center
;
text-align
:
left
;
margin-top
:
5px
;
margin-bottom
:
$gl-padding
;
height
:
auto
;
margin-top
:
-
$gl-padding
;
border-bottom
:
1px
solid
#EEE
;
&
.no-bottom
{
margin-bottom
:
0
;
...
...
app/assets/stylesheets/pages/projects.scss
View file @
48ecb614
...
...
@@ -335,6 +335,29 @@ ul.nav.nav-projects-tabs {
}
}
.top-area
{
border-bottom
:
1px
solid
#EEE
;
ul
.center-top-menu
{
display
:
inline-block
;
width
:
50%
;
margin-bottom
:
0px
;
border-bottom
:
none
;
}
.projects-search-form
{
width
:
50%
;
display
:
inline-block
;
float
:
right
;
padding-top
:
7px
;
.btn-green
{
margin-top
:
-2px
;
margin-left
:
10px
;
}
}
}
.fork-namespaces
{
.fork-thumbnail
{
text-align
:
center
;
...
...
@@ -412,11 +435,18 @@ pre.light-well {
.projects-search-form
{
margin
:
-
$gl-padding
;
background-color
:
#f8fafc
;
padding
:
$gl-padding
;
margin-bottom
:
0px
;
border-top
:
1px
solid
#e7e9ed
;
border-bottom
:
1px
solid
#e7e9ed
;
input
{
display
:
inline-block
;
width
:
calc
(
100%
-
148px
);
}
.btn
{
display
:
inline-block
;
width
:
135px
;
}
}
.git-empty
{
...
...
app/views/dashboard/_projects_head.html.haml
View file @
48ecb614
=
content_for
:flash_message
do
=
render
'shared/project_limit'
%ul
.center-top-menu
.top-area
%ul
.center-top-menu
=
nav_link
(
page:
[
dashboard_projects_path
,
root_path
])
do
=
link_to
dashboard_projects_path
,
title:
'Home'
,
class:
'shortcuts-activity'
,
data:
{
placement:
'right'
}
do
Your Projects
...
...
@@ -11,3 +11,10 @@
=
nav_link
(
page:
[
explore_root_path
,
trending_explore_projects_path
,
starred_explore_projects_path
,
explore_projects_path
],
html_options:
{
class:
'hidden-xs'
})
do
=
link_to
explore_root_path
,
title:
'Explore'
,
data:
{
placement:
'right'
}
do
Explore Projects
.projects-search-form
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name...'
,
class:
'projects-list-filter form-control'
,
spellcheck:
false
-
if
current_user
.
can_create_project?
=
link_to
new_project_path
,
class:
'btn btn-green'
do
%i
.fa.fa-plus
New Project
app/views/dashboard/projects/_projects.html.haml
View file @
48ecb614
.projects-list-holder
.projects-search-form
.input-group
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Filter by name'
,
class:
'projects-list-filter form-control'
,
spellcheck:
false
-
if
current_user
.
can_create_project?
%span
.input-group-btn
=
link_to
new_project_path
,
class:
'btn btn-green'
do
%i
.fa.fa-plus
New Project
=
render
'shared/projects/list'
,
projects:
@projects
,
ci:
true
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