##// END OF EJS Templates
remove some custom css...
remove some custom css mainly in navbars, where we were doing custom things that bootstrap already did with classes. This did require the removal of multiple class LESS inheritance for navbar buttons, because it doesn't work properly. Seems like a LESS bug, but I'm not sure.

File last commit:

r18979:ee673d8b
r19298:d8390523
Show More
clientsidenbmanager.py
23 lines | 829 B | text/x-python | PythonLexer
Thomas Kluyver
Update ClientSideContentsManager
r18657 """A dummy contents manager for when the logic is done client side (in JavaScript)."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from .manager import ContentsManager
class ClientSideContentsManager(ContentsManager):
"""Dummy contents manager for use with client-side contents APIs like GDrive
The view handlers for notebooks and directories (/tree/) check with the
ContentsManager that their target exists so they can return 404 if not. Using
this class as the contents manager allows those pages to render without
checking something that the server doesn't know about.
"""
Matthias Bussonnier
fix clientside notebook manager and assume tree is dir by default...
r18979 def dir_exists(self, path):
return True
Thomas Kluyver
Update ClientSideContentsManager
r18657
def is_hidden(self, path):
return False
def file_exists(self, name, path=''):
return True