-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (61 loc) · 2.04 KB
/
Copy pathindex.html
File metadata and controls
65 lines (61 loc) · 2.04 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Annotated Alignment Visualiser</title>
</head>
<body>
<div id="app" class="container">
<header>
<h1>Annotated Alignment Visualiser</h1>
<p class="subtitle">DNA Sequence Trace Visualization</p>
</header>
<main>
<section class="controls">
<label for="file-input" class="btn btn-primary"
>Upload JSON File</label
>
<input
id="file-input"
type="file"
accept=".json"
style="display: none"
/>
<label for="annotation-input" class="btn btn-primary"
>Upload Annotations</label
>
<input
id="annotation-input"
type="file"
accept=".gb,.gbk,.gtf,.gff,.gff3,.fasta,.fa,.fna"
style="display: none"
/>
<button id="load-example-button" class="btn btn-secondary">
Load Example
</button>
</section>
<section class="plot-container">
<div id="plot" style="width: 100%; height: 600px"></div>
</section>
<section id="annotation-container" class="annotation-container hidden">
<div id="annotation-header" class="annotation-header">
<h3 id="annotation-title">Annotations</h3>
<span id="annotation-toggle" class="toggle-icon">▼</span>
</div>
<div id="annotation-json" class="annotation-json">
<p id="annotation-file-name" class="file-name"></p>
<pre id="annotation-json-content"></pre>
</div>
</section>
<footer class="info">
<p id="current-info" class="hidden"></p>
<p id="placeholder-info" class="placeholder">
Load example data or upload a JSON file to begin
</p>
</footer>
</main>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>