diff options
Diffstat (limited to 'torouterui/templates')
-rw-r--r-- | torouterui/templates/tor.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/torouterui/templates/tor.html b/torouterui/templates/tor.html index 327ac59..3c7e340 100644 --- a/torouterui/templates/tor.html +++ b/torouterui/templates/tor.html @@ -2,6 +2,17 @@ {% extends "base.html" %} {% block body %} +{% if form == None %} +<form action="/tor/" method="POST"> +Tor daemon should probably be restarted... are you certain? +<br> +<br> +<button type="submit" class="btn btn-large btn-primary btn-warning" type="button" name="submit" value="Restart"> +Restart</button> +</form> + +{% else %} + <form action="/tor/" method="POST" class="form-horizontal"> <legend>Tor Network Configuration</legend> @@ -38,5 +49,5 @@ Save</button> </div> </form> - +{% endif %} {% endblock %} |