cryptonas/cbox-tree.d/usr/share/cryptobox/templates/shutdown_form.cs

16 lines
445 B
C#

<h1><?cs var:Lang.Title.ShutDown ?></h1>
<div align="center">
<form action="<?cs call:getSelfURL('','') ?>" method="post"
enctype="application/x-www-form-urlencoded">
<input type="hidden" name="action" value="shutdown_do" />
<button type="submit" name="type"
value="poweroff"><?cs var:Lang.Button.PowerOff ?></button>
<button type="submit" name="type"
value="reboot"><?cs var:Lang.Button.ReBoot ?></button>
</form>
</div>