diff options
Diffstat (limited to 'app/views/import')
-rw-r--r-- | app/views/import/gitlab_projects/new.html.haml | 20 | ||||
-rw-r--r-- | app/views/import/gitlab_projects/status.html.haml | 0 |
2 files changed, 20 insertions, 0 deletions
diff --git a/app/views/import/gitlab_projects/new.html.haml b/app/views/import/gitlab_projects/new.html.haml new file mode 100644 index 00000000000..d93ae42c1bf --- /dev/null +++ b/app/views/import/gitlab_projects/new.html.haml @@ -0,0 +1,20 @@ +- page_title "GitLab Import" +- header_title "Projects", root_path +%h3.page-title + %i.fa.fa-gitlab + Import projects from GitLab +%hr + += form_tag import_gitlab_project_path, class: 'form-horizontal', multipart: true do + %p + To get started add your exported project file below: + .form-group + = hidden_field_tag :namespace_id, @namespace_id + = hidden_field_tag :path, @path + = label_tag :file, class: 'control-label' do + %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' diff --git a/app/views/import/gitlab_projects/status.html.haml b/app/views/import/gitlab_projects/status.html.haml new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/app/views/import/gitlab_projects/status.html.haml |