2018-11-18 11:00:15 +05:30
|
|
|
- title = _('Bitbucket Server Import')
|
|
|
|
- page_title title
|
|
|
|
- breadcrumb_title title
|
2020-07-28 23:09:34 +05:30
|
|
|
- header_title _("Projects"), root_path
|
2018-11-18 11:00:15 +05:30
|
|
|
|
|
|
|
%h3.page-title
|
|
|
|
= icon 'bitbucket-square', text: _('Import repositories from Bitbucket Server')
|
|
|
|
|
|
|
|
%p
|
|
|
|
= _('Enter in your Bitbucket Server URL and personal access token below')
|
|
|
|
|
|
|
|
= form_tag configure_import_bitbucket_server_path, method: :post do
|
|
|
|
.form-group.row
|
|
|
|
= label_tag :bitbucket_server_url, 'Bitbucket Server URL', class: 'col-form-label col-md-2'
|
|
|
|
.col-md-4
|
2020-06-23 00:09:42 +05:30
|
|
|
= text_field_tag :bitbucket_server_url, '', class: 'form-control 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
|
2020-07-28 23:09:34 +05:30
|
|
|
= text_field_tag :bitbucket_server_username, '', class: 'form-control 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
|
2020-06-23 00:09:42 +05:30
|
|
|
= password_field_tag :personal_access_token, '', class: 'form-control gl-mr-3', placeholder: _('Personal Access Token'), size: 40
|
2018-11-18 11:00:15 +05:30
|
|
|
.form-actions
|
|
|
|
= submit_tag _('List your Bitbucket Server repositories'), class: 'btn btn-success'
|