##// END OF EJS Templates
Rename texteditor files & folders to edit
Thomas Kluyver -
Show More
1 NO CONTENT: file renamed from IPython/html/texteditor/__init__.py to IPython/html/edit/__init__.py
NO CONTENT: file renamed from IPython/html/texteditor/__init__.py to IPython/html/edit/__init__.py
@@ -17,7 +17,7 b' class EditorHandler(IPythonHandler):'
17 raise web.HTTPError(404, u'File does not exist: %s' % path)
17 raise web.HTTPError(404, u'File does not exist: %s' % path)
18
18
19 basename = path.rsplit('/', 1)[-1]
19 basename = path.rsplit('/', 1)[-1]
20 self.write(self.render_template('texteditor.html',
20 self.write(self.render_template('edit.html',
21 file_path=url_escape(path),
21 file_path=url_escape(path),
22 basename=basename,
22 basename=basename,
23 page_title=basename + " (editing)",
23 page_title=basename + " (editing)",
@@ -199,7 +199,7 b' class NotebookWebApplication(web.Application):'
199 handlers.extend(load_handlers('notebook.handlers'))
199 handlers.extend(load_handlers('notebook.handlers'))
200 handlers.extend(load_handlers('nbconvert.handlers'))
200 handlers.extend(load_handlers('nbconvert.handlers'))
201 handlers.extend(load_handlers('kernelspecs.handlers'))
201 handlers.extend(load_handlers('kernelspecs.handlers'))
202 handlers.extend(load_handlers('texteditor.handlers'))
202 handlers.extend(load_handlers('edit.handlers'))
203 handlers.extend(load_handlers('services.config.handlers'))
203 handlers.extend(load_handlers('services.config.handlers'))
204 handlers.extend(load_handlers('services.kernels.handlers'))
204 handlers.extend(load_handlers('services.kernels.handlers'))
205 handlers.extend(load_handlers('services.contents.handlers'))
205 handlers.extend(load_handlers('services.contents.handlers'))
1 NO CONTENT: file renamed from IPython/html/static/texteditor/js/editor.js to IPython/html/static/edit/js/editor.js
NO CONTENT: file renamed from IPython/html/static/texteditor/js/editor.js to IPython/html/static/edit/js/editor.js
@@ -7,9 +7,9 b' require(['
7 'base/js/page',
7 'base/js/page',
8 'base/js/events',
8 'base/js/events',
9 'contents',
9 'contents',
10 'texteditor/js/editor',
10 'edit/js/editor',
11 'texteditor/js/menubar',
11 'edit/js/menubar',
12 'texteditor/js/notificationarea',
12 'edit/js/notificationarea',
13 'custom/custom',
13 'custom/custom',
14 ], function(
14 ], function(
15 IPython,
15 IPython,
1 NO CONTENT: file renamed from IPython/html/static/texteditor/js/menubar.js to IPython/html/static/edit/js/menubar.js
NO CONTENT: file renamed from IPython/html/static/texteditor/js/menubar.js to IPython/html/static/edit/js/menubar.js
1 NO CONTENT: file renamed from IPython/html/static/texteditor/js/notificationarea.js to IPython/html/static/edit/js/notificationarea.js
NO CONTENT: file renamed from IPython/html/static/texteditor/js/notificationarea.js to IPython/html/static/edit/js/notificationarea.js
@@ -68,5 +68,5 b' data-file-path="{{file_path}}"'
68
68
69 {{super()}}
69 {{super()}}
70
70
71 <script src="{{ static_url("texteditor/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
71 <script src="{{ static_url("edit/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
72 {% endblock %}
72 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now