-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
108 lines (96 loc) · 4.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WasmPie</title>
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre.min.css">
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre-exp.min.css">
<link rel="stylesheet" href="https://unpkg.com/spectre.css/dist/spectre-icons.min.css">
</head>
<body>
<noscript>This page contains webassembly and javascript content, please enable javascript in your browser.</noscript>
<script src="./bootstrap.js"></script>
<div class="container grid-xl">
<!-- Input -->
<div class="columns">
<div class="column col-7 col-md-12 col-xs-12">
<div class="form-group">
<label class="form-label" for="input-network">Your network:</label>
<textarea class="form-input" id="input-network" placeholder="Network..." rows="10"></textarea>
</div>
</div>
<div class="column col-3 col-md-8 col-xs-12">
<div class="form-group">
<label class="form-label" for="input-initial">Initial conditions:</label>
<textarea class="form-input" id="input-initial" placeholder="Values..." rows="10"></textarea>
</div>
</div>
<div class="column col-2 col-md-4 col-xs-12">
<div class="accordion">
<input id="accordion-classic" type="radio" name="accordion-radio" hidden="">
<label class="accordion-header c-hand" for="accordion-classic"><i class="icon icon-arrow-right mr-1"></i>Classic examples</label>
<div class="accordion-body">
<ul class="menu menu-nav">
<li class="menu-item" ><a class="c-hand" id="item-lotka">Lotka-Volterra</a></li>
<li class="menu-item"><a class="c-hand" id="item-menten">Michaelis–Menten</a></li>
<li class="menu-item"><a class="c-hand" id="item-dimerisation">Dimerisation</a></li>
</ul>
</div>
</div>
<div class="accordion">
<input id="accordion-2000" type="radio" name="accordion-radio" hidden="">
<label class="accordion-header c-hand" for="accordion-2000"><i class="icon icon-arrow-right mr-1"></i>Togashi, Kaneko (2000)</label>
<div class="accordion-body">
<ul class="menu menu-nav">
<li class="menu-item" ><a class="c-hand" id="item-2000-1">n = 4, D = 1/256, V = 32</a></li>
</ul>
</div>
</div>
<div class="accordion">
<input id="accordion-2015" type="radio" name="accordion-radio" hidden="">
<label class="accordion-header c-hand" for="accordion-2015"><i class="icon icon-arrow-right mr-1"></i>Saito, Kameko (2015)</label>
<div class="accordion-body">
<ul class="menu menu-nav">
<li class="menu-item" ><a class="c-hand" id="item-2015-1">N = 50, k = 1, v = u = 0.01</a></li>
<li class="menu-item" ><a class="c-hand" id="item-2015-2">N = 2000, k = 1, v = u = 0.01</a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- Graph -->
<div class="columns">
<div class="column col-8 col-md-6 col-xs-12">
<div id="div-graph"></div>
</div>
<div class="column col-4 col-md-6 col-xs-12">
<form class="form-horizontal">
<div class="form-group">
<div class="col-4 col-sm-12">
<label class="form-label" for="input-steps">Number of steps:</label>
</div>
<div class="col-8 col-sm-12">
<input type="number" step="1" id="input-steps" class="form-input" value="10000">
</div>
</div>
<div class="form-group">
<div class="col-4 col-sm-12">
<label class="form-checkbox">
<input type="checkbox" id="checkbox-time">
<i class="form-icon"></i> Max time
</label>
</div>
<div class="col-8 col-sm-12">
<input type="number" step="any" id="input-time" min="0" class="form-input" value="100">
</div>
</div>
</form>
<button class="btn p-centered" id="button-compute">Compute!</button>
<pre class="code" data-lang="LOG"><code id="code-log">TODO...</code></pre>
</div>
</div>
</div>
</body>
</html>