forked from CDCgov/MicrobeTrace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
643 lines (617 loc) · 34.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
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="application-name" content="MicrobeTrace">
<meta name="Description" content="MicrobeTrace is an interactive web application that renders existing data from high-risk contact networks in an easy-to-use Graphical User Interface (GUI). The network visualization can be customized according to supplemental data sources and mathematical inferences like the most probable transmission pathways. MicrobeTrace is a highly responsive, visual sequence analytics tool which can reduce the gap between data production and analytics and help you to discover, understand, and display relationships (links) between patients (nodes). MicrobeTrace can be deployed on laptops to locations without any Internet access, thereby reducing both the startup cost and analysis time and effort.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#f8f9fa">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="msapplication-TileColor" content="#ffc40d">
<meta name="apple-mobile-web-app-title" content="MicrobeTrace">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval' googletagmanager.com *.google-analytics.com; connect-src 'self' googletagmanager.com *.google-analytics.com stats.g.doubleclick.net api.mapbox.com *.cdc.gov; img-src 'self' googletagmanager.com *.google-analytics.com *.doubleclick.net www.google.com api.mapbox.com data:; style-src 'self' 'unsafe-inline'; manifest-src 'self'; font-src 'self';">
<title>MicrobeTrace</title>
<link rel="manifest" href="manifest.json">
<link rel="canonical" href="https://microbetrace.cdc.gov/MicrobeTrace/">
<link rel="author" type="text/plain" href="humans.txt">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="48x48" href="img/favicon-48x48.png">
<link rel="mask-icon" href="img/safari-pinned-tab.svg" color="#5bbad5">
<link rel="stylesheet" type="text/css" href="dist/bundle.primary.css">
<link rel="stylesheet" type="text/css" href="src/main.css">
<link rel="preload" as="script" href="dist/bundle.primary.js">
<link rel="preload" as="font" href="fonts/open-iconic.woff" crossorigin="anonymous">
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
</script>
</head>
<body>
<div class="d-none">
<h1>Sorry!</h1>
<h4>MicrobeTrace requires CSS to run, but it looks like the appropriate CSS files weren't loaded for some reason.
Please try <a href="#" onclick="location.reload();">Refreshing the Page</a></h4>
</div>
<nav class="navbar fixed-top navbar-expand-xl navbar-light bg-light">
<ul class="nav mr-auto">
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle py-0" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">File</a>
<div class="dropdown-menu">
<a href="#" id="StashDataTab" class="dropdown-item" data-toggle="modal" data-target="#session-stash-modal">Stash</a>
<a href="#" id="RecallDataTab" class="dropdown-item">Recall</a>
<div class="dropdown-divider"></div>
<a href="#" id="SaveDataTab" class="dropdown-item" data-toggle="modal" data-target="#session-save-modal">Save</a>
<label class="dropdown-item" for="OpenTab">Open</label><input type="file" class="d-none" id="OpenTab">
<div class="dropdown-divider"></div>
<a href="#" id="AddDataTab" class="dropdown-item">Add Data</a>
<a href="#" id="NewTab" class="dropdown-item">New</a>
</div>
</li>
<li class="nav-item">
<a href="#" id="SettingsTab" class="nav-link py-0" data-toggle="modal" data-target="#global-settings-modal">Settings</a>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle py-0" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">View</a>
<div class="dropdown-menu">
<a href="#" class="dropdown-item viewbutton" data-href="pixi">Pixi</a>
<a href="#" class="dropdown-item viewbutton" data-href="2d_network">2D Network</a>
<a href="#" class="dropdown-item viewbutton" data-href="3d_network">3D Network</a>
<a href="#" class="dropdown-item viewbutton" data-href="histogram">Histogram</a>
<a href="#" class="dropdown-item viewbutton" data-href="table">Table</a>
<a href="#" class="dropdown-item viewbutton" data-href="aggregation">Aggregation</a>
<a href="#" class="dropdown-item viewbutton" data-href="crosstab">CrossTab</a>
<a href="#" class="dropdown-item viewbutton" data-href="bubbles">Bubbles</a>
<a href="#" class="dropdown-item viewbutton" data-href="flow_diagram">Flow Diagram</a>
<a href="#" class="dropdown-item viewbutton" data-href="scatterplot">Scatterplot</a>
<a href="#" class="dropdown-item viewbutton" data-href="waterfall">Waterfall</a>
<a href="#" class="dropdown-item viewbutton" data-href="geo_map">Map</a>
<a href="#" class="dropdown-item viewbutton" data-href="choropleth">Choropleth</a>
<a href="#" class="dropdown-item viewbutton" data-href="globe">Globe</a>
<a href="#" class="dropdown-item viewbutton" data-href="gantt">Gantt</a>
<a href="#" class="dropdown-item viewbutton" data-href="timeline">Epi Curve</a>
<a href="#" class="dropdown-item viewbutton" data-href="heatmap">Heatmap</a>
<a href="#" class="dropdown-item viewbutton" data-href="phylogenetic_tree">Phylogenetic Tree</a>
<a href="#" class="dropdown-item viewbutton" data-href="sequences">Sequences</a>
</div>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle py-0" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Window</a>
<div class="dropdown-menu">
<a href="#" id="ReloadTab" class="dropdown-item">Reload</a>
<a href="#" id="FullScreenTab" class="dropdown-item">Toggle Full Screen</a>
</div>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle py-0" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Help</a>
<div class="dropdown-menu">
<a href="https://github.com/CDCgov/MicrobeTrace/wiki" id="HelpTab" class="dropdown-item">Help</a>
<a href="https://github.com/CDCgov/MicrobeTrace/issues/new" class="dropdown-item ifOnline" target="_blank" rel="noreferrer noopener">Report Bug</a>
<div class="dropdown-divider ifOnline"></div>
<a href="#" id="AboutTab" class="dropdown-item" data-toggle="modal" data-target="#about-modal">About</a>
</div>
</li>
<li><span id="development-version" style="margin-left: 40px; color: #0037ff; font-weight: bolder; font-size: x-small;"> non production environment </span></li>
</ul>
<div id="search-form" class="form-inline navbar-form">
<label for="search">Search</label>
<div class="autocomplete-wrapper">
<input type="search" id="search" class="form-control form-control-sm" placeholder="Nodes">
<ul id="search-results"></ul>
</div>
<!-- #298 -->
<button id="casesensitivebutton" type="button" class="btn btn-light btn-sm" data-toggle="button" aria-pressed="false" autocomplete="off" title="Match Case">
<span>C</span>
</button>
<button id="wholewordbutton" type="button" class="btn btn-light btn-sm" data-toggle="button" aria-pressed="false" autocomplete="off" title="Match Whole Word">
<span>W</span>
</button>
<select id="search-field" class="form-control form-control-sm nodeValues">
<option val="id">ID</option>
</select>
</div>
</nav>
<div id="ie-warning">
This application does not support Internet Explorer. To use MicrobeTrace, please switch to one of the following browsers:<br>
<a href='https://support.google.com/chrome/answer/95346'>Chrome</a>/
<a href='https://www.opera.com/'>Opera</a>/
<a href='https://www.mozilla.org/en-US/firefox/new/'>Firefox</a>
</div>
<div id="licenseAgreement" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="licenseAgreement">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 id="licenseAgreement" class="modal-title">License Agreement</h5>
</div>
<div class="modal-body">
<pre>The material embodied in this software is provided to you "As-is" and without
warranty of any kind, express, implied or otherwise, including without
limitation, any warranty of fitness for a particular purpose. In no event shall
the Centers for Disease Control and Prevention (CDC) or the United States (U.S.)
government be liable to you or anyone else for any direct, special, incidental,
indirect or consequential damages of any kind, or any damages whatsoever,
including without limitation, loss of profit, loss of use, savings or revenue,
or the claims of third parties, whether or not CDC or the U.S. Government has
been advised of the possibility of such loss, however caused and on any theory
of liability, arising out of or in connection with the possession, use or
performance of this software.</pre>
<p>Please Click "Accept" to accept this agreement, or "Reject" to close this application.</p>
</div>
<div class="modal-footer">
<a href="https://www.cdc.gov/" id="rejectAgreement" class="btn btn-danger" role="button">Reject</a>
<button id="acceptAgreement" type="button" class="btn btn-primary" data-dismiss="modal">Accept</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div id="loading-information-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Loading File</h5>
</div>
<div class="modal-body">
<div class="dna">
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
<div class="ele"></div>
</div>
<a class="btn btn-primary" data-toggle="collapse" href="#loading-information-collapse" role="button"
aria-expanded="true" aria-controls="loading-information-collapse">Details</a>
<div id="loading-information-collapse" class="show">
<div id="loading-information" class="card card-body"></div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div id="main-panel" class="pane-container pane-horizontal">
<noscript class="container-fluid">
<div class="jumbotron">
<h1>Sorry!</h1>
<p class="lead">MicrobeTrace requires Javascript to run. Please <a href="https://www.enable-javascript.com/">enable Javascript</a> and refresh MicrobeTrace.</p>
</div>
</noscript>
<div id="global-timeline-wrapper" style="display: none;">
<div id="global-timeline" align="center">
<div><button type="button" id="timeline-play-button" class="btn btn-light btn-sm">Play</button>
<span id="global-timeline-field" contenteditable></span></div>
</div>
</div>
</div>
<div id="link-color-table-wrapper" class="floater">
<div id="link-color-table-draghandle"><span class="oi oi-move"></span></div>
<table id="link-color-table"></table>
</div>
<div id="link-color-table-context" class="dropdown-menu">
<a href="#" id="link-color-table-drag" class="dropdown-item">Drag</a>
<a href="#" id="link-color-table-context-hide" class="dropdown-item">Hide</a>
<a href="#" id="link-color-table-expand" class="dropdown-item">Expand</a>
<a href="#" id="link-color-table-counts" class="dropdown-item">Toggle Counts</a>
<a href="#" id="link-color-table-frequencies" class="dropdown-item">Toggle Frequencies</a>
</div>
<div id="node-color-table-wrapper" class="floater">
<div id="node-color-table-draghandle"><span class="oi oi-move"></span></div>
<table id="node-color-table"></table>
</div>
<div id="node-color-table-context" class="dropdown-menu">
<a href="#" id="node-color-table-drag" class="dropdown-item">Drag</a>
<a href="#" id="node-color-table-context-hide" class="dropdown-item">Hide</a>
<a href="#" id="node-color-table-expand" class="dropdown-item">Expand</a>
<a href="#" id="node-color-table-counts" class="dropdown-item">Toggle Counts</a>
<a href="#" id="node-color-table-frequencies" class="dropdown-item">Toggle Frequencies</a>
</div>
<div id="color-transparency-wrapper" class="floater">
<input type="range" class="custom-range" id="color-transparency" min="0" max="1" step="0.05" value="1">
</div>
<div id="network-statistics-wrapper" class="floater">
<div id="network-statistics-draghandle"><span class="oi oi-move"></span></div>
<table id="network-statistics-table">
<tr>
<td class="text-right">
<span id="numberOfNodes"></span>
(<span id="numberOfSelectedNodes"></span>)
</td>
<td>Nodes (Selected)</td>
</tr>
<tr>
<td id="numberOfVisibleLinks" class="text-right"></td>
<td>Links</td>
</tr>
<tr>
<td id="numberOfDisjointComponents" class="text-right"></td>
<td>Clusters</td>
</tr>
<tr>
<td id="numberOfSingletonNodes" class="text-right"></td>
<td>Singletons</td>
</tr>
</table>
</div>
<div id="network-statistics-context" class="dropdown-menu">
<a href="#" id="moveStats" class="dropdown-item">Drag</a>
<a href="#" id="hideStats" class="dropdown-item">Hide</a>
</div>
<span id="tooltip"></span>
<div id="global-settings-modal" class="modal fade" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Global Settings</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item active">
<a class="nav-link active" id="filtering-tab" data-toggle="tab" href="#filtering-config" role="tab" aria-controls="home" aria-selected="true">Filtering</a>
</li>
<li class="nav-item">
<a class="nav-link" id="style-tab" data-toggle="tab" href="#style-config" role="tab" aria-controls="home" aria-selected="true">Styling</a>
</li>
<li class="nav-item">
<a class="nav-link" id="timeline-tab" data-toggle="tab" href="#timeline-config" role="tab" aria-controls="home" aria-selected="true">Timeline</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade show active" id="filtering-config" role="tabpanel" aria-labelledby="filtering-tab">
<div class="form-group row" title="By what algorithm would you like to prune links from the network?">
<div class="col-4">Prune With</div>
<div class="col-8">
<div class="btn-group btn-group-toggle btn-group-sm w-100" data-toggle="buttons">
<label class="btn btn-light active col" title="Show all links within threshold">
<input type="radio" name="NNOptions" id="link-show-all" autocomplete="off" checked> None
</label>
<label class="btn btn-light col" title="Prune links by Nearest Neighbor">
<input type="radio" name="NNOptions" id="link-show-nn" autocomplete="off"> Nearest Neighbor
</label>
</div>
</div>
</div>
<div id="filtering-epsilon-row" class="form-group row" title="How much genetic distance represents non-equality for your ">
<div class="col-4"><label for="filtering-epsilon">Filtering Epsilon</label></div>
<div class="col-8">
<input type="range" class="custom-range" id="filtering-epsilon" min="-3" max="2" step=".01" value="-3">
</div>
<div class="col-8 offset-4">
<input type="number" id="filtering-epsilon-copy" class="form-control form-control-sm" disabled>
</div>
</div>
<div class="form-group row" title="What's the minimum number of nodes a cluster must have in order to be visible?">
<div class="col-4">
<label for="cluster-minimum-size">Minimum Cluster Size</label>
</div>
<div class="col-8">
<input type="number" class="form-control form-control-sm" id="cluster-minimum-size" min="1" value="1" step="1">
</div>
</div>
<div id="filtering-wrapper">
<div class="form-group row" title="By what variable would you like to prune links from the network?">
<div class="col-4"><label for="link-sort-variable">Filter Links on</label></div>
<div class="col-8">
<select id="link-sort-variable" class="form-control form-control-sm linkVariables">
<option value="distance" selected>Distance</option>
</select>
</div>
</div>
<div class="form-group row" title="What's the maximum genetic distance you're willing to call a link?">
<div class="col-4"><label for="link-threshold">Filtering Threshold</label></div>
<div class="col-8"><svg id="link-threshold-sparkline"></svg></div>
<div class="col-8 offset-4">
<input type="number" class="form-control form-control-sm" id="link-threshold" step="0.001">
</div>
</div>
</div>
<div class="form-group row" title="Click to reveal all hidden elements of the network.">
<div class="col-4"><label for="RevealAllTab">Reveal</label></div>
<div class="col-8">
<button id="RevealAllTab" type="button" class="btn btn-light btn-sm w-100">Everything</button>
</div>
</div>
<hr>
<div class="form-group row" title="Display a table of overview statistics for the network">
<div class="col-4">Statistics</div>
<div class="col-8">
<div class="btn-group btn-group-toggle btn-group-sm w-100" data-toggle="buttons">
<label class="btn btn-light active col" title="Show a table of overview statistics for the network">
<input type="radio" name="network-statistics-visibility" id="network-statistics-show" autocomplete="off" checked>
Show
</label>
<label class="btn btn-light col" title="Do not show a table of overview statistics for the network">
<input type="radio" name="network-statistics-visibility" id="network-statistics-hide" autocomplete="off">
Hide
</label>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="style-config" role="tabpanel" aria-labelledby="style-tab">
<div class="form-group row" title="By what variable nodes be colored?">
<div class="col-4"><label for="node-color-variable">Color Nodes By</label></div>
<div class="col-8">
<select id="node-color-variable" class="form-control form-control-sm nodeVariables">
<option>None</option>
</select>
</div>
</div>
<div id="node-color-table-row" class="form-group row" title="Should MicrobeTrace display the table of colors?">
<div class="col-4">Node Color Table</div>
<div class="col-8">
<div class="btn-group btn-group-toggle btn-group-sm w-100" data-toggle="buttons">
<label class="btn btn-light active col">
<input type="radio" name="nodeColorTableShowHide" id="node-color-table-show" autocomplete="off" checked>
Show
</label>
<label class="btn btn-light col">
<input type="radio" name="nodeColorTableShowHide" id="node-color-table-hide" autocomplete="off">
Hide
</label>
</div>
</div>
</div>
<div id="node-color-value-row" class="form-group row" title="What color should the nodes be?">
<div class="col-4"><label for="node-color">Nodes</label></div>
<div class="col-8">
<input type="color" id="node-color" class="form-control form-control-sm" value="#1f77b4">
</div>
</div>
<div class="form-group row" title="What color should the node border be?">
<div class="col-4"><label for="node-color-border">Node Border</label></div>
<div class="col-8">
<input type="color" id="node-color-border" class="form-control form-control-sm" value="#000000">
</div>
</div>
<div class="form-group row" title="By what variable should links be colored?">
<div class="col-4"><label for="link-color-variable">Color Links By</label></div>
<div class="col-8">
<select id="link-color-variable" class="form-control form-control-sm linkVariables">
<option>None</option>
</select>
</div>
</div>
<div id="link-color-table-row" class="form-group row" title="Should MicrobeTrace display the table of colors?">
<div class="col-4">Link Color Table</div>
<div class="col-8">
<div class="btn-group btn-group-toggle btn-group-sm w-100" data-toggle="buttons">
<label class="btn btn-light active col">
<input type="radio" name="linkColorTableShowHide" id="link-color-table-show" autocomplete="off" checked>
Show
</label>
<label class="btn btn-light col">
<input type="radio" name="linkColorTableShowHide" id="link-color-table-hide" autocomplete="off">
Hide
</label>
</div>
</div>
</div>
<div id="link-color-value-row" class="form-group row" title="What color should the links be?">
<div class="col-4"><label for="link-color">Links</label></div>
<div class="col-8">
<input type="color" id="link-color" class="form-control form-control-sm" value="#a6cee3">
</div>
</div>
<div class="form-group row" title="What color should denote selection?">
<div class="col-4"><label for="selected-color">Selected</label></div>
<div class="col-8">
<input type="color" id="selected-color" class="form-control form-control-sm" value="#ff8300">
</div>
</div>
<div class="form-group row" title="What color should the background be?">
<div class="col-4"><label for="background-color">Background</label></div>
<div class="col-8">
<input type="color" id="background-color" class="form-control form-control-sm" value="#ffffff">
</div>
</div>
<div class="form-group row" title="Load an existing MicrobeTrace style file">
<div class="col-4">Apply Style</div>
<div class="col-8">
<input type="file" id="apply-style" class="d-none">
<label class="custom-file-label" for="apply-style">Choose MicrobeTrace Style File</label>
</div>
</div>
</div>
<div class="tab-pane fade" id="timeline-config" role="tabpanel" aria-labelledby="timeline-tab">
<div class="form-group row" title="By what variable timeline applied?">
<div class="col-4"><label for="node-timeline-variable">Timeline By</label></div>
<div class="col-8">
<select id="node-timeline-variable" class="form-control form-control-sm nodeVariables">
<option>None</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<div class="btn-group" data-toggle="buttons">
<button type="button" class="btn btn-primary" data-dismiss="modal">Done</button>
</div>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div id="session-save-modal" class="modal fade" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Save</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group row">
<div class="col-8">
<input type="text" id="save-file-name" class="form-control form-control-sm" title="What would you like to call your MicrobeTrace Save File?" placeholder="Filename">
</div>
<div class="col-4">
<select id="save-file-format" class="form-control form-control-sm" title="What format file would you like to save?">
<option selected>microbetrace</option>
<option>hivtrace</option>
<option>microbetracestyle</option>
</select>
</div>
</div>
<div class="form-group row" title="Should MicrobeTrace compress this save file?">
<div class="col">
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="save-file-compress" checked>
<label class="form-check-label" for="save-file-compress">Compress?</label>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-error" data-dismiss="modal">Cancel</button>
<button type="button" id="save-data" class="btn btn-primary" data-dismiss="modal">Save</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div id="session-stash-modal" class="modal fade" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Stash</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group row" title="What would you like to call this Stash?">
<div class="col">
<input type="text" id="stash-name" class="form-control form-control-sm" placeholder="Name your stash!">
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-error" data-dismiss="modal">Cancel</button>
<button type="button" id="stash-data" class="btn btn-primary" data-dismiss="modal">Stash!</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div id="session-recall-modal" class="modal fade" tabindex="-1" role="dialog" data-backdrop="false">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Recall Stash</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="recall-stashes-available" class="table-sm"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" id="recall-delete-stash">Delete</button>
<button type="button" class="btn" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-success" id="recall-load-stash">Recall</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div class="modal fade" id="about-modal" tabindex="-1" role="dialog" aria-labelledby="aboutModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="aboutModalLabel">About MicrobeTrace</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<h3>MicrobeTrace <small>v<span id="version"></span></small></h3>
<p>
MicrobeTrace is an interactive web application that renders existing data from high-risk contact networks
in an easy-to-use Graphical User Interface (GUI). The network visualization can be customized according to
supplemental data sources and mathematical inferences like the most probable transmission pathways.
MicrobeTrace is a highly responsive, visual sequence analytics tool which can reduce the gap between data
production and analytics and help you to discover, understand, and display relationships (links) between
patients (nodes). MicrobeTrace can be deployed on laptops to locations without any Internet access, thereby
reducing both the startup cost and analysis time and effort.
</p>
<p class="ifOnline">
<a href="https://github.com/CDCgov/MicrobeTrace/wiki" target="_blank" rel="noreferrer noopener">
Click Here to Learn More
</a>
</p>
<p>
MicrobeTrace was built by the Molecular Epidemiology and Bionformatics Team at the CDC in Atlanta.
<a href="https://cdcgov.github.io/MEBT" target="_blank" rel="noreferrer noopener" class="ifOnline">
Click Here to See MEBT's Other Tools
</a>
</p>
<p class="text-right">
<a href="humans.txt">
<img src="img/humanstxt-isolated-blank.gif" title="Click to see our humans.txt file" alt="humans.txt">
</a>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="exit-modal" tabindex="-1" role="dialog" aria-labelledby="exitModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exitModalLabel">Leave MicrobeTrace Session?</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
Are you certain you want to leave this MicrobeTrace session? Any unsaved configurations will be lost!
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Cancel</button>
<button type="button" id="exit-button" class="btn btn-danger" data-dismiss="modal">Leave Session</button>
</div>
</div>
</div>
</div>
<script async src="https://googletagmanager.com/gtag/js?id=UA-116308624-1"></script>
<script>
if (window.location.hostname !== 'localhost' && window.location.hostname !== '127.0.0.1' && window.location.protocol !== 'https:') window.location.replace('https://' + window.location.hostname + window.location.pathname);
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-116308624-1');
window.ga('create', 'UA-116308624-1', 'auto');
</script>
<script src="dist/bundle.primary.js" charset="utf-8"></script>
<script src="src/common.js" async charset="utf-8"></script>
<script src="src/index.js" async charset="utf-8"></script>
<script src="dist/bundle.secondary.js" defer charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="dist/bundle.secondary.css">
</body>
</html>