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
af501845
Commit
af501845
authored
Jan 13, 2016
by
Jacob Schatz
Committed by
Rubén Dávila
Jan 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aligns menu at top on one row
parent
8f0eee06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
10 deletions
+26
-10
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+16
-0
app/views/projects/forks/index.html.haml
app/views/projects/forks/index.html.haml
+10
-10
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
af501845
...
@@ -391,6 +391,22 @@ pre.light-well {
...
@@ -391,6 +391,22 @@ pre.light-well {
padding-bottom
:
0
;
padding-bottom
:
0
;
margin-bottom
:
0px
;
margin-bottom
:
0px
;
&
.fork-search-form
{
margin
:
0
;
margin-top
:
-
$gl-padding
;
padding-bottom
:
0
;
width
:
540px
;
input
{
width
:
calc
(
100%
-
277px
);
}
.fork_link
{
float
:
right
;
margin-left
:
$gl-padding
;
}
}
input
{
input
{
display
:
inline-block
;
display
:
inline-block
;
width
:
calc
(
100%
-
151px
);
width
:
calc
(
100%
-
151px
);
...
...
app/views/projects/forks/index.html.haml
View file @
af501845
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
==
#{
pluralize
(
@all_forks
.
size
,
'fork'
)
}
:
#{
full_count_title
}
==
#{
pluralize
(
@all_forks
.
size
,
'fork'
)
}
:
#{
full_count_title
}
.pull-right
.pull-right
.projects-search-form
.projects-search-form
.fork-search-form
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Search forks'
,
class:
'projects-list-filter form-control'
,
=
search_field_tag
:filter_projects
,
nil
,
placeholder:
'Search forks'
,
class:
'projects-list-filter form-control'
,
spellcheck:
false
,
data:
{
'filter-selector'
=>
'span.namespace-name'
}
spellcheck:
false
,
data:
{
'filter-selector'
=>
'span.namespace-name'
}
...
@@ -29,15 +29,15 @@
...
@@ -29,15 +29,15 @@
=
link_to
page_filter_path
(
sort:
sort_value_oldest_updated
)
do
=
link_to
page_filter_path
(
sort:
sort_value_oldest_updated
)
do
=
sort_title_oldest_updated
=
sort_title_oldest_updated
.fork_link.inline
.fork_link.inline
-
if
current_user
.
already_forked?
(
@project
)
&&
current_user
.
manageable_namespaces
.
size
<
2
-
if
current_user
.
already_forked?
(
@project
)
&&
current_user
.
manageable_namespaces
.
size
<
2
=
link_to
namespace_project_path
(
current_user
,
current_user
.
fork_of
(
@project
)),
title:
'Go to your fork'
,
class:
'pull-right btn btn-new'
do
=
link_to
namespace_project_path
(
current_user
,
current_user
.
fork_of
(
@project
)),
title:
'Go to your fork'
,
class:
'pull-right btn btn-new'
do
=
icon
(
'code-fork fw'
)
=
icon
(
'code-fork fw'
)
Fork
Fork
-
else
-
else
=
link_to
new_namespace_project_fork_path
(
@project
.
namespace
,
@project
),
title:
"Fork project"
,
class:
'pull-right btn btn-new'
do
=
link_to
new_namespace_project_fork_path
(
@project
.
namespace
,
@project
),
title:
"Fork project"
,
class:
'pull-right btn btn-new'
do
=
icon
(
'code-fork fw'
)
=
icon
(
'code-fork fw'
)
Fork
Fork
.projects-list-holder
.projects-list-holder
...
...
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