diff options
author | ficus <ficus@robocracy.org> | 2012-11-25 02:24:27 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-25 02:25:30 +0100 |
commit | 3aae76170978a7557b0d7d2cbf10b3b856871538 (patch) | |
tree | ce2bd74d873a03db0177029c7abe7aae8e4d9c8e /torouterui/templates | |
parent | 17f9bf637866bd9dbf63cce097a2db85f92e15cc (diff) | |
download | tui-3aae76170978a7557b0d7d2cbf10b3b856871538.tar.gz tui-3aae76170978a7557b0d7d2cbf10b3b856871538.zip |
add tor (re)starts
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 %} |