diff options
author | ficus <ficus@robocracy.org> | 2012-11-23 23:13:04 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-23 23:13:04 +0100 |
commit | ef89083295c28b1d8b15ff3dcd9a11d8c1595dea (patch) | |
tree | e4e5a822fc2c515cce83609203f214b04c4a5f96 /torouterui/views.py | |
parent | 7bca5bd6c727fb006f0b066f9c0760c91eae921c (diff) | |
download | tui-ef89083295c28b1d8b15ff3dcd9a11d8c1595dea.tar.gz tui-ef89083295c28b1d8b15ff3dcd9a11d8c1595dea.zip |
add about page, include version number
Diffstat (limited to 'torouterui/views.py')
-rw-r--r-- | torouterui/views.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/torouterui/views.py b/torouterui/views.py index d3daf77..418c391 100644 --- a/torouterui/views.py +++ b/torouterui/views.py @@ -33,6 +33,10 @@ def statuspage(): status['tor'] = tor.get_tor_status() return render_template('home.html', settings=None, status=status) +@app.route('/about/') +def aboutpage(): + return render_template('about.html') + @app.route('/reboot/', methods=['GET', 'POST']) def rebootpage(): msg = list() |