mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Remove Privacy stubs
This commit is contained in:
parent
1625a99cc2
commit
de250e5e63
@ -12,17 +12,8 @@ class Privacy(PagePlugin):
|
|||||||
PagePlugin.__init__(self, *args, **kwargs)
|
PagePlugin.__init__(self, *args, **kwargs)
|
||||||
self.register_page("privacy")
|
self.register_page("privacy")
|
||||||
self.menu = cfg.main_menu.add_item("Privacy", "icon-eye-open", "/privacy", 12)
|
self.menu = cfg.main_menu.add_item("Privacy", "icon-eye-open", "/privacy", 12)
|
||||||
self.menu.add_item("General Config", "icon-asterisk", "/privacy/config", 10)
|
|
||||||
self.menu.add_item("Ad Blocking", "icon-ban-circle", "/privacy/adblock", 20)
|
|
||||||
self.menu.add_item("HTTPS Everywhere", "icon-lock", "/privacy/https_everywhere", 30)
|
|
||||||
|
|
||||||
@cherrypy.expose
|
@cherrypy.expose
|
||||||
def index(self):
|
def index(self):
|
||||||
#raise cherrypy.InternalRedirect('/privacy/config')
|
|
||||||
return self.config()
|
|
||||||
|
|
||||||
@cherrypy.expose
|
|
||||||
@require()
|
|
||||||
def config(self):
|
|
||||||
return util.render_template(template='privacy_config',
|
return util.render_template(template='privacy_config',
|
||||||
title=_('Privacy Control Panel'))
|
title=_('Privacy Control Panel'))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user