##// END OF EJS Templates
Splitting handlers into different files....
Splitting handlers into different files. I have also created a top-level utils.py for notebook related stuff

File last commit:

r10642:f9727e68
r10642:f9727e68
Show More
tree.py
33 lines | 1.1 KiB | text/x-python | PythonLexer
"""Tornado handlers for the tree view.
Authors:
* Brian Granger
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from .base import IPythonHandler, authenticate_unless_readonly
#-----------------------------------------------------------------------------
# Handlers
#-----------------------------------------------------------------------------
class ProjectDashboardHandler(IPythonHandler):
@authenticate_unless_readonly
def get(self):
self.write(self.render_template('projectdashboard.html',
project=self.project,
project_component=self.project.split('/'),
))