gitlab-org--gitlab-foss/app/views/import/gitlab_projects/new.html.haml

28 lines
855 B
Plaintext
Raw Normal View History

2016-05-03 13:09:28 +00:00
- page_title "GitLab Import"
- header_title "Projects", root_path
%h3.page-title
= icon('gitlab')
2016-05-03 13:09:28 +00:00
Import projects from GitLab
%hr
= form_tag import_gitlab_project_path, class: 'form-horizontal', multipart: true do
%p
2016-06-15 08:37:17 +00:00
Project will be imported to path
%strong
#{@path}
%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.
.form-group
= hidden_field_tag :namespace_id, @namespace_id
= hidden_field_tag :path, @path
= label_tag :file, class: 'control-label' do
2016-05-04 09:10:25 +00:00
%span GitLab project export
.col-sm-10
= file_field_tag :file, class: ''
.form-actions
= submit_tag 'Continue to the next step', class: 'btn btn-create'