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/tor.html | |
parent | 57a1e70dee45f5cd9493d6d23f8fc7b6435d5388 (diff) | |
download | tui-ced83335a5a338cb9c24956b96da526465d94df8.tar.gz tui-ced83335a5a338cb9c24956b96da526465d94df8.zip |
refactor to distributable format
Diffstat (limited to 'torouterui/templates/tor.html')
-rw-r--r-- | torouterui/templates/tor.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/torouterui/templates/tor.html b/torouterui/templates/tor.html new file mode 100644 index 0000000..a1f30dc --- /dev/null +++ b/torouterui/templates/tor.html @@ -0,0 +1,19 @@ +{% import "lib.html" as lib %} +{% extends "base.html" %} +{% block body %} + +<form action="/tor/" method="POST" class="form-horizontal"> +<legend>Tor Network Configuration</legend> + +{{ lib.formcheckbox(form, formerr, 'torenable', 'Enable Tor daemon', 'true') }} +{{ lib.formcheckbox(form, formerr, 'torrelayenable', 'Enable Tor Relay', 'true') }} +{{ lib.formcheckbox(form, formerr, 'torbridgeenable', 'Enable Tor Bridge', 'true') }} + +<div class="pull-right"> +<a href="."><button class="btn" type="button">Reset</button></a> +<button type="submit" class="btn btn-primary" type="button"> +Save</button> +</div> +</form> + +{% endblock %} |