aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-01-20 13:50:00 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-01-20 13:50:08 +0100
commitf5c86a266910bba684ba5d8e6577aa76b22c8d8a (patch)
tree2f8bb93e346374deece740de864f8176af6042c8 /server
parent44a8017daf190a9636fd93d9b32a0849e7b3193f (diff)
downloadsonarqube-f5c86a266910bba684ba5d8e6577aa76b22c8d8a.tar.gz
sonarqube-f5c86a266910bba684ba5d8e6577aa76b22c8d8a.zip
highlight "Sure?" button when delete a token
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs2
-rw-r--r--server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs2
-rw-r--r--server/sonar-web/src/main/less/init/forms.less2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs b/server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs
index faae3a4e20c..5450a14b6f5 100644
--- a/server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs
+++ b/server/sonar-web/src/main/js/apps/account/templates/account-tokens.hbs
@@ -23,7 +23,7 @@
<div class="big-spacer-left">
<form class="js-revoke-token-form" data-token="{{name}}">
{{#if deleting}}
- <button class="button-red input-small">Sure?</button>
+ <button class="button-red active input-small">Sure?</button>
{{else}}
<button class="button-red input-small">Revoke</button>
{{/if}}
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 e520db60f5a..c9d15489111 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,7 +27,7 @@
<div class="big-spacer-left">
<form class="js-revoke-token-form" data-token="{{name}}">
{{#if deleting}}
- <button class="button-red input-small">Sure?</button>
+ <button class="button-red active input-small">Sure?</button>
{{else}}
<button class="button-red input-small">Revoke</button>
{{/if}}
diff --git a/server/sonar-web/src/main/less/init/forms.less b/server/sonar-web/src/main/less/init/forms.less
index 97259b1edb5..273dd911daf 100644
--- a/server/sonar-web/src/main/less/init/forms.less
+++ b/server/sonar-web/src/main/less/init/forms.less
@@ -122,7 +122,7 @@ input[type="submit"].button-red {
border-color: @red;
color: @red;
- &:hover, &:focus {
+ &:hover, &:focus, &.active {
background: @red;
color: #fff;
}