diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-09-17 15:46:42 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-09-17 15:46:42 +0200 |
commit | 68f1510f5a6ab632db19fc63f29c0475de9feb9d (patch) | |
tree | 7be8c9c3890465128a50ad8c6880d70ed7720bc7 /module/web/pyload_app.py | |
parent | added bootstrap (diff) | |
download | pyload-68f1510f5a6ab632db19fc63f29c0475de9feb9d.tar.xz |
nav + search bar for dashboard
Diffstat (limited to 'module/web/pyload_app.py')
-rw-r--r-- | module/web/pyload_app.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index 04cd07cb2..8401e1778 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -136,18 +136,13 @@ def logout(): s.delete() return render_to_response("login.html", {"logout": True}, proc=[pre_processor]) -@route("/queue") +@route("/") @login_required() -def queue(api): - return render_to_response("queue.html", proc=[pre_processor]) +def index(api): + return render_to_response("dashboard.html", proc=[pre_processor]) @route("/settings") @login_required() def settings(api): return render_to_response("settings.html", proc=[pre_processor]) -@route("/") -@login_required() -def index(api): - return base(["It works!"]) - |