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

19 lines
1.1 KiB
Text
Raw Normal View History

2018-12-13 13:39:08 +05:30
.qa-created-deploy-token-section.created-deploy-token-container.info-well
2018-11-08 19:23:39 +05:30
.well-segment
%h5.prepend-top-0
= s_('DeployTokens|Your New Deploy Token')
2018-05-09 12:01:36 +05:30
2018-11-08 19:23:39 +05:30
.form-group
.input-group
2018-12-13 13:39:08 +05:30
= text_field_tag 'deploy-token-user', deploy_token.username, readonly: true, class: 'deploy-token-field form-control js-select-on-focus qa-deploy-token-user'
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')
2018-11-08 19:23:39 +05:30
%span.deploy-token-help-block.prepend-top-5.text-success= s_("DeployTokens|Use this username as a login.")
2018-05-09 12:01:36 +05:30
2018-11-08 19:23:39 +05:30
.form-group
.input-group
2018-12-13 13:39:08 +05:30
= text_field_tag 'deploy-token', deploy_token.token, readonly: true, class: 'deploy-token-field form-control js-select-on-focus qa-deploy-token'
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')
2018-11-08 19:23:39 +05:30
%span.deploy-token-help-block.prepend-top-5.text-danger= s_("DeployTokens|Use this token as a password. Make sure you save it - you won't be able to access it again.")