-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (64 loc) · 2.22 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>Population Flowchart</title>
<link rel="stylesheet" href="css/bulma.min.css">
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<div class="section">
<div class="main container">
<div class="data-input">
<!-- Upload Area -->
<div class="upload-area">
<div class="file has-name is-fullwidth is-dark">
<label class="file-label">
<input id="json-file" class="file-input" type="file" name="input">
<span class="file-cta">
<span class="file-icon">
<svg width="512" height="512" viewBox="0 0 512 512">
<path fill="#f5f5f5" d="M240 352h-240v128h480v-128h-240zM448 416h-64v-32h64v32zM112 160l128-128 128 128h-80v160h-96v-160z"></path>
</svg>
</span>
<span class="file-label">
Choose a file…
</span>
</span>
<span id="file-name-box" class="file-name">
<i><no file></i>
</span>
</label>
</div>
</div>
<div class="gap"></div>
<!-- Paste Area -->
<div class="paste-area">
<div class="field has-addons">
<div class="control is-expanded">
<textarea id="json-field" class="input" placeholder="Or paste contents here..."></textarea>
</div>
<div class="control">
<button id="ok-button" class="button is-dark">OK</button>
</div>
</div>
</div>
</div>
<div class="gap"></div>
<!-- Graph -->
<div id="graph" class="box"></div>
</div>
</div>
<!-- Import Dependencies -->
<script src="js/include/cytoscape.min.js"></script>
<script src="js/include/dagre.min.js"></script>
<script src="js/include/cytoscape-dagre.js"></script>
<!-- Import Main Code -->
<script src="js/util.js"></script>
<script src="js/parser.js"></script>
<script src="js/graph.js"></script>
<script src="js/app.js"></script>
<!-- Start App -->
<script>App.start()</script>
</body>
</html>