-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (38 loc) · 1.28 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
<!DOCTYPE html>
<html>
<head>
<title>Bolus Calculator</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="application.css"/>
<script defer src="https://code.jquery.com/jquery-3.7.1.slim.min.js"></script>
<script defer src="application.js"></script>
</head>
<body style="display:none!important;">
<table>
<tr>
<td><label for="BloodSugarLevel">BSL:</label></td>
<td><input name="BloodSugarLevel" type="number" min="0" max="999" autofocus required/></td>
</tr>
<tr>
<td><label for="Carbohydrates">Carbs:</label></td>
<td><input name="Carbohydrates" type="number" min="0" max="999"/></td>
</tr>
<tr>
<td><label for="Bolus">Bolus:</label></td>
<td><input name="Bolus" type="number" min="0" max="999" placeholder="NOT FOR MEDICAL USE" readonly/></td>
</tr>
<tr>
<td><label for="Target">Target:</label></td>
<td><input name="Target" type="number" required value="120" min="70" max="300" step="10"></td>
</tr>
<tr>
<td><label for="Divisor">Divisor:</label></td>
<td><input name="Divisor" type="number" required value="40" min="10" step="5"></td>
</tr>
<tr>
<td><label for="CarbsPerUnit">Carbs/U:</label></td>
<td><input name="CarbsPerUnit" type="number" required value="10" min="0"></td>
</tr>
</table>
</body>
</html>