diff options
Diffstat (limited to 'templates/reboot.html')
-rw-r--r-- | templates/reboot.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/reboot.html b/templates/reboot.html new file mode 100644 index 0000000..b9f0c54 --- /dev/null +++ b/templates/reboot.html @@ -0,0 +1,22 @@ +{% extends "base.html" %} +{% block body %} +<h3>System Reboot</h3> + +{% if status == 'rebooting' %} + +Rebooting! This interface will stop working in a few seconds, check back in a +minute or two... + +{% else %} +<form action="/reboot/" method="POST"> +Are you sure you'd like to restart? This could have reprecussions! +<br> +<label class="checkbox"> + <input type="checkbox" name="confirm">Yes, i'm certain +</label> +<button type="submit" class="btn btn-large btn-primary btn-warning" type="button"> +Restart</button> +</form> +{% endif %} + +{% endblock %} |