2016-05-03 13:09:28 +00:00
- page_title "GitLab Import"
2016-04-26 08:59:00 +00:00
- header_title "Projects", root_path
%h3.page-title
2016-06-13 18:35:57 +00:00
= icon('gitlab')
2016-05-03 13:09:28 +00:00
Import projects from GitLab
2016-04-26 08:59:00 +00:00
%hr
2016-04-26 15:12:50 +00:00
= form_tag import_gitlab_project_path, class: 'form-horizontal', multipart: true do
2016-06-13 18:35:57 +00:00
%p
2016-06-15 08:37:17 +00:00
Project will be imported to path
%strong
#{@path}
2016-06-13 18:35:57 +00:00
2016-04-26 08:59:00 +00:00
%p
2016-06-15 08:37:17 +00:00
To get started add your exported project file below, then you will be redirected to the new project page and the project will appear once the import is done.
%p
You can generate a new export file from your project settings.
2016-04-26 08:59:00 +00:00
.form-group
2016-04-27 13:01:55 +00:00
= hidden_field_tag :namespace_id, @namespace_id
= hidden_field_tag :path, @path
2016-04-26 08:59:00 +00:00
= label_tag :file, class: 'control-label' do
2016-05-04 09:10:25 +00:00
%span GitLab project export
2016-04-26 08:59:00 +00:00
.col-sm-10
= file_field_tag :file, class: ''
2016-04-27 13:01:55 +00:00
2016-04-26 08:59:00 +00:00
.form-actions
= submit_tag 'Continue to the next step', class: 'btn btn-create'