parent
972e4be811
commit
08d7b4babe
23 changed files with 1290 additions and 630 deletions
11
static/directives/robot-credentials-dialog.html
Normal file
11
static/directives/robot-credentials-dialog.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<div class="robot-credentials-dialog-element">
|
||||
<div class="credentials-dialog" credentials="credentials" secret-title="Robot Token" entity-title="robot account" entity-icon="ci-robot">
|
||||
<label>Regenerate Token:</label>
|
||||
<div class="action-text">Click the 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>
|
Reference in a new issue