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