summaryrefslogtreecommitdiff
path: root/app/views/shared/deploy_tokens/_new_deploy_token.html.haml
blob: 738f2f9db700fbed579f04c9a45a38995ba075ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.qa-created-deploy-token-section.created-deploy-token-container.info-well
  .well-segment
    %h5.gl-mt-0
      = s_('DeployTokens|Your New Deploy Token')

    .form-group
      .input-group
        = 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'
        .input-group-append
          = clipboard_button(text: deploy_token.username, title: s_('DeployTokens|Copy username'), placement: 'left')
      %span.deploy-token-help-block.gl-mt-2.text-success= s_("DeployTokens|Use this username as a login.")

    .form-group
      .input-group
        = text_field_tag 'deploy-token', deploy_token.token, readonly: true, class: 'deploy-token-field form-control js-select-on-focus qa-deploy-token'
        .input-group-append
          = clipboard_button(text: deploy_token.token, title: s_('DeployTokens|Copy deploy token'), placement: 'left')
      %span.deploy-token-help-block.gl-mt-2.text-danger= s_("DeployTokens|Use this token as a password. Make sure you save it - you won't be able to access it again.")