-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
74 lines (69 loc) · 2.91 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 lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Solver</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<script>
const mathWorker = new Worker("mathWorker.js", { type: "classic" });
</script>
<body x-data="{showCode:true, showReport:true}">
<nav class="markdown-body">
<form name="topBar">
<button type='button' x-on:click="showCode = !showCode" x-text="showCode?'<':'>'"
x-bind:title="showCode?'hide code':'show code'"></button>
<fieldset id='tabs'></fieldset>
<span>
<fieldset id="examples" style="float: right;">
<label for="exampleSelector">Examples:</label>
<select id="exampleSelector" name="example">
<optgroup label="Math">
<option value="basicUsage">Basic Usage</option>
<option value="units">Units</option>
<option value="matrices">Matrices</option>
<option value="quadraticFormula">Quadratic Formula</option>
</optgroup>
<optgroup label="Data">
<option value="strings">Strings</option>
<option value="objects">Objects</option>
</optgroup>
<optgroup label="Plot">
<option value="simplePlot">Plot</option>
<option value="plot3D">3D Plot</option>
<option value="statPlot">Statistic Plots</option>
<option value="lorenz">Lorenz attractor</option>
</optgroup>
<optgroup label="Thermodynamics">
<option value="coolprop">Fluid Properties</option>
<option value="coolpropHigh">coolprop website</option>
<option value="VaporCompressionCycle">Vapor Compression Cycle</option>
<option value="refCycleWithRecuperator">Recuperator</option>
</optgroup>
<optgroup label="Sciences">
<!--
<option value="odeSolver">Aerospace</option>
-->
<option value="chemistry">Chemistry</option>
</optgroup>
</select>
<button type="button" id="exampleInsert" name="insertExample">+</button>
<button type="button" x-on:click="showReport = !showReport" x-text="showReport ? '>':'<'"
x-bind:title="showReport?'hide report':'show report'"></button>
</fieldset>
</span>
</form>
</nav>
<main>
<div id="INPUT" x-show="showCode"></div>
<article id="OUTPUT" class="markdown-body" x-show="showReport">
</article>
</main>
<script type="module" src="/main.js"> </script>
</body>
</html>