James Vasile 35071d7212 ...
2011-02-22 13:32:45 -05:00

19 lines
481 B
Python

import cherrypy
from plugin_mount import PagePlugin
from modules.auth import require
class Info(PagePlugin):
title = 'Info'
order = 10
url = 'info'
def __init__(self, *args, **kwargs):
self.register_page("router.info")
@cherrypy.expose
@require()
def index(self):
return self.fill_template(title="Router Information", main="""
<p> Eventually we will display a bunch of info, graphs and logs about the routing functions here.</p>
""")