2019-09-04 21:01:54 +05:30
|
|
|
- title = _('Phabricator Server Import')
|
|
|
|
- page_title title
|
|
|
|
- breadcrumb_title title
|
|
|
|
- header_title _("Projects"), root_path
|
|
|
|
|
2020-10-24 23:57:45 +05:30
|
|
|
%h3.page-title.d-flex
|
|
|
|
.gl-display-flex.gl-align-items-center.gl-justify-content-center
|
|
|
|
= sprite_icon('issues', css_class: 'gl-mr-2')
|
|
|
|
= _('Import tasks from Phabricator into issues')
|
2019-09-04 21:01:54 +05:30
|
|
|
|
|
|
|
= render 'import/shared/errors'
|
|
|
|
|
|
|
|
= form_tag import_phabricator_path, class: 'new_project', method: :post do
|
|
|
|
= render 'import/shared/new_project_form'
|
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
%h4.gl-mt-0= _('Enter in your Phabricator Server URL and personal access token below')
|
2019-09-04 21:01:54 +05:30
|
|
|
|
|
|
|
.form-group.row
|
|
|
|
= label_tag :phabricator_server_url, _('Phabricator Server URL'), class: 'col-form-label col-md-2'
|
|
|
|
.col-md-4
|
2021-06-08 01:23:25 +05:30
|
|
|
= text_field_tag :phabricator_server_url, params[:phabricator_server_url], class: 'form-control gl-form-input gl-mr-3', placeholder: 'https://your-phabricator-server', size: 40
|
2019-09-04 21:01:54 +05:30
|
|
|
.form-group.row
|
|
|
|
= label_tag :api_token, _('API Token'), class: 'col-form-label col-md-2'
|
|
|
|
.col-md-4
|
2021-06-08 01:23:25 +05:30
|
|
|
= password_field_tag :api_token, params[:api_token], class: 'form-control gl-form-input gl-mr-3', placeholder: _('Personal Access Token'), size: 40
|
2019-09-04 21:01:54 +05:30
|
|
|
.form-actions
|
2021-04-17 20:07:23 +05:30
|
|
|
= submit_tag _('Import tasks'), class: 'gl-button btn btn-confirm'
|