-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (116 loc) · 5.04 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
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Refraktometer-Rechner</title>
<link rel="icon" type="image/png" href="icon.png"/>
<meta name="description" content="Refraktometer Berechnungen und Messwertkorrektur für Hobbybrauer">
<meta name="keywords" content="Refraktometer, Refraktometer-Korrektur, Bier, Brauen, Hobbybrauer">
<meta name="author" content="Thomas Ascher">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<link rel="stylesheet" href="jquery.mobile-1.4.5.min.css">
<script src="jquery-2.2.4.min.js"></script>
<script src="jquery.mobile-1.4.5.min.js"></script>
<script src="PolynomialRegression.js"></script>
<script src="main.js"></script>
</head>
<body>
<div data-role="page" id="pcalculation">
<div data-role="header">
<h1>Refraktometer-Rechner</h1>
<a href="#pcalibration" data-role="button" data-icon="gear" class="ui-btn-right">Justierung</a>
</div>
<div role="main" class="ui-content">
<form>
<label for="formselect">Korrelation:</label>
<select name="formselect" id="formselect">
<option value="0">Terrill Linear</option>
<option value="1">Terrill Kubisch</option>
<option value="2">Novotný Linear</option>
<option value="3">Novotný Quadratisch</option>
<option value="4">Terrill & Novotný</option>
<option value="5">Bonham (Standard)</option>
<option value="6">Gardner</option>
<option value="7">Gossett</option>
</select>
<label for="bxiinput">Refraktometerwert Anstellwürze (°Bx):</label>
<input type="number" name="bxiinput" id="bxiinput" value="" step="0.1" />
<label for="bxfinput">Refraktometerwert Jungbier (°Bx):</label>
<input type="number" name="bxfinput" id="bxfinput" value="" step="0.1" />
<label for="wcfinput">Würze-Korrekturfaktor:</label>
<input type="number" name="wcfinput" id="wcfinput" value="1.04" step="0.01" />
</form>
<button name="btncalc" id="btncalc">Berechnen</button>
<table>
<tbody>
<tr>
<td>Alkoholgehalt:</td>
<td id="abvoutput"></td>
</tr>
<tr>
<td>Stammwürze:</td>
<td id="oeoutput"></td>
</tr>
<tr>
<td>Scheinb. Restextrakt:</td>
<td id="aeoutput"></td>
</tr>
<tr>
<td>Scheinb. Vergärungsgrad:</td>
<td id="adfoutput"></td>
</tr>
<tr>
<td>Wirklicher Restextrakt:</td>
<td id="reoutput"></td>
</tr>
<tr>
<td>Wirklicher Vergärungsgrad:</td>
<td id="rdfoutput"></td>
</tr>
<tr>
<td>Nährwert je 100 ml:</td>
<td id="caloutput"></td>
</tr>
<tr>
<td>Justierung:</td>
<td id="caliboutput"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div data-role="page" id="pcalibration">
<div data-role="header">
<a href="#pcalculation" data-role="button" data-icon="back">Zurück</a>
<h1>Justierung</h1>
<a href="#pdetails" data-role="button" data-icon="plus" name="btnadd" id="btnadd">Hinzufügen</a>
</div>
<div role="main" class="ui-content">
<ul data-role="listview" id="lvcalibration">
</ul>
</div>
<div data-role="footer">
<a href="#" data-role="button" data-icon="arrow-u" name="btnimport" id="btnimport" class="ui-btn-left">Import</a>
<a href="#" data-role="button" data-icon="arrow-d" name="btnexport" id="btnexport" class="ui-btn-right">Export</a>
</div>
</div>
<div data-role="page" id="pdetails">
<div data-role="header">
<a href="#pcalibration" data-role="button" data-icon="back">Zurück</a>
<h1>Messpunkt</h1>
</div>
<div role="main" class="ui-content">
<form>
<label for="targetinput">Sollwert (°Bx):</label>
<input type="number" name="targetinput" id="targetinput" value="" step="0.1" />
<label for="actualinput">Istwert (°Bx):</label>
<input type="number" name="actualinput" id="actualinput" value="" step="0.1" />
</form>
</div>
<div data-role="footer">
<a href="#pcalibration" data-role="button" data-icon="delete" name="btndelete" id="btndelete" class="ui-btn-left">Löschen</a>
<a href="#pcalibration" data-role="button" data-icon="check" name="btnsave" id="btnsave" class="ui-btn-right">Speichern</a>
</div>
</div>
</body>
</html>