2018-08-03 14:54:41 -04:00
|
|
|
- title = _('Bitbucket Server Import')
|
2018-06-29 01:49:55 -04:00
|
|
|
- page_title title
|
|
|
|
- breadcrumb_title title
|
|
|
|
- header_title "Projects", root_path
|
|
|
|
|
|
|
|
%h3.page-title
|
2018-07-18 00:35:26 -04:00
|
|
|
= icon 'bitbucket-square', text: _('Import repositories from Bitbucket Server')
|
2018-06-29 01:49:55 -04:00
|
|
|
|
|
|
|
%p
|
|
|
|
= _('Enter in your Bitbucket Server URL and personal access token below')
|
|
|
|
|
2018-07-01 08:13:15 -04:00
|
|
|
= 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
|
2018-07-25 08:12:24 -04:00
|
|
|
= text_field_tag :bitbucket_server_url, '', class: 'form-control append-right-8', placeholder: _('https://your-bitbucket-server'), size: 40
|
2018-07-01 08:13:15 -04:00
|
|
|
.form-group.row
|
|
|
|
= label_tag :bitbucket_server_url, 'Username', class: 'col-form-label col-md-2'
|
|
|
|
.col-md-4
|
|
|
|
= text_field_tag :bitbucket_username, '', class: 'form-control append-right-8', placeholder: _('username'), size: 40
|
|
|
|
.form-group.row
|
|
|
|
= label_tag :personal_access_token, 'Password/Personal Access Token', class: 'col-form-label col-md-2'
|
|
|
|
.col-md-4
|
2018-07-31 15:56:30 -04:00
|
|
|
= password_field_tag :personal_access_token, '', class: 'form-control append-right-8', placeholder: _('Personal Access Token'), size: 40
|
2018-07-01 08:13:15 -04:00
|
|
|
.form-actions
|
2018-06-29 01:49:55 -04:00
|
|
|
= submit_tag _('List your Bitbucket Server repositories'), class: 'btn btn-success'
|