BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
9c7faac0
Commit
9c7faac0
authored
Mar 14, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'resetyle-import' into 'master'
Restyle import Render import providers in one line and make it buttons See merge request !1699
parents
8e1a3fd1
abf90611
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
25 deletions
+23
-25
projects.scss
app/assets/stylesheets/pages/projects.scss
+5
-0
new.html.haml
app/views/projects/new.html.haml
+18
-25
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
9c7faac0
...
...
@@ -301,3 +301,8 @@ table.table.protected-branches-list tr.no-border {
border
:
0
;
}
}
.project-import
.btn
{
float
:
left
;
margin-right
:
10px
;
}
app/views/projects/new.html.haml
View file @
9c7faac0
...
...
@@ -40,52 +40,45 @@
The import will time out after 4 minutes. For big repositories, use a clone/push combination.
For SVN repositories, check
#{
link_to
"this migrating from SVN doc."
,
"http://doc.gitlab.com/ce/workflow/migrating_from_svn.html"
}
.project-import.form-group
.col-sm-2
%label
.control-label
Import projects from
.col-sm-10
-
if
github_import_enabled?
=
link_to
status_import_github_path
do
=
link_to
status_import_github_path
,
class:
'btn'
do
%i
.fa.fa-github
Import projects from
GitHub
GitHub
-
else
=
link_to
'#'
,
class:
'how_to_import_link light'
do
=
link_to
'#'
,
class:
'how_to_import_link light
btn
'
do
%i
.fa.fa-github
Import projects from
GitHub
GitHub
=
render
'github_import_modal'
.project-import.form-group
.col-sm-2
.col-sm-10
-
if
bitbucket_import_enabled?
=
link_to
status_import_bitbucket_path
do
=
link_to
status_import_bitbucket_path
,
class:
'btn'
do
%i
.fa.fa-bitbucket
Import projects from
Bitbucket
Bitbucket
-
else
=
link_to
'#'
,
class:
'how_to_import_link light'
do
=
link_to
'#'
,
class:
'how_to_import_link light
btn
'
do
%i
.fa.fa-bitbucket
Import projects from
Bitbucket
Bitbucket
=
render
'bitbucket_import_modal'
-
unless
request
.
host
==
'gitlab.com'
.project-import.form-group
.col-sm-2
.col-sm-10
-
unless
request
.
host
==
'gitlab.com'
-
if
gitlab_import_enabled?
=
link_to
status_import_gitlab_path
do
=
link_to
status_import_gitlab_path
,
class:
'btn'
do
%i
.fa.fa-heart
Import projects from
GitLab.com
GitLab.com
-
else
=
link_to
'#'
,
class:
'how_to_import_link light'
do
=
link_to
'#'
,
class:
'how_to_import_link light
btn
'
do
%i
.fa.fa-heart
Import projects from
GitLab.com
GitLab.com
=
render
'gitlab_import_modal'
.project-import.form-group
.col-sm-2
.col-sm-10
=
link_to
new_import_gitorious_path
do
=
link_to
new_import_gitorious_path
,
class:
'btn'
do
%i
.icon-gitorious.icon-gitorious-small
Import projects from
Gitorious.org
Gitorious.org
%hr
.prepend-botton-10
...
...
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