debian-mirror-gitlab/app/views/shared/deploy_tokens/_new_deploy_token.html.haml

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

25 lines
1.6 KiB
Text
Raw Normal View History

2021-06-08 01:23:25 +05:30
.created-deploy-token-container.info-well{ data: { qa_selector: 'created_deploy_token_container' } }
2018-11-08 19:23:39 +05:30
.well-segment
2020-06-23 00:09:42 +05:30
%h5.gl-mt-0
2021-03-11 19:13:27 +05:30
= s_('DeployTokens|Your new Deploy Token username')
2018-05-09 12:01:36 +05:30
2018-11-08 19:23:39 +05:30
.form-group
.input-group
2021-06-08 01:23:25 +05:30
= text_field_tag 'deploy-token-user', deploy_token.username, readonly: true, class: 'deploy-token-field form-control js-select-on-focus', data: { qa_selector: 'deploy_token_user_field' }
2018-11-08 19:23:39 +05:30
.input-group-append
2019-12-21 20:55:43 +05:30
= clipboard_button(text: deploy_token.username, title: s_('DeployTokens|Copy username'), placement: 'left')
2021-03-11 19:13:27 +05:30
%span.deploy-token-help-block.gl-mt-2.text-success
- link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: help_page_path('user/project/deploy_tokens/index.md') }
- link_end = "</a>".html_safe
= s_("DeployTokens|This username supports access. %{link_start}What kind of access?%{link_end}").html_safe % { link_start: link_start, link_end: link_end }
2018-05-09 12:01:36 +05:30
2018-11-08 19:23:39 +05:30
.form-group
.input-group
2021-06-08 01:23:25 +05:30
= text_field_tag 'deploy-token', deploy_token.token, readonly: true, class: 'deploy-token-field form-control js-select-on-focus', data: { qa_selector: 'deploy_token_field' }
2018-11-08 19:23:39 +05:30
.input-group-append
2019-12-21 20:55:43 +05:30
= clipboard_button(text: deploy_token.token, title: s_('DeployTokens|Copy deploy token'), placement: 'left')
2021-03-11 19:13:27 +05:30
%span.deploy-token-help-block.gl-mt-2.text-danger
- i_start = "<i>".html_safe
- i_end = "</i>".html_safe
= s_("DeployTokens|Use this token as a password. Save it. This password can %{i_start}not%{i_end} be recovered.").html_safe % { i_start: i_start, i_end: i_end }