This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/directives/robot-credentials-dialog.html
2019-11-12 11:09:47 -05:00

13 lines
No EOL
872 B
HTML

<div class="robot-credentials-dialog-element">
<div class="credentials-dialog" credentials="credentials" secret-title="Robot Token" entity-title="robot account" entity-icon="ci-robot">
<div ng-show="!inReadOnlyMode">
<label>Regenerate Token:</label>
<div class="action-text">Click the link below to regenerate the token for this robot. Note that <strong>all existing logins</strong> of this robot account will become invalid.</div>
<a ng-click="askRegenerateToken()" class="co-modify-link" ng-show="!showRegenerateToken">Regenerate Token</a>
<button class="btn btn-warning" ng-click="regenerateToken()" ng-show="showRegenerateToken">Regenerate Token Now</button>
<div ng-show="tokenRegenerated" class="token-regenerated">
<i class="fa fa-check-circle"></i>Token successfully regenerated
</div>
</div>
</div>
</div>