-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (39 loc) · 1.25 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
<!doctype html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<title>Newick parser</title>
</head>
<body>
<div class="navbar">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="news.html">News</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
<div>
<div class='toolbar'>
<input id="input_file" type="file" name="fileupload" value="fileupload" id="fileupload">
<button>Import tree</button>
<button>Save tree</button>
<button onclick="loadDefault()">Load default tree</button>
</div>
<div class='newick_text'>
<button onclick="showTree()">Show tree</button>
<input id='newick_text_input' type='text' value='' placeholder="Place you newick code here" ></input>
<button onclick="clearInput()">Clear input</button>
</div>
<div class='tree_display'>
<div class="info">
<h1 id="test_text"></h1>
<p id="error_message"></p>
</div>
<canvas id="drawing_canvas" width="1000" height="400">
Your browser does not support the HTML5 canvas tag.</canvas>
</div>
</div>
</body>
<script src="newick_builder.js"></script>
</html>