Revision 82db931d
b/snf-astakos-app/astakos/im/static/im/css/formating.css | ||
---|---|---|
166 | 166 |
|
167 | 167 |
.token-view .actions { |
168 | 168 |
position: absolute; |
169 |
left:50%;
|
|
169 |
right:0;
|
|
170 | 170 |
font-size:13px; |
171 |
max-width: 230px; |
|
172 |
overflow: hidden |
|
171 | 173 |
} |
172 | 174 |
|
173 | 175 |
.renew-token .confirm { |
... | ... | |
182 | 184 |
.renew-token .sub, |
183 | 185 |
.renew-token .confirm, |
184 | 186 |
.renew-token .close { |
185 |
display: none
|
|
187 |
visibility: hidden;
|
|
186 | 188 |
} |
b/snf-astakos-app/astakos/im/static/im/js/common.js | ||
---|---|---|
411 | 411 |
$('.renew-token a.do').click(function(e){ |
412 | 412 |
e.preventDefault(); |
413 | 413 |
var els = [$(".renew-token .sub"),$('.renew-token .confirm'), $('.renew-token .close')]; |
414 |
_.each(els, function (el) { el.show();})
|
|
414 |
_.each(els, function (el) { el.css({'visibility':'visible'});})
|
|
415 | 415 |
}) |
416 | 416 |
|
417 | 417 |
$('.renew-token a.close').click(function(e){ |
418 | 418 |
e.preventDefault(); |
419 | 419 |
var els = [$(".renew-token .sub"),$('.renew-token .confirm'), $('.renew-token .close')]; |
420 |
_.each(els, function (el) { el.hide();})
|
|
420 |
_.each(els, function (el) { el.css({'visibility':'hidden'});})
|
|
421 | 421 |
}) |
422 | 422 |
|
423 | 423 |
|
b/snf-astakos-app/astakos/im/templates/im/api_access_base.html | ||
---|---|---|
58 | 58 |
<a href="#" class="do">renew token</a> |
59 | 59 |
<a href="#" class="confirm">confirm</a> |
60 | 60 |
<a href="#" class="close">x</a> |
61 |
<p class="sub">Make sure to set the new token in any client<br> you may be using each
|
|
61 |
<p class="sub">Make sure to set the new token in any clientyou may be using each |
|
62 | 62 |
time you renew your token.</p> |
63 | 63 |
</div> |
64 | 64 |
</div> |
Also available in: Unified diff