summaryrefslogtreecommitdiff
path: root/modules/installed/router/info.py
blob: 1f4585a31a224e11db2118820f3222d9ebaa1410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>
""")