Commit c5d4583f authored by Olga Brani's avatar Olga Brani
Browse files

astakos: change renew token button style (API access page)

parent b2d378f5
......@@ -139,7 +139,7 @@ h2 .header-actions { float: right; font-size: 0.8em;}
.api-access-view div.detail {
display: block;
position: relative;
margin: 2em 0;
margin: 2em 0 0;
font-size: 1.3em;
padding-bottom: 0.2em;
}
......@@ -183,13 +183,22 @@ h2 .header-actions { float: right; font-size: 0.8em;}
margin-top: 1em;
}
.token-view .renew-token .wrap {
position: relative;
}
.renew-token .confirm {
color:#3582AC;
margin:0 15px;
position: absolute;
left: 110px;
top:0;
}
.renew-token .close {
color:#F24E53;
position: absolute;
left: 190px;
top: 0
}
.renew-token .sub,
......
......@@ -431,8 +431,7 @@ $('#members-table tr .check input').click(function(e){
$('.renew-token a.do').click(function(e){
e.preventDefault();
e.stopPropagation();
$(this).hide();
e.stopPropagation();
var els = [$(".renew-token .sub"),$('.renew-token .confirm'), $('.renew-token .close')];
_.each(els, function (el) { el.show();})
})
......
......@@ -44,9 +44,11 @@
</div>
<div class="actions">
<div class="renew-token">
<a href="#" class="do">renew token</a>
<a href="#" class="confirm">confirm</a>
<a href="#" class="close">x</a>
<span class="wrap">
<a href="#" class="do">renew token</a>
<a href="#" class="confirm">confirm</a>
<a href="#" class="close">x</a>
</span>
<p class="sub"><span>Every time you renew it, make sure to
update the clients you use with the new token.</span></p>
</div>
......@@ -112,7 +114,7 @@
resources from the command line or use it inside your scripts.</p>
<p>Kamaki allows you to execute all the operations you do from the Web UI. You can use kamaki to<br><br>
- register images,<br>- spawn clusters of customized VMs,<br>- connect them to
Private Virtual Networks,<br>- have them executing computations dynamically and
Private Virtual Networks,<br>- have them executing computations dynamically<br> <br>and
many other neat things.</p>
<p> Kamaki is available for most Linux distributions,
Windows and Mac OS X. To use it you will need to set it up using your
......
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