Package npsgd :: Module ui_modules
[hide private]
[frames] | no frames]

Source Code for Module npsgd.ui_modules

 1  # Author: Thomas Dimson [tdimson@gmail.com] 
 2  # Date:   January 2011 
 3  # For distribution details, see LICENSE 
 4  """Module containing all modules that are used for Tornado's UI rendering.""" 
 5   
 6  import tornado.web 
7 -class ParameterRenderer(tornado.web.UIModule):
8 """UI module to render parameter HTML.""" 9
10 - def render(self, parameter):
11 return parameter.asHTML()
12