summaryrefslogtreecommitdiffstats
path: root/module/web/pyload_app.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-01-18 21:29:37 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-01-18 21:29:37 +0100
commitb22ca4ad94a5737705a06d758473ea66496cca02 (patch)
tree2baef1caeedd209ad6dd38b94b4734e34fedd49a /module/web/pyload_app.py
parentauto select best webserver (diff)
parentAdminpage endlich (diff)
downloadpyload-b22ca4ad94a5737705a06d758473ea66496cca02.tar.xz
Merged in Osile/pyload_test/default (pull request #52)
Admin page
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r--module/web/pyload_app.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py
index e6c8300a2..185c773a3 100644
--- a/module/web/pyload_app.py
+++ b/module/web/pyload_app.py
@@ -151,3 +151,8 @@ def index(api):
def settings(api):
return render_to_response("settings.html", proc=[pre_processor])
+@route("/admin")
+@login_required()
+def admin(api):
+ return render_to_response("admin.html", proc=[pre_processor])
+