diff options
author | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-11 13:47:41 +0200 |
---|---|---|
committer | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-11 13:47:41 +0200 |
commit | 5f53648315b1ed94f263da7c13d1754073649e9c (patch) | |
tree | 351aafc66ddf294874a55bcde67fd30cc84629f2 /packages/torouter-web/tui/controllers/main.py | |
parent | 85bbadf931c74ec5bcbad7d3a5403b59b827db50 (diff) | |
download | torouter-5f53648315b1ed94f263da7c13d1754073649e9c.tar.gz torouter-5f53648315b1ed94f263da7c13d1754073649e9c.zip |
Add the base skeleton for the web user interface
Diffstat (limited to 'packages/torouter-web/tui/controllers/main.py')
-rw-r--r-- | packages/torouter-web/tui/controllers/main.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/torouter-web/tui/controllers/main.py b/packages/torouter-web/tui/controllers/main.py new file mode 100644 index 0000000..2806467 --- /dev/null +++ b/packages/torouter-web/tui/controllers/main.py @@ -0,0 +1,14 @@ +import web +import view, config +from view import render + +""" +The main page for network configuration +""" +class index: + def GET(self): + return render.base(render.index()) + + def POST(self): + return render.base(render.index()) + |