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

28 lines
1.3 KiB
Text
Raw Normal View History

2018-11-18 11:00:15 +05:30
- page_title _("FogBugz Import")
2021-09-04 01:27:46 +05:30
- 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')
2021-09-04 01:27:46 +05:30
2022-07-23 23:45:48 +05:30
%h1.page-title.gl-font-size-h-display.d-flex
2020-11-24 15:15:51 +05:30
.gl-display-flex.gl-align-items-center.gl-justify-content-center
= sprite_icon('bug', css_class: 'gl-mr-2')
2018-11-18 11:00:15 +05:30
= _('Import projects from FogBugz')
2015-09-25 12:07:36 +05:30
%hr
2022-08-13 15:12:31 +05:30
= form_tag callback_import_fogbugz_path(namespace_id: params[:namespace_id]) do
2015-09-25 12:07:36 +05:30
%p
2018-11-18 11:00:15 +05:30
= _("To get started you enter your FogBugz URL and login information below. In the next steps, you'll be able to map users and select the projects you want to import.")
2018-11-08 19:23:39 +05:30
.form-group.row
2018-11-18 11:00:15 +05:30
= label_tag :uri, _('FogBugz URL'), class: 'col-form-label col-md-2'
2018-11-08 19:23:39 +05:30
.col-md-4
2021-06-08 01:23:25 +05:30
= text_field_tag :uri, nil, placeholder: 'https://mycompany.fogbugz.com', class: 'form-control gl-form-input'
2018-11-08 19:23:39 +05:30
.form-group.row
2018-11-18 11:00:15 +05:30
= label_tag :email, _('FogBugz Email'), class: 'col-form-label col-md-2'
2018-11-08 19:23:39 +05:30
.col-md-4
2021-06-08 01:23:25 +05:30
= text_field_tag :email, nil, class: 'form-control gl-form-input'
2018-11-08 19:23:39 +05:30
.form-group.row
2018-11-18 11:00:15 +05:30
= label_tag :password, _('FogBugz Password'), class: 'col-form-label col-md-2'
2018-11-08 19:23:39 +05:30
.col-md-4
2021-06-08 01:23:25 +05:30
= password_field_tag :password, nil, class: 'form-control gl-form-input'
2015-09-25 12:07:36 +05:30
.form-actions
2021-04-17 20:07:23 +05:30
= submit_tag _('Continue to the next step'), class: 'gl-button btn btn-confirm'