##// END OF EJS Templates
Merge pull request #3690 from damianavila/fix_css_html...
Merge pull request #3690 from damianavila/fix_css_html Fixing some css minors in full_html and reveal. There are some issues in the padding of pre tag making the cell bigger and with lot of space around the text in the full_html template, so I put a reasonable padding to fit the cell in a proper way... And I have also aligned the output prompt with the imput prompt in the reveal template.

File last commit:

r11033:fa36e98f
r11565:fa276e47 merge
Show More
handlers.py
40 lines | 1.3 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.handlers import IPythonHandler, authenticate_unless_readonly
#-----------------------------------------------------------------------------
# Handlers
#-----------------------------------------------------------------------------
class ProjectDashboardHandler(IPythonHandler):
@authenticate_unless_readonly
def get(self):
self.write(self.render_template('tree.html',
project=self.project,
project_component=self.project.split('/'),
))
#-----------------------------------------------------------------------------
# URL to handler mappings
#-----------------------------------------------------------------------------
default_handlers = [(r"/", ProjectDashboardHandler)]