diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-11-09 14:25:16 +0100 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-11-24 17:22:33 +0100 |
commit | afff558a2cac07019ff5886ccdada9eb25aa1b0c (patch) | |
tree | 1d8fe9182888137dcc42ef873cd3aa47d4f253c3 /server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs | |
parent | 1fccf4779bbf4d1c125fd65ed3972b57b3c1be6e (diff) | |
download | sonarqube-afff558a2cac07019ff5886ccdada9eb25aa1b0c.tar.gz sonarqube-afff558a2cac07019ff5886ccdada9eb25aa1b0c.zip |
Remove old users page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs')
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs b/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs deleted file mode 100644 index 1080f88a5bd..00000000000 --- a/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs +++ /dev/null @@ -1,87 +0,0 @@ -<div class="modal-head"> - <h2>{{t 'users.tokens'}}</h2> -</div> - -<div class="modal-body"> - <div class="js-modal-messages"></div> - - {{#notNull tokens}} - <table class="data zebra"> - <thead> - <tr> - <th>{{t 'name'}}</th> - <th class="text-right">{{t 'created'}}</th> - <th> </th> - </tr> - </thead> - <tbody> - {{#each tokens}} - <tr> - <td> - <div title="{{name}}"> - {{limitString name}} - </div> - </td> - <td class="thin nowrap text-right"> - {{d createdAt}} - </td> - <td class="thin nowrap text-right"> - <div class="big-spacer-left"> - <form class="js-revoke-token-form" data-token="{{name}}"> - {{#if deleting}} - <button class="button-red active input-small">{{t 'users.tokens.sure'}}</button> - {{else}} - <button class="button-red input-small">{{t 'users.tokens.revoke'}}</button> - {{/if}} - </form> - </div> - </td> - </tr> - {{else}} - <tr> - <td colspan="3"> - <span class="note">{{t 'users.no_tokens'}}</span> - </td> - </tr> - {{/each}} - </tbody> - </table> - {{/notNull}} - - <hr class="big-spacer-top big-spacer-bottom"> - - <h3 class="spacer-bottom">{{t 'users.generate_tokens'}}</h3> - - {{#each errors}} - <div class="alert alert-danger">{{msg}}</div> - {{/each}} - - <form class="js-generate-token-form"> - <input type="text" required maxlength="100" placeholder="{{t 'users.enter_token_name'}}"> - <button>{{t 'users.generate'}}</button> - </form> - - {{#if newToken}} - <div class="panel panel-white big-spacer-top"> - <div class="alert alert-warning"> - {{tp 'users.tokens.new_token_created' newToken.name}} - </div> - - <table class="data"> - <tr> - - <td class="thin"> - <button class="js-copy-to-clipboard" data-clipboard-text="{{newToken.token}}">{{t 'copy'}}</button> - </td> - <td class="nowrap"> - <code class="text-success">{{newToken.token}}</code> - </td> - </tr> - </table> - </div> - {{/if}} -</div> - -<div class="modal-foot"> - <a href="#" class="js-modal-close">{{t 'Done'}}</a> -</div> |