diff options
author | ficus <ficus@robocracy.org> | 2012-09-15 22:50:14 +0200 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-09-15 22:50:14 +0200 |
commit | ced83335a5a338cb9c24956b96da526465d94df8 (patch) | |
tree | b345cd21dfcbb9e660aceb2433c92bd50848938f /torouterui/templates/reboot.html | |
parent | 57a1e70dee45f5cd9493d6d23f8fc7b6435d5388 (diff) | |
download | tui-ced83335a5a338cb9c24956b96da526465d94df8.tar.gz tui-ced83335a5a338cb9c24956b96da526465d94df8.zip |
refactor to distributable format
Diffstat (limited to 'torouterui/templates/reboot.html')
-rw-r--r-- | torouterui/templates/reboot.html | 22 |
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 %} |