aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/templates/reboot.html
blob: b9f0c543b59f56ff4c3e4c0a3ea05c36c4ddd54e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 %}