Add administrative tasks section to VPS overview

feature/node-rewrite
Sven Slootweg 12 years ago
parent 9e3e8c31df
commit 6a0142917b

@ -162,7 +162,7 @@ tr.clickable:hover
text-align: right;
}
.userbox a, .userbox a:active
.userbox a, .userbox a:active, .vps-admin a, .vps-admin a:active
{
display: block;
float: left;
@ -175,7 +175,7 @@ tr.clickable:hover
color: white;
}
.userbox a:hover
.userbox a:hover, .vps-admin a:hover
{
background-color: #15144E;
}

@ -34,6 +34,7 @@ title-admin-userinfo; User lookup
title-admin-overview; Administrative overview
header-admin-user-containers; Containers owned by this user
header-vps-admin; Administrative tasks
button-login; Login
button-reinstall; Reinstall
@ -122,3 +123,7 @@ admin-level-nodeadmin; Node administrator
admin-level-masteradmin; Master administrator
admin-overview-message; In the future, this page will hold a log of all most recent events. For now, it's just an empty page.
vps-admin-suspend; Suspend / unsuspend
vps-admin-transfer; Transfer
vps-admin-terminate; Terminate

@ -94,3 +94,13 @@
<td><%?bandwidth-limit></td>
</tr>
</table>
<%if accesslevel >= 20>
<h3><%!header-vps-admin></h3>
<div class="vps-admin">
<a href="/admin/container/<%?id>/suspend/"><%!vps-admin-suspend></a>
<a href="/admin/container/<%?id>/transfer/"><%!vps-admin-transfer></a>
<a href="/admin/container/<%?id>/terminate/"><%!vps-admin-terminate></a>
</div>
<div class="clear"></div>
<%/if>

Loading…
Cancel
Save