debian-mirror-gitlab/app/views/import/bitbucket_server/new.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
1.5 KiB
Text
Raw Normal View History

2021-09-04 01:27:46 +05:30
- page_title _('Bitbucket Server Import')
- header_title _("New project"), new_project_path
2021-11-18 22:05:49 +05:30
- add_to_breadcrumbs s_('ProjectsNew|Import project'), new_project_path(anchor: 'import_project')
2018-11-18 11:00:15 +05:30
2022-07-23 23:45:48 +05:30
%h1.page-title.gl-font-size-h-display.d-flex
2021-01-03 14:25:43 +05:30
.gl-display-flex.gl-align-items-center.gl-justify-content-center
= sprite_icon('bitbucket', css_class: 'gl-mr-2')
= _('Import repositories from Bitbucket Server')
2018-11-18 11:00:15 +05:30
%p
= _('Enter in your Bitbucket Server URL and personal access token below')
2022-08-13 15:12:31 +05:30
= form_tag configure_import_bitbucket_server_path(namespace_id: params[:namespace_id]), method: :post do
2018-11-18 11:00:15 +05:30
.form-group.row
= label_tag :bitbucket_server_url, 'Bitbucket Server URL', class: 'col-form-label col-md-2'
.col-md-4
2021-06-08 01:23:25 +05:30
= text_field_tag :bitbucket_server_url, '', class: 'form-control gl-form-input gl-mr-3', placeholder: _('https://your-bitbucket-server'), size: 40
2018-11-18 11:00:15 +05:30
.form-group.row
= label_tag :bitbucket_server_url, 'Username', class: 'col-form-label col-md-2'
.col-md-4
2021-06-08 01:23:25 +05:30
= text_field_tag :bitbucket_server_username, '', class: 'form-control gl-form-input gl-mr-3', placeholder: _('username'), size: 40
2018-11-18 11:00:15 +05:30
.form-group.row
= label_tag :personal_access_token, 'Password/Personal Access Token', class: 'col-form-label col-md-2'
.col-md-4
2021-06-08 01:23:25 +05:30
= password_field_tag :personal_access_token, '', class: 'form-control gl-form-input gl-mr-3', placeholder: _('Personal Access Token'), size: 40
2018-11-18 11:00:15 +05:30
.form-actions
2021-04-17 20:07:23 +05:30
= submit_tag _('List your Bitbucket Server repositories'), class: 'gl-button btn btn-confirm'