-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (68 loc) · 2.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="manifest" href="manifest.webmanifest"></link>
<script>
const registerServiceWorker = async () => {
if ('serviceWorker' in navigator) {
try {
const registration = await navigator.serviceWorker.register(
'sw.js',
{
scope: '/papaya_visualization/',
}
);
if (registration.installing) {
console.log('Service worker installing');
} else if (registration.waiting) {
console.log('Service worker installed');
} else if (registration.active) {
console.log('Service worker active');
}
} catch (error) {
console.error(`Registration failed with ${error}`);
}
}
};
registerServiceWorker()
</script>
<!-- iOS meta tags -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="index.css" />
<script src="js/bootstrap.bundle.min.js"></script>
<title>Papaya Viewer</title>
</head>
<body>
<script>
</script>
<div class="d-flex justify-content-center">
<div class="tabs-left">
<a href="?atlas=MBMv5_gradients" class="nav-link text-white">MBMv5_gradients</a>
<a href="?atlas=CERB_13lobe" class="nav-link text-white">MBMv5_13lobe+nuclei</a>
<a href="?atlas=CERB_17lobe" class="nav-link text-white">MBMv5_17lobe+nuclei</a>
</div>
<div class="papaya-wrapper">
<div class="papaya" data-params="params"></div>
</div>
<div class="tabs-right">
<!-- <a href="?atlas=sub_all_gradient" class="nav-link text-white">MBMv5_Intra-cerebellar gradient-1</a> -->
<!-- <a href="?atlas=sub_all_5k_8k_gradient" class="nav-link text-white">MBMv5_Cerebello-cerebral gradient-1</a> -->
<a href="https://atlasviewer.marmosetbrainmapping.org/" class="nav-link text-white">Previous Atlases</a>
<div></div>
<div></div>
<!-- <a href="?atlas=vPaxinos" class="nav-link text-white" aria-current="page">MBMv3_Cortex_vPaxinos</a>
<a href="?atlas=vH" class="nav-link text-white">MBMv3_Cortex_vH</a>
<a href="?atlas=v4" class="nav-link text-white">MBMv4_Cortex_vFC</a>
<a href="?atlas=vNetwork" class="nav-link text-white">MBMv4_Cortex_vNetwork</a> -->
</div>
</div>
<script type="text/javascript" src="papaya.js?build=1594"></script>
<script type="text/javascript" src="config.js"></script>
<link rel="stylesheet" type="text/css" href="papaya.css?build=1594" />
<script type="text/javascript" src="color_step.js"></script>
</body>
</html>