aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/templates/reboot.html
diff options
context:
space:
mode:
Diffstat (limited to 'torouterui/templates/reboot.html')
-rw-r--r--torouterui/templates/reboot.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/torouterui/templates/reboot.html b/torouterui/templates/reboot.html
new file mode 100644
index 0000000..b9f0c54
--- /dev/null
+++ b/torouterui/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 %}