diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-11-27 15:42:50 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-11-27 15:42:50 +0100 |
commit | ade8512f9a8a922c91d7285d3a1ee265bf90b258 (patch) | |
tree | 68a5e05db3164b60de108f8c982aeb20a33fc71c /server/sonar-web/src/main | |
parent | 08625970e3edaee0209c29c780740d81d637082e (diff) | |
download | sonarqube-ade8512f9a8a922c91d7285d3a1ee265bf90b258.tar.gz sonarqube-ade8512f9a8a922c91d7285d3a1ee265bf90b258.zip |
SONAR-7051 SONAR-7052 apply feedback
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs | 6 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/users/tokens-view.js | 2 |
2 files changed, 4 insertions, 4 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 index f994ee4d588..5d5f2d00fd7 100644 --- 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 @@ -27,9 +27,9 @@ <div class="big-spacer-left"> <form class="js-revoke-token-form" data-token="{{name}}"> {{#if deleting}} - <button class="button-red">Sure?</button> + <button class="button-red input-small">Sure?</button> {{else}} - <button class="button-red">Revoke</button> + <button class="button-red input-small">Revoke</button> {{/if}} </form> </div> @@ -48,7 +48,7 @@ <hr class="big-spacer-top big-spacer-bottom"> - <p class="spacer-bottom">Generate tokens for bla bla bla</p> + <h3 class="spacer-bottom">Generate Tokens</h3> {{#each errors}} <div class="alert alert-danger">{{msg}}</div> diff --git a/server/sonar-web/src/main/js/apps/users/tokens-view.js b/server/sonar-web/src/main/js/apps/users/tokens-view.js index c9c34eb2556..fccd64a2876 100644 --- a/server/sonar-web/src/main/js/apps/users/tokens-view.js +++ b/server/sonar-web/src/main/js/apps/users/tokens-view.js @@ -36,7 +36,7 @@ export default Modal.extend({ e.preventDefault(); this.errors = []; this.newToken = null; - let tokenName = this.$('#generate-token-form input').val(); + let tokenName = this.$('.js-generate-token-form input').val(); generateToken(this.model.id, tokenName) .then(response => { this.newToken = response.token; |