Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiocontents-nbextension
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
jiocontents-nbextension
Commits
11b30ebc
Commit
11b30ebc
authored
Dec 12, 2017
by
Sebastian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to reflect new directory and config structure
parent
ff40f1aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
jiocontents/gadget_jupyter_page.html
jiocontents/gadget_jupyter_page.html
+2
-0
jiocontents/gadget_jupyter_page.js
jiocontents/gadget_jupyter_page.js
+2
-2
jiocontents/jiocontents.js
jiocontents/jiocontents.js
+1
-1
No files found.
jiocontents/gadget_jupyter_page.html
View file @
11b30ebc
...
...
@@ -14,6 +14,8 @@
<script
data-renderjs-configuration=
"default_view_reference"
type=
"text/x-renderjs-configuration"
>
notebook_jio_view
</script>
<script
data-renderjs-configuration=
"hateoas_url"
type=
"text/x-renderjs-configuration"
>
hateoas
/
</script>
<script
type=
"text/javascript"
src=
"jiocontents_erp5_config.js"
></script>
<div
data-gadget-url=
"gadget_jio.html"
data-gadget-scope=
"setting_gadget"
data-gadget-sandbox=
"public"
></div>
...
...
jiocontents/gadget_jupyter_page.js
View file @
11b30ebc
...
...
@@ -70,8 +70,8 @@
// .absoluteTo(location.href)
// .toString();
//
TODO HARDCODED - BAD
setting
.
hateoas_url
=
"
"
;
//
Read erp5 URL
setting
.
hateoas_url
=
_erp5_hateoas_url
+
"
web_site_module/renderjs_runner/hateoas/
"
;
if
(
setting
.
hasOwnProperty
(
'
service_worker_url
'
)
&&
(
setting
.
service_worker_url
!==
''
))
{
...
...
jiocontents/jiocontents.js
View file @
11b30ebc
...
...
@@ -12,7 +12,7 @@ define(function(require) {
var
utils
=
require
(
'
base/js/utils
'
);
var
baseUrl
=
"
/nbextensions/jiocontents
"
;
var
baseUrl
=
"
/nbextensions/jiocontents
/src
"
;
var
gadget_main_div
=
document
.
createElement
(
"
div
"
);
gadget_main_div
.
setAttribute
(
"
data-gadget-url
"
,
baseUrl
+
"
/gadget_jupyter_page.html
"
);
...
...
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