diff --git a/config.json b/config.json
index ac492fb..4ad465d 100644
--- a/config.json
+++ b/config.json
@@ -1,10 +1,11 @@
{
"system": {
+ "id":"genomix.studio",
"version": "0.0.1",
- "context": "",
+ "context": "/studio",
"logo": "logo.svg",
"app": {
- "debug": true,
+ "debug": true, "host":"0.0.0.0","threaded":true,
"port": "9000"
}
},
diff --git a/content/index.html b/content/index.html
index 0826a1e..3deddc8 100644
--- a/content/index.html
+++ b/content/index.html
@@ -63,7 +63,7 @@
outline: 0px;
}
-
+
diff --git a/content/participants.html b/content/participants.html
index f6d55cc..1b56028 100644
--- a/content/participants.html
+++ b/content/participants.html
@@ -1,7 +1,7 @@
-
-
-
+
+
+
diff --git a/static/js/studio.js b/static/js/studio.js
index 8d6b471..de6cb24 100644
--- a/static/js/studio.js
+++ b/static/js/studio.js
@@ -13,7 +13,9 @@ var _build = function(){
var http = HttpClient.instance()
http.setHeader('Content-Type','application/json')
http.setData (JSON.stringify(_body))
- http.post('/api/studio/_build',function(x){
+ var _context = sessionStorage.getItem('genomix.studio')
+ var _uri = _context + '/api/studio/_build'
+ http.post(_uri,function(x){
stream = 'data:image/png;base64,' + x.responseText
jx.dom.set.attribute('image','src',stream)
// jx.dom.set.attribute('_avatar2','src',stream)
@@ -55,7 +57,9 @@ _save = function(){
http = HttpClient.instance()
http.setHeader('content-type','application/json')
http.setData(JSON.stringify(_body))
- http.post('/api/studio/_save',function(x){
+ var _context = sessionStorage.getItem('genomix.studio')
+ var _uri = _context+'/api/studio/_save'
+ http.post(_uri,function(x){
if(x.status == 200){
//
//
@@ -77,7 +81,9 @@ var _dialog = function(title,icon,msg,_pointer){
var http = HttpClient.instance()
http.setHeader('uri','dialog.html')
http.setHeader('dom','_dialog')
- http.post('/page',function(x){
+ var _context = sessionStorage.getItem('genomix.studio')
+ var _uri = _context + '/page'
+ http.post(_uri,function(x){
var _html = x.responseText.replace(/:title/,title).replace(/:message/,msg).replace(/:icon/,icon)
jx.modal.show({html:_html,id:'_dialog'})
if (_pointer == null){
@@ -96,4 +102,5 @@ var _reset = function(){
// jx.dom.set.attribute('image','src','')
_open('basic')
_build()
-}
\ No newline at end of file
+}
+
diff --git a/templates/header.html b/templates/header.html
index 4d12892..94c1329 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -1,5 +1,5 @@
{% if layout.header.logo == True %}
-
+
{% endif %}
{{layout.header.title}}
diff --git a/templates/index.html b/templates/index.html
index 4fee6f4..8769e8d 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -36,7 +36,10 @@ Vanderbilt University Medical Center
-
+
diff --git a/templates/pane.html b/templates/pane.html
index a0fb378..87eb801 100644
--- a/templates/pane.html
+++ b/templates/pane.html
@@ -20,7 +20,7 @@