Entry point for rpc server, view templates, rss feeds of node down times,
[monitor.git] / web / MonitorWeb / monitorweb / controllers.py
1 import turbogears as tg
2 from turbogears import controllers, expose, flash
3 # from monitorweb import model
4 # import logging
5 # log = logging.getLogger("monitorweb.controllers")
6
7 class Root(controllers.RootController):
8     @expose(template="monitorweb.templates.welcome")
9     def index(self):
10         import time
11         # log.debug("Happy TurboGears Controller Responding For Duty")
12         flash("Your application is now running")
13         return dict(now=time.ctime())