aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/tui/controllers/tor.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter-web/tui/controllers/tor.py')
-rw-r--r--packages/torouter-web/tui/controllers/tor.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/packages/torouter-web/tui/controllers/tor.py b/packages/torouter-web/tui/controllers/tor.py
deleted file mode 100644
index d07cb71..0000000
--- a/packages/torouter-web/tui/controllers/tor.py
+++ /dev/null
@@ -1,29 +0,0 @@
-import web
-import view, config
-from view import render
-from tui.utils import session
-
-"""
-The main Tor status page
-"""
-class status:
- def GET(self):
- return render.base(render.torstatus())
-
- def POST(self):
- return render.base(render.torstatus())
-
-"""
-Tor configuration page
-"""
-class config:
- def update_config(self, data):
- return True
-
- def GET(self):
- return render.base(render.torconfig())
-
- def POST(self):
- self.update_config(web.input())
- return render.base(render.torconfig())
-