-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
executable file
·323 lines (306 loc) · 16.1 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>SODA - Keep Calm and Curate</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link rel="stylesheet" href="node_modules/@fortawesome/fontawesome-free/css/all.css" />
<link rel="stylesheet" href="node_modules/select2/dist/css/select2.min.css" />
<link rel="stylesheet" href="node_modules/@toast-ui/editor/dist/toastui-editor.css" />
<link rel="stylesheet" href="node_modules/tui-date-picker/dist/tui-date-picker.css" />
<link rel="stylesheet" href="node_modules/codemirror/lib/codemirror.css" />
<link rel="stylesheet" href="node_modules/@yaireo/tagify/dist/tagify.css" />
<link rel="stylesheet" href="node_modules/fomantic-ui/dist/semantic.min.css" />
<link rel="stylesheet" href="node_modules/fomantic-ui/dist/components/accordion.min.css" />
<link
rel="stylesheet"
href="node_modules/@tarekraafat/autocomplete.js/dist/css/autoComplete.02.css"
/>
<link rel="stylesheet" href="node_modules/@sweetalert2/theme-bulma/bulma.css" />
<link rel="stylesheet" href="node_modules/bootstrap-select/dist/css/bootstrap-select.min.css" />
<link rel="stylesheet" href="node_modules/jstree/dist/themes/default/style.min.css" />
<link rel="stylesheet" href="node_modules/tippy.js/dist/tippy.css" />
<link rel="stylesheet" href="node_modules/tippy.js/themes/light.css" />
<link rel="stylesheet" href="node_modules/intro.js/minified/introjs.min.css" />
<link rel="stylesheet" href="node_modules/intro.js/minified/introjs-rtl.min.css" />
<link rel="stylesheet" href="assets/css/mantine-custom.css" />
<link rel="stylesheet" href="assets/css/animations.css" />
<link rel="stylesheet" href="assets/css/file_views.css" />
<link rel="stylesheet" href="assets/css/variables.css" />
<link rel="stylesheet" href="assets/css/spur.css" />
<link rel="stylesheet" href="assets/css/buttons.css" />
<link rel="stylesheet" href="assets/css/helperClasses.css" />
<link rel="stylesheet" href="assets/css/fontStyling.css" />
<link rel="stylesheet" href="assets/css/containers.css" />
<link rel="stylesheet" href="assets/css/folder_files.css" />
<link rel="stylesheet" href="assets/css/overview_page.css" />
<link rel="stylesheet" href="assets/css/doc_contact_pages.css" />
<link rel="stylesheet" href="assets/css/nativize.css" />
<link rel="stylesheet" href="assets/css/nav.css" />
<link rel="stylesheet" href="assets/css/section.css" />
<link rel="stylesheet" href="assets/css/demo.css" />
<link rel="stylesheet" href="assets/css/individualtab.css" />
<link rel="stylesheet" href="assets/css/main_tabs.css" />
<link rel="stylesheet" href="node_modules/cropperjs/dist/cropper.css" />
<link rel="stylesheet" href="node_modules/notyf/notyf.min.css" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/guided.css" />
<link rel="stylesheet" href="assets/css/global.css" />
<link rel="stylesheet" href="https://jsuites.net/v4/jsuites.css" type="text/css" />
<link rel="stylesheet" href="https://bossanova.uk/jspreadsheet/v4/jexcel.css" type="text/css" />
<link rel="import" href="sections/getting_started/getting_started.html" />
<link rel="import" href="sections/manage_datasets/manage_datasets.html" />
<link rel="import" href="sections/post_curation/post_curation.html" />
<link rel="import" href="sections/prepare_metadata/metadata_templates.html" />
<link rel="import" href="sections/prepare_metadata/create_submission.html" />
<link rel="import" href="sections/prepare_metadata/create_subjects.html" />
<link rel="import" href="sections/prepare_metadata/dataset_description.html" />
<link rel="import" href="sections/prepare_metadata/create_samples.html" />
<link rel="import" href="sections/prepare_metadata/create_changes.html" />
<link rel="import" href="sections/prepare_metadata/create_readme.html" />
<link rel="import" href="sections/prepare_metadata/create_manifest.html" />
<link rel="import" href="sections/curate/curate.html" />
<link rel="import" href="sections/main_tabs/main_tabs.html" />
<link rel="import" href="sections/validate/validate_dataset.html" />
<link rel="import" href="sections/guided_mode/guided_curate_dataset.html" />
<link rel="import" href="sections/documentation/documentation.html" />
<link rel="import" href="sections/contact-us/contact_us.html" />
<link rel="import" href="sections/advanced-features/advanced_features.html" />
<link rel="import" href="sections/sds-templates/sds_templates.html" />
<script src="./assets/lotties/license-lottie.js" type="text/javascript"></script>
<script src="./assets/lotties/overview-lotties.js" type="text/javascript"></script>
<script src="./assets/lotties/documentation-lotties.js" type="text/javascript"></script>
<script src="./assets/lotties/contact-us-lotties.js" type="text/javascript"></script>
<script>
// TODO: Import the card container component script here
require("./assets/imports"); // Imports html files into app
require("./assets/normalize-shortcuts"); // For normalizing shortcuts across OS
</script>
</head>
<body>
<button type="button" id="sidebarCollapse" class="navbar-btn">
<span></span>
<span></span>
<span></span>
</button>
<nav id="main-nav" class="nav js-nav">
<div id="nav-items" class="nav-item u-category-windows">
<!-- Sidebar Header -->
<div class="sidebar-header">
<div style="display: block" id="SODA-logo">
<img
id="button-soda-big-icon"
class="nav-center-logo-image"
src="assets/img/logo-new-green.png"
/>
<h3
class="text-center large w-auto"
style="color: var(--color-light-green); margin-top: 3px"
>
SODA<br />
<span id="version" style="font-size: 14px"></span>
</h3>
</div>
<!-- Sidebar Links -->
<ul class="list-unstyled components">
<!--
Overview page is temporarily hidden until redsign occurs
(issue with lottie containers looking like buttons)
-->
<li style="display: none">
<a href="#" data-section="getting_started" id="getting_starting_tab">
<svg
data-section="getting_started"
style="margin-right: 30px; margin-bottom: -5px"
width="20px"
height="20px"
viewBox="0 0 16 16"
class="bi bi-caret-right-square-fill"
fill="white"
xmlns="http://www.w3.org/2000/svg"
>
<path
data-section="getting_started"
fill-rule="evenodd"
d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm5.5 10a.5.5 0 0 0 .832.374l4.5-4a.5.5 0 0 0 0-.748l-4.5-4A.5.5 0 0 0 5.5 4v8z"
></path>
</svg>
Overview
</a>
</li>
<li>
<a href="#" data-section="guided_mode" id="guided_mode_view">
<i class="fas fa-share-square" style="margin-right: 21px"></i>
Curate and Share
</a>
</li>
<li style="display: none">
<a href="#" data-section="main_tabs" id="main_tabs_view">
<svg
style="margin-right: 30px; margin-bottom: -5px"
width="20px"
height="20px"
viewBox="0 0 16 16"
class="bi bi-kanban-fill"
fill="white"
xmlns="http://www.w3.org/2000/svg"
>
<!--<path
d="M2.5 0a2 2p 0 0 0-2 2v12a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2h-11zm5 2h1a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm-5 1a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V3zm9-1h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z"
></path>-->
</svg>
Free Form Mode
</a>
</li>
<li>
<a href="#" data-section="documentation" id="documentation-view">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 448 512"
height="20px"
width="20px"
style="margin-right: 30px; margin-bottom: -5px"
>
<!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path
d="M448 336v-288C448 21.49 426.5 0 400 0H96C42.98 0 0 42.98 0 96v320c0 53.02 42.98 96 96 96h320c17.67 0 32-14.33 32-31.1c0-11.72-6.607-21.52-16-27.1v-81.36C441.8 362.8 448 350.2 448 336zM143.1 128h192C344.8 128 352 135.2 352 144C352 152.8 344.8 160 336 160H143.1C135.2 160 128 152.8 128 144C128 135.2 135.2 128 143.1 128zM143.1 192h192C344.8 192 352 199.2 352 208C352 216.8 344.8 224 336 224H143.1C135.2 224 128 216.8 128 208C128 199.2 135.2 192 143.1 192zM384 448H96c-17.67 0-32-14.33-32-32c0-17.67 14.33-32 32-32h288V448z"
></path></svg
>Documentation</a
>
</li>
<li>
<a href="#" data-section="contact-us" id="contact-us-view">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
height="20px"
width="20px"
style="margin-right: 30px; margin-bottom: -5px"
>
<!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path
d="M511.1 63.1v287.1c0 35.25-28.75 63.1-64 63.1h-144l-124.9 93.68c-7.875 5.75-19.12 .0497-19.12-9.7v-83.98h-96c-35.25 0-64-28.75-64-63.1V63.1c0-35.25 28.75-63.1 64-63.1h384C483.2 0 511.1 28.75 511.1 63.1z"
></path></svg
>Contact Us</a
>
</li>
</ul>
<div class="help-section">
<ul
class="list-unstyled components"
style="
height: 50px;
margin-bottom: 0;
margin-left: 35px;
display: flex;
flex-direction: row;
justify-content: center;
"
></ul>
</div>
</div>
<div>
<div id="sparc-logo-container" class="sparc-logo">
<h4 class="text-black mb-1 text-center">For</h4>
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 170.5327 84.5895"
style="cursor: pointer"
>
<a href="https://sparc.science/">
<defs>
<linearGradient
id="linear-gradient"
y1="42.7643"
x2="170.5327"
y2="42.7643"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stop-color="#0b00bf"></stop>
<stop offset="1" stop-color="#bc00fc"></stop>
</linearGradient>
</defs>
<title>For Sparc</title>
<g id="derivative-logo">
<path
d="M169.0691,57.0889l-60.922-1.5a2.8941,2.8941,0,0,0-2.7225,1.7374l-.0289.0665L99.327,71.3508,87.0724,4.2313l-.0045-.03a3.9867,3.9867,0,0,0-7.8393-.0051L69.6429,55.6522,1.4623,57.3835a1.5,1.5,0,0,0,.0125,3l70.6845,1.2053a2.9235,2.9235,0,0,0,2.9-2.2814l.0259-.1154L83.01,23.8779,95.2029,82.1654l.0113.0551a3,3,0,0,0,5.684.5645l9.237-21.2451,58.9339-1.451a1.5,1.5,0,0,0,0-3Z"
style="fill: url(#linear-gradient)"
></path>
<path
d="M11.3962.9629c6.9756,0,11.2637,4.48,11.2637,11.583V16.77H16.0681V12.5459c0-3.2637-1.7285-5.2471-4.6719-5.2471-3.0078,0-4.7353,1.9834-4.7353,5.2471a6.6109,6.6109,0,0,0,2.4316,5.0557L17.86,25.8574c2.8154,2.6875,5.3115,5.6319,5.3115,10.56,0,7.1035-4.416,11.583-11.5195,11.583-7.167,0-11.583-4.48-11.583-11.583V32.1924H6.6609V36.417c0,3.2637,1.792,5.2471,4.9912,5.2471,3.1357,0,4.9277-1.9834,4.9277-5.2471a7.4448,7.4448,0,0,0-2.6875-5.44l-8.96-8.3828C1.3494,19.2656.0691,16.45.0691,12.3545.0691,5.4424,4.3572.9629,11.3962.9629Z"
></path>
<path
d="M44.2927,31.9365V47.5518H37.7009V1.4111H48.9636c7.1035,0,11.583,4.48,11.583,11.583v7.3594c0,7.168-4.4795,11.583-11.583,11.583ZM48.9,25.73c3.1993,0,5.0557-1.92,5.0557-5.1836V12.8027c0-3.2-1.8564-5.1845-5.0557-5.1845H44.2927V25.73Z"
></path>
<path
d="M116.6443,47.5518h-6.5918V1.4111h11.583c7.1035,0,11.583,4.48,11.583,11.583v6.2715a11.1941,11.1941,0,0,1-5.0557,9.8555c1.8565,5.6318,4.48,13.3115,6.1436,18.4307h-6.72l-5.5674-16.7666h-5.375Zm4.9267-22.9747c3.2,0,5.0557-1.92,5.0557-5.1191V12.8027c0-3.2-1.8555-5.1845-5.0557-5.1845h-4.9267V24.5771Z"
></path>
<path
d="M170.4656,32.1924V36.417c0,7.1035-4.4151,11.583-11.5186,11.583-7.1679,0-11.583-4.48-11.583-11.583V12.5459c0-7.1035,4.4151-11.583,11.583-11.583,7.1035,0,11.5186,4.48,11.5186,11.583V16.77h-6.5908V12.5459c0-3.2637-1.792-5.2471-4.9278-5.2471-3.2,0-4.9922,1.9834-4.9922,5.2471V36.417c0,3.2637,1.792,5.2471,4.9922,5.2471,3.1358,0,4.9278-1.9834,4.9278-5.2471V32.1924Z"
></path>
</g>
</a>
</svg>
</div>
</div>
</div>
</nav>
<nav id="guided-nav" style="display: none" class="guided--nav">
<img class="w-75" src="assets/img/logo-soda1024.png" />
<label
class="guided--form-label centered mt-lg"
style="border-bottom: 1px solid var(--color-light-green); width: auto"
>
Curent dataset
</label>
<p
class="help-text text-center ellipsis-after-two-lines"
id="guided-navbar-dataset-name-display"
></p>
<label
class="guided--form-label centered mt-lg"
style="
border-bottom: 1px solid var(--color-light-green);
margin-bottom: 0.5rem;
width: auto;
"
id="guided-page-navigation-header"
>
Page navigation
</label>
<ul id="guided-nav-items" class="guided--container-nav-items"></ul>
</nav>
<div class="dash-app" style="background: #fff; border-top: 1px solid #c3c3c3">
<main id="content" class="content js-content"></main>
</div>
<script>
window.$ = window.jQuery = require("jquery");
</script>
<script src="node_modules/cropperjs/dist/cropper.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="node_modules/fomantic-ui/dist/components/accordion.js"></script>
<script src="node_modules/jstree/dist/jstree.min.js"></script>
<script src="node_modules/@tarekraafat/autocomplete.js/dist/autoComplete.js"></script>
<script src="node_modules/sweetalert2/dist/sweetalert2.min.js"></script>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<script src="https://bossanova.uk/jspreadsheet/v4/jexcel.js"></script>
<script>
$(document).ready(() => {
$("#sidebarCollapse").on("click", function () {
$("#main-nav").toggleClass("active");
$(this).toggleClass("active");
$(".section").toggleClass("fullShown");
});
$("a").on("click", function () {
$($(this).parents()[1]).find("a").removeClass("is-selected");
$(this).addClass("is-selected");
});
});
</script>
<script src="./assets/lotties.js" type="text/javascript"></script>
</body>
</html>