Commit a5b0584d authored by Filipa Lacerda's avatar Filipa Lacerda

Fix repo by url styles

parent 5ef3b22e
...@@ -483,8 +483,9 @@ a.deploy-project-label { ...@@ -483,8 +483,9 @@ a.deploy-project-label {
height: 24px; height: 24px;
width: inherit; width: inherit;
display: block; display: block;
margin: 2px auto 5px; margin: 0 auto 4px;
font-size: 24px; font-size: 24px;
top: 0;
} }
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
Import an exported GitLab project Import an exported GitLab project
%hr %hr
= form_for import_gitlab_project_path, class: 'form-horizontal import-project', multipart: true do |f| = form_for import_gitlab_project_path, html: { class: 'new_project' }, multipart: true do |f|
.row .row
.form-group.col-xs-12.col-sm-6 .form-group.col-xs-12.col-sm-6
= f.label :namespace_id, class: 'label-light' do = f.label :namespace_id, class: 'label-light' do
......
.form-group.import-url-data .form-group.import-url-data
= f.label :import_url, class: 'control-label' do = f.label :import_url, class: 'label-light' do
%span Git repository URL %span Git repository URL
.col-sm-10
= f.text_field :import_url, autocomplete: 'off', class: 'form-control', placeholder: 'https://username:password@gitlab.company.com/group/project.git'
.well.prepend-top-20 = f.text_field :import_url, autocomplete: 'off', class: 'form-control', placeholder: 'https://username:password@gitlab.company.com/group/project.git'
%ul
%li .well.prepend-top-20
The repository must be accessible over <code>http://</code>, <code>https://</code> or <code>git://</code>. %ul
%li %li
If your HTTP repository is not publicly accessible, add authentication information to the URL: <code>https://username:password@gitlab.company.com/group/project.git</code>. The repository must be accessible over <code>http://</code>, <code>https://</code> or <code>git://</code>.
%li %li
The import will time out after 15 minutes. For repositories that take longer, use a clone/push combination. If your HTTP repository is not publicly accessible, add authentication information to the URL: <code>https://username:password@gitlab.company.com/group/project.git</code>.
%li %li
To migrate an SVN repository, check out #{link_to "this document", help_page_path('workflow/importing/migrating_from_svn')}. The import will time out after 15 minutes. For repositories that take longer, use a clone/push combination.
%li
To migrate an SVN repository, check out #{link_to "this document", help_page_path('workflow/importing/migrating_from_svn')}.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment