diff options
Diffstat (limited to 'app/views/projects/imports')
-rw-r--r-- | app/views/projects/imports/new.html.haml | 21 | ||||
-rw-r--r-- | app/views/projects/imports/show.html.haml | 9 |
2 files changed, 0 insertions, 30 deletions
diff --git a/app/views/projects/imports/new.html.haml b/app/views/projects/imports/new.html.haml deleted file mode 100644 index 934b6b8c017..00000000000 --- a/app/views/projects/imports/new.html.haml +++ /dev/null @@ -1,21 +0,0 @@ -%h3.page-title - - if @project.import_failed? - Import failed. Retry? - - else - Import repository - -%hr - -= form_for @project, url: namespace_project_import_path(@project.namespace, @project), method: :post, html: { class: 'form-horizontal' } do |f| - .form-group.import-url-data - = f.label :import_url, class: 'control-label' do - %span Import existing git repo - .col-sm-10 - = f.text_field :import_url, class: 'form-control', placeholder: 'https://github.com/randx/six.git' - .well.prepend-top-20 - This URL must be publicly accessible or you can add a username and password like this: https://username:password@gitlab.com/company/project.git. - %br - 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"} - .form-actions - = f.submit 'Start import', class: "btn btn-create", tabindex: 4 diff --git a/app/views/projects/imports/show.html.haml b/app/views/projects/imports/show.html.haml deleted file mode 100644 index 2d1fdafed24..00000000000 --- a/app/views/projects/imports/show.html.haml +++ /dev/null @@ -1,9 +0,0 @@ -.save-project-loader - .center - %h2 - %i.fa.fa-spinner.fa-spin - Import in progress. - %p.monospace git clone --bare #{hidden_pass_url(@project.import_url)} - %p Please wait while we import the repository for you. Refresh at will. - :javascript - new ProjectImport(); |