Commit 976ca4a2 authored by Roman Ondráček's avatar Roman Ondráček

Gateway: redesign power control

Signed-off-by: Roman Ondráček's avatarRoman Ondráček <ondracek.roman@centrum.cz>
parent 43b63d8d
......@@ -17,13 +17,15 @@
{block title}{_gateway.power.title}{/block}
{block content}
<div class='list-group'>
<a class='list-group-item ajax' n:href='off!'>
<header class='list-group-item-heading'>{_gateway.power.powerOff.title}</header>
<p class='list-group-item-text'>{_gateway.power.powerOff.description}</p>
</a>
<a class='list-group-item ajax' n:href='reboot!'>
<header class='list-group-item-heading'>{_gateway.power.reboot.title}</header>
<p class='list-group-item-text'>{_gateway.power.reboot.description}</p>
</a>
<div class='panel panel-default'>
<div n:snippet='status' class='panel-body'>
<a class='ajax btn btn-danger' n:href='off!' role='button'>
<span class='glyphicon glyphicon-off'></span>
{_gateway.power.powerOff.title}
</a>
<a class='ajax btn btn-primary' n:href='reboot!' role='button'>
<span class='glyphicon glyphicon-repeat'></span>
{_gateway.power.reboot.title}
</a>
</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