aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/src/tui/views/torconfig.html
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter-web/src/tui/views/torconfig.html')
-rw-r--r--packages/torouter-web/src/tui/views/torconfig.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/torouter-web/src/tui/views/torconfig.html b/packages/torouter-web/src/tui/views/torconfig.html
index 26bd228..223c339 100644
--- a/packages/torouter-web/src/tui/views/torconfig.html
+++ b/packages/torouter-web/src/tui/views/torconfig.html
@@ -1 +1,11 @@
-The main Tor config page
+$def with (content)
+
+<form method="POST" action="/tor/config" enctype="multipart/form-data">
+<ul>
+<li><textarea cols="100" rows="50" name="torrc">
+$:content
+</textarea></li>
+<li><input type="submit" name="save"></li>
+</ul>
+</form>
+