]> git.ipfire.org Git - people/jschlag/pbs.git/commitdiff
Remove "advanced" page.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Dec 2012 11:23:00 +0000 (12:23 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Dec 2012 11:23:00 +0000 (12:23 +0100)
data/templates/advanced.html [deleted file]
data/templates/base.html
web/__init__.py
web/handlers.py

diff --git a/data/templates/advanced.html b/data/templates/advanced.html
deleted file mode 100644 (file)
index 795730d..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}{{ _("Advanced options") }}{% end block %}
-
-{% block body %}
-       <h1>{{ _("Advanced options") }}</h1>
-       <p>
-               {{ _("On this page you will find advanced things to do.") }}
-       </p>
-
-       <h2>{{ _("Statistics") }}</h2>
-       <p>
-               {{ _("See a lot of interesting statistics from the build service.") }}
-       </p>
-       <ul>
-               <li>
-                       <a href="/statistics">{{ _("Statistics overview") }}</a>
-               </li>
-       </ul>
-
-       <h2>{{ _("Users") }}</h2>
-       <p>
-               {{ _("See a list of all users.") }}
-       </p>
-       <ul>
-               <li>
-                       <a href="/users">{{ _("User list") }}</a>
-               </li>
-       </ul>
-
-       <h2>{{ _("Mirrors") }}</h2>
-       <ul>
-               <li>
-                       <a href="/mirrors">{{ _("Mirror list") }}</a>
-               </li>
-
-               {% if current_user and current_user.is_admin() %}
-                       <li>
-                               <a href="/mirror/new">{{ _("Add new mirror") }}</a>
-                       </li>
-               {% end %}
-       </ul>
-
-       <h2>{{ _("Logs") }}</h2>
-       <p>
-               {{ _("If you need detailed information about what happended you may want to have a look at the logs.") }}
-       </p>
-       <ul>
-               <a href="/logs">{{ _("Logs") }}</a>
-       </ul>
-
-       {% if current_user and current_user.is_admin() %}
-               <h2>{{ _("Administrator's stuff") }}</h2>
-               <p>
-                       {{ _("These are a bunch of functions only available for administrators.") }}
-               </p>
-               <ul>
-                       <li>
-                               <a href="/uploads">{{ _("Running uploads") }}</a>
-                       </li>
-               </ul>
-       {% end %}
-
-       <div style="clear: both;">&nbsp;</div>
-{% end block %}
index 44a0bc9f8ff6048af1929d07e42fab0de72c9fe8..8fac1c54dd2928814db15b0017520ef9e1070af4 100644 (file)
                                                                                </li>
                                                                        {% end %}
 
-                                                                       <li class="divider"></li>
                                                                        <li>
                                                                                <a href="/statistics">
                                                                                        <i class="icon-align-left"></i>
                                                                                        {{ _("Statistics") }}
                                                                                </a>
                                                                        </li>
-                                                                       <li>
-                                                                               <a href="/advanced">{{ _("Even more...") }}</a>
-                                                                       </li>
 
                                                                        {% if current_user and current_user.is_admin() %}
                                                                                <li class="divider"></li>
index 83f4e3c5bd95587cbb2320df686aa8b770c70663..710b7688830da7a86094130687dd1345a14ff5c3 100644 (file)
@@ -94,9 +94,6 @@ class Application(tornado.web.Application):
                        # Entry site that lead the user to index
                        (r"/", IndexHandler),
 
-                       # Advanced options for logged in users.
-                       (r"/advanced", AdvancedHandler),
-
                        # Handle all the users logins/logouts/registers and stuff.
                        (r"/login", LoginHandler),
                        (r"/logout", LogoutHandler),
index 8fe48a181884d91f085c24b4843e0fd443becf47..66becda34efa5dd83f9ab7f75411fe6f87ba6e4c 100644 (file)
@@ -43,11 +43,6 @@ class Error404Handler(BaseHandler):
                raise tornado.web.HTTPError(404)
 
 
-class AdvancedHandler(BaseHandler):
-       def get(self):
-               self.render("advanced.html")
-
-
 class StatisticsMainHandler(BaseHandler):
        def get(self):
                args = {}