aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/templates/reboot.html
blob: 763123e5f79d3202d95b8efd510a3cda42d45383 (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" name="submit" value="Reboot">
Reboot</button>
</form>
{% endif %}

{% endblock %}