Commit 153fc835 authored by Olga Brani's avatar Olga Brani
Browse files

astakos: style improvement for longer API tokens in API Token View

parent 100bc4c8
......@@ -166,8 +166,10 @@ h2 .header-actions { float: right; font-size: 0.8em;}
.token-view .actions {
position: absolute;
left:50%;
right:0;
font-size:13px;
max-width: 230px;
overflow: hidden
}
.renew-token .confirm {
......@@ -182,5 +184,5 @@ h2 .header-actions { float: right; font-size: 0.8em;}
.renew-token .sub,
.renew-token .confirm,
.renew-token .close {
display: none
visibility: hidden;
}
\ No newline at end of file
......@@ -411,13 +411,13 @@ $('#members-table tr .check input').click(function(e){
$('.renew-token a.do').click(function(e){
e.preventDefault();
var els = [$(".renew-token .sub"),$('.renew-token .confirm'), $('.renew-token .close')];
_.each(els, function (el) { el.show();})
_.each(els, function (el) { el.css({'visibility':'visible'});})
})
$('.renew-token a.close').click(function(e){
e.preventDefault();
var els = [$(".renew-token .sub"),$('.renew-token .confirm'), $('.renew-token .close')];
_.each(els, function (el) { el.hide();})
_.each(els, function (el) { el.css({'visibility':'hidden'});})
})
......
......@@ -58,7 +58,7 @@
<a href="#" class="do">renew token</a>
<a href="#" class="confirm">confirm</a>
<a href="#" class="close">x</a>
<p class="sub">Make sure to set the new token in any client<br> you may be using each
<p class="sub">Make sure to set the new token in any clientyou may be using each
time you renew your token.</p>
</div>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment