forked from AllonKleinLab/SPRING_dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
currentDatasetsList.html
51 lines (36 loc) · 1.66 KB
/
currentDatasetsList.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
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<link rel="stylesheet" type="text/css" href="scripts_1_6_dev/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="scripts_1_6_dev/sweetalert.css">
<link rel="stylesheet" type="text/css" href="scripts_1_6_dev/currentDatasetsList_style.css">
<div id='container'>
<h2 id="project_directory_title"> </h2>
<a id="sticky_link"> Sticky notes </a>
<ol id="dataset_list">
</ol>
</div>
<script src="scripts_1_6_dev/d3.min.js"></script>
<script src="scripts_1_6_dev/jquery-3.1.0.min.js"></script>
<script src="scripts_1_6_dev/currentDatasetsList_script.js"></script>
<script src="scripts_1_6_dev/sweetalert.min.js"></script>
<script>
var project_directory = window.location.search;
var proj_dir_split = project_directory.split("/");
if (proj_dir_split[proj_dir_split.length-1] == 'xenopus_embryo_timecourse') {
window.location.replace('https://kleintools.hms.harvard.edu/tools/currentDatasetsList_xenopus.html');
}
else if (proj_dir_split[proj_dir_split.length-1] == 'xenopus_embryo_timecourse_v2') {
window.location.replace('https://kleintools.hms.harvard.edu/tools/currentDatasetsList_xenopus_v2.html');
}
else if ( proj_dir_split[proj_dir_split.length-1] == 'all_plots_from_before_18_2_7' ) {
d3.select('#container').insert('div',':first-child').append('a')
.text('Xenopus Jamboree homepage').attr('href','https://kleintools.hms.harvard.edu/tools/currentDatasetsList_xenopus_v2.html')
.style('font-size','40px').style('color','red');
populate_subdirs_list(project_directory.slice(1,project_directory.length));
}
else {
populate_subdirs_list(project_directory.slice(1,project_directory.length));
}
</script>
</body>