diff --git a/IPython/frontend/html/notebook/handlers.py b/IPython/frontend/html/notebook/handlers.py index 7822118..43d86b7 100644 --- a/IPython/frontend/html/notebook/handlers.py +++ b/IPython/frontend/html/notebook/handlers.py @@ -116,7 +116,14 @@ def authenticate_unless_readonly(f, self, *args, **kwargs): # Top-level handlers #----------------------------------------------------------------------------- -class AuthenticatedHandler(web.RequestHandler): +class RequestHandler(web.RequestHandler): + """RequestHandler with default variable setting.""" + + def render(*args, **kwargs): + kwargs.setdefault('message', '') + return web.RequestHandler.render(*args, **kwargs) + +class AuthenticatedHandler(RequestHandler): """A RequestHandler with an authenticated user.""" def get_current_user(self): diff --git a/IPython/frontend/html/notebook/templates/layout.html b/IPython/frontend/html/notebook/templates/layout.html new file mode 100644 index 0000000..db4603f --- /dev/null +++ b/IPython/frontend/html/notebook/templates/layout.html @@ -0,0 +1,71 @@ + + + +
+ + +