-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
430 lines (323 loc) · 16.4 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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<title>Shoebox</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="icon" type="image/png" href="img/favicon.ico">
<!-- Font Awesome CSS-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<!-- Bootstrap 4 CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<!-- DataTables CSS -->
<link rel="stylesheet" href="https://cdn.datatables.net/v/dt/dt-1.10.20/sl-1.3.1/datatables.min.css"/>
<!-- app CSS -->
<link rel="stylesheet" href="css/app.css">
<!-- Juicebox CSS-->
<link rel="stylesheet" href="css/juicebox.css"/>
<!-- Shoebox CSS-->
<link rel="stylesheet" type="text/css" href="css/shoebox.css">
<!-- Bootstrap 4 and Dependancies -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<!-- Dropbox Chooser API-->
<script src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs"
data-app-key="8glijwyao9fq8we"></script>
<!-- Datatables JS -->
<script src="https://cdn.datatables.net/v/dt/dt-1.10.20/sl-1.3.1/datatables.min.js"></script>
<!-- Twitter -->
<script src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<!-- Juicebox browser configuration -->
<script src="shoeboxConfig.js"></script>
<!-- Google API -- remove if not supporting Google resources -->
<script src="https://apis.google.com/js/platform.js"></script>
<!-- Google GSI -- remove if not supporting Google resources -->
<script src="https://accounts.google.com/gsi/client"></script>
<script type="module" src="js/app/app.js"></script>
</head>
<body id="portfolio">
<!--NAVBAR-->
<nav class="navbar navbar-dark bg-dark fixed-top navbar-expand justify-content-between">
<span class="navbar-brand">Shoebox</span>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#hic-navbar-content">
<span class="navbar-toggler-icon"></span>
</button>
<div id="hic-navbar-content" class="collapse navbar-collapse d-flex flex-row">
<ul class="navbar-nav">
<!-- Contact Map -->
<li class="nav-item">
<div class="dropdown ml-2 mt-1">
<a id="hic-contact-map-dropdown" href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
Load Map
</a>
<div id="hic-contact-map-dropdown-menu" class="dropdown-menu">
<!-- <!– Select –>
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#hic-contact-map-modal">
Juicebox Archive
</a>
<!– ENCODE hosted maps –>
<button id="hic-encode-hosted-contact-map-presentation-button" class="dropdown-item disabled" type="button" data-toggle="modal" data-target="#hic-encode-hosted-contact-map-modal">
ENCODE
</button>
<!– 4DN maps –>
<button class="dropdown-item" type="button" data-toggle="modal" data-target="#hic-4dn-contact-map-modal">
4DN
</button>-->
<!-- Local Map File -->
<label class="dropdown-item btn btn-default btn-file">
<div class="igv-app-dropdown-item-cloud-storage">
<div>
Local File
</div>
<div>
<input name="contact-map" type="file" style="display: none;">
</div>
</div>
</label>
<!-- Dropbox -->
<div class="dropdown-item">
<div id="hic-contact-map-dropdown-dropbox-button"
class="igv-app-dropdown-item-cloud-storage">
<div>Dropbox File</div>
<div>
<img src="img/dropbox-dropdown-menu-item.png" width="18" height="18">
</div>
<!-- <div>...</div>-->
</div>
</div>
<!-- Google Drive -->
<div class="dropdown-item">
<div id="hic-contact-map-dropdown-google-drive-button"
class="igv-app-dropdown-item-cloud-storage">
<div>Google Drive File</div>
<div><img src="img/googledrive-dropdown-menu-item.png" width="18" height="18"></div>
<!-- <div>...</div>-->
</div>
</div>
<!-- URL -->
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#hic-load-url-modal">URL</a>
</div>
</div>
</li>
<!-- Tracks -->
<li class="nav-item">
<div class="dropdown ml-2 mt-1">
<a id="hic-track-dropdown-button" href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
Load Tracks
</a>
<div id="hic-track-dropdown-menu" class="dropdown-menu">
<!-- toggle sequence track-->
<div class="dropdown-item">
<div>
<input type="checkbox" id="hic-sequence-track-checkbox">
Sequence
</div>
</div>
<!-- toggle ref-seq-genes track-->
<div class="dropdown-item">
<div>
<input type="checkbox" id="hic-ref-seq-genes-track-checkbox">
Genes
</div>
</div>
<!-- Local File -->
<label class="dropdown-item btn btn-secondary btn-file">
<div class="igv-app-dropdown-item-cloud-storage">
<div>
Local File ...
</div>
<div>
<input id="hic-local-track-file-input" name="local-track-file" type="file"
style="display: none;">
</div>
</div>
</label>
<!-- Dropbox -->
<div class="dropdown-item">
<div id="hic-track-dropdown-dropbox-button" class="igv-app-dropdown-item-cloud-storage">
<div>Dropbox File</div>
<div>
<img id="igv-app-track-dropbox-button-image" width="18" height="18">
</div>
</div>
</div>
<!-- Google Drive -->
<div class="dropdown-item">
<div id="hic-track-dropdown-google-drive-button"
class="igv-app-dropdown-item-cloud-storage">
<div>Google Drive File</div>
<div><img id="igv-app-track-google-drive-button-image" width="18" height="18"></div>
</div>
</div>
<!-- URL -->
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#track-load-url-modal">URL
...</a>
<!-- Genome Annotations (Frequently Used) -->
<a class="dropdown-item" href="#" data-toggle="modal"
data-target="#hic-annotation-datalist-modal">Frequently
Used</a>
<!-- 2D Annotations -->
<a class="dropdown-item" href="#" data-toggle="modal"
data-target="#hic-annotation-2D-datalist-modal">2D
Annotations</a>
<div id="hic-annotations-section" class="dropdown-divider">
</div>
</div>
</div>
</li>
<!-- Share -->
<li class="nav-item">
<div class="dropdown ml-2 mt-1">
<a id="hic-share-button" href="#" class="nav-link" data-toggle="modal"
data-target="#hic-share-url-modal">
Share
</a>
</div>
<!-- <button id="hic-share-button" class="btn btn-outline-light btn-sm ml-2 mt-2" type="button" data-toggle="modal" data-target="#hic-share-url-modal">Share</button>-->
</li>
<!-- Session -->
<li class="nav-item">
<div class="dropdown ml-2 mt-1">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
Session
</a>
<div id="igv-session-dropdown-menu" class="dropdown-menu">
<!-- Session Local file -->
<label class="dropdown-item btn btn-default btn-file">
<div class="igv-app-dropdown-item-cloud-storage">
<div>
Local File ...
</div>
<div>
<input id="igv-app-dropdown-local-session-file-input" type="file" name="file"
style="display: none;">
</div>
</div>
</label>
<!-- Session Dropbox -->
<!-- Session Google Drive -->
<!-- Session URL -->
<button class="dropdown-item" type="button" data-toggle="modal"
data-target="#spacewalk-session-url-modal">
Load URL ...
</button>
<div class="dropdown-divider"></div>
<!-- Save Session Local file -->
<button id="igv-app-save-session-button" class="dropdown-item" type="button" data-toggle="modal"
data-target="#igv-app-session-save-modal">
Save ...
</button>
</div>
</div>
</li>
</ul>
</div>
<ul class="navbar-nav">
<!-- <li class="nav-item">
<a href="https://igvteam.github.io/juicebox-web/" target="_blank">
Help
</a>
</li>-->
</ul>
</nav>
<!--NAVBAR END-->
<main id="hic-main" class="container-fluid">
<!-- App container -->
<div class="row">
<div class="col-md-12">
<!-- app + caption container-->
<div id="app-caption" class="juicebox-app-caption-container">
<!-- app container-->
<div id="app-container" class="juicebox-app-clone-container">
</div>
<!-- caption -->
<div>
<h6 for="hic-caption" style="margin-top: 5px">Notes:</h6>
<div id="hic-caption" class="hic-caption-container" contenteditable="true" >
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div>
<span> </span>
<span>Version @VERSION </span>
<!-- <span id="hic-version-number">version</span>-->
</div>
</div>
</div>
<!-- Share URL Modal -->
<div id="hic-share-url-modal" class="modal fade">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<div class="modal-title">Share</div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="container-fluid">
<!-- copy url -->
<div class="row">
<div class="col-md-9">
<div class="form-group">
<input id="hic-share-url" type="text" class="form-control" placeholder="">
</div>
</div>
<div class="col-md-3">
<button id="hic-copy-link" type="button" class="btn btn-default">
COPY
</button>
</div>
</div>
<!-- social buttons -->
<div class="hic-social-button-container">
<div id="tweetButtonContainer">
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button"
data-show-count="false">TWEET</a>
</div>
<div id="emailButtonContainer">
<a id="emailButton" href="mailto:?body=https://aidenlab.org/juicebox">
EMAIL
</a>
</div>
<div id="hic-embed-button">
EMBED
</div>
<div id="hic-qr-code-button">
QR CODE
</div>
</div>
<!-- qr code image -->
<div class="row">
<div id="hic-qr-code-image" class="col-md-offset-4 col-md-4">
</div>
</div>
<!-- embed widget -->
<div id="hic-embed-container" class="row">
<div class="col-md-9 form-group">
<textarea id="hic-embed" class="form-control" rows="4">
</textarea>
</div>
<div class="col-md-3">
<button id="hic-embed-copy-link" type="button" class="btn btn-default">
COPY
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<div id="footer-white" style="background:#414B5B;">
</div>
</body>
</html>