From: Michael Tremer Date: Tue, 4 Dec 2012 11:23:00 +0000 (+0100) Subject: Remove "advanced" page. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb11d77d2308f0ae585e93e169ebf087dfd23ae6;p=pbs.git Remove "advanced" page. --- diff --git a/data/templates/advanced.html b/data/templates/advanced.html deleted file mode 100644 index 795730dd..00000000 --- a/data/templates/advanced.html +++ /dev/null @@ -1,65 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ _("Advanced options") }}{% end block %} - -{% block body %} -

{{ _("Advanced options") }}

-

- {{ _("On this page you will find advanced things to do.") }} -

- -

{{ _("Statistics") }}

-

- {{ _("See a lot of interesting statistics from the build service.") }} -

- - -

{{ _("Users") }}

-

- {{ _("See a list of all users.") }} -

- - -

{{ _("Mirrors") }}

- - -

{{ _("Logs") }}

-

- {{ _("If you need detailed information about what happended you may want to have a look at the logs.") }} -

- - - {% if current_user and current_user.is_admin() %} -

{{ _("Administrator's stuff") }}

-

- {{ _("These are a bunch of functions only available for administrators.") }} -

- - {% end %} - -
 
-{% end block %} diff --git a/data/templates/base.html b/data/templates/base.html index 44a0bc9f..8fac1c54 100644 --- a/data/templates/base.html +++ b/data/templates/base.html @@ -88,16 +88,12 @@ {% end %} -
  • {{ _("Statistics") }}
  • -
  • - {{ _("Even more...") }} -
  • {% if current_user and current_user.is_admin() %}
  • diff --git a/web/__init__.py b/web/__init__.py index 83f4e3c5..710b7688 100644 --- a/web/__init__.py +++ b/web/__init__.py @@ -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), diff --git a/web/handlers.py b/web/handlers.py index 8fe48a18..66becda3 100644 --- a/web/handlers.py +++ b/web/handlers.py @@ -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 = {}