Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
106
Merge Requests
106
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
74aaf5d8
Commit
74aaf5d8
authored
Dec 12, 2017
by
Sebastian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ipython_notebook: Add wip erp5 hateoas configuration
parent
007120de
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
software/ipython_notebook/software.cfg
software/ipython_notebook/software.cfg
+8
-1
software/ipython_notebook/template/ipython_notebook_config.py.jinja
...python_notebook/template/ipython_notebook_config.py.jinja
+1
-1
software/ipython_notebook/template/jiocontents_erp5_config.js.jinja
...python_notebook/template/jiocontents_erp5_config.js.jinja
+1
-0
No files found.
software/ipython_notebook/software.cfg
View file @
74aaf5d8
...
@@ -39,7 +39,7 @@ mode = 0644
...
@@ -39,7 +39,7 @@ mode = 0644
[ipython-notebook-config]
[ipython-notebook-config]
<= download-file-base
<= download-file-base
filename = ipython_notebook_config.py.jinja
filename = ipython_notebook_config.py.jinja
md5sum =
66b547e099cd280c7e51e3e8c17e72e2
md5sum =
15d558faf45df2161e4b437d379765c8
[ipython-notebook-set-password]
[ipython-notebook-set-password]
<= download-file-base
<= download-file-base
...
@@ -61,6 +61,11 @@ md5sum = ab6e78ea20855e07d388b5b86d1770fe
...
@@ -61,6 +61,11 @@ md5sum = ab6e78ea20855e07d388b5b86d1770fe
filename = custom.js.jinja
filename = custom.js.jinja
md5sum = 13561a9d86c488be752795e7bc23474a
md5sum = 13561a9d86c488be752795e7bc23474a
[jiocontents-config]
<= download-file-base
filename = jiocontents_erp5_config.js.jinja
md5sum = 76943099403d2f98b981ea1757a00942
[jiocontents-nbextension]
[jiocontents-nbextension]
recipe = slapos.recipe.build:gitclone
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
git-executable = ${git:location}/bin/git
...
@@ -92,6 +97,8 @@ context =
...
@@ -92,6 +97,8 @@ context =
key custom_js_filename custom-js:filename
key custom_js_filename custom-js:filename
key monitor_template_rendered buildout:directory
key monitor_template_rendered buildout:directory
# JIOCONTENTS-NBEXTENSION
# JIOCONTENTS-NBEXTENSION
key jiocontents_config_location jiocontents-config:location
key jiocontents_config_filename jiocontents-config:filename
key jiocontents_nbextension_location jiocontents-nbextension:location
key jiocontents_nbextension_location jiocontents-nbextension:location
[versions]
[versions]
...
...
software/ipython_notebook/template/ipython_notebook_config.py.jinja
View file @
74aaf5d8
...
@@ -51,7 +51,7 @@ class ClientSideContentsManager(ContentsManager):
...
@@ -51,7 +51,7 @@ class ClientSideContentsManager(ContentsManager):
def get(self, path, content=True, type=None, format=None):
def get(self, path, content=True, type=None, format=None):
return {'type':'notebook'}
return {'type':'notebook'}
c.NotebookApp.tornado_settings = {'contents_js_source': 'nbextensions/jiocontents/jiocontents'}
c.NotebookApp.tornado_settings = {'contents_js_source': 'nbextensions/jiocontents/
src/
jiocontents'}
c.NotebookApp.contents_manager_class = ClientSideContentsManager
c.NotebookApp.contents_manager_class = ClientSideContentsManager
#
#
# END JIO CONTENTS MANAGER
# END JIO CONTENTS MANAGER
...
...
software/ipython_notebook/template/jiocontents_erp5_config.js.jinja
0 → 100644
View file @
74aaf5d8
_erp5_hateoas_url = {{erp5_url}}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment