aboutsummaryrefslogtreecommitdiffstats
path: root/templates/reboot.html
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-09-14 20:10:43 +0200
committerficus <ficus@robocracy.org>2012-09-14 20:10:43 +0200
commita304d7a56563b16ca98d9b45ebed521c52f6347c (patch)
treeda88f01977c08d9a149c3e767f1a7e62981500b9 /templates/reboot.html
downloadtui-a304d7a56563b16ca98d9b45ebed521c52f6347c.tar.gz
tui-a304d7a56563b16ca98d9b45ebed521c52f6347c.zip
backup WIP
Diffstat (limited to 'templates/reboot.html')
-rw-r--r--templates/reboot.html22
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 %}