diff --git a/apps/Info.html b/apps/Info.html index 0d5c7ba6c..49f68f817 100644 --- a/apps/Info.html +++ b/apps/Info.html @@ -1,12 +1,16 @@ - +
- + + + + @@ -19,6 +23,8 @@ integrity="sha384-wEmeIV1mKuiNpC+IOBjI7aAzPcEZeedi5yW5f2yOq55WWLwNGmvvx4Um1vskeMj0" crossorigin="anonymous"> + + + - .btns { - display: flex; - margin: 0 20px; - } - .btnn{ - margin: 10px 180px; - } - .file { - margin-top: 20px; - } - .slide { - margin:5px; - } -+
Non-admin users have to submit a request ticket to admins to get their approval to signup new users. If you are an Admin, you can directly signup users.
-U24 CA18092401A1, Tools to Analyze Morphology and Spatially Mapped Molecular Data
+Spot a Bug? Report it!
+Copyright © ${currentYear} caMicroscope
+`; + +function insertFooterLayout() { + document.getElementById('footer-layout').innerHTML = footerContent; +} diff --git a/core/CaMic.js b/core/CaMic.js index b9cf3daf5..55d3a5e5b 100644 --- a/core/CaMic.js +++ b/core/CaMic.js @@ -196,10 +196,14 @@ class CaMic { this.slideId = data['_id']['$oid']; this.slideName = data['name']; + // encode special characters but not dir slashes + let loc = data['location']; + loc = encodeURIComponent(loc); + loc = loc.replaceAll('%2F', '/'); // insert token if present - let iipSrvUrl = '../../img/IIP/raw/?DeepZoom='+ data['location'] + '.dzi'; + let iipSrvUrl = '../../img/IIP/raw/?DeepZoom='+ loc + '.dzi'; if (getCookie('token')) { - iipSrvUrl = '../../img/IIP/raw/?token=' + getCookie('token') + '&DeepZoom='+ data['location'] + '.dzi'; + iipSrvUrl = '../../img/IIP/raw/?token=' + getCookie('token') + '&DeepZoom='+ loc + '.dzi'; } this.viewer.open(iipSrvUrl); // set mpp diff --git a/index.html b/index.html index 3d29d9f3e..f0de0d86a 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,3 @@ - +