-
Notifications
You must be signed in to change notification settings - Fork 0
/
product.html
107 lines (98 loc) · 4.38 KB
/
product.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>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css"
integrity="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA=="
crossorigin="anonymous">
<link href="static/custom.css" rel="stylesheet">
<title>Produkt - Bolus Calculator</title>
</head>
<body>
<nav class="navbar navbar-expand-lg fixed-top navbar-light">
<div class="container">
<a href="index.html" class="navbar-brand">
<img src="static/images/favicon1.png" alt="" height="64"> Bolus Calculator
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#nav1" aria-controls="nav1"
aria-expanded="False" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="nav1">
<div class="navbar-nav ms-auto">
<a class="nav-link ms-4" href="index.html"><i class="fas fa-home"></i> Home</a>
<a class="nav-link ms-4" href="quick-calc.html"><i class="fas fa-calculator"></i> Quick Calculator</a>
<a class="nav-link ms-4 active" href="search.html"><i class="fas fa-search"></i> Search</a>
<a class="nav-link ms-4" href="instructions.html"><i class="fas fa-map-signs"></i> Instructions</a>
</div>
</div>
</div>
</nav>
<div class="container pb-5">
<div class="row align-items-center">
<div class="col-md-6">
<div id="pie" class="text-center"></div>
<table class="table table-sm" style="width:80%; margin: auto;">
<thead class="text-white">
<tr>
<td>Nährwert</td>
<td class="text-end">Gramm (pro 100g)</td>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div class="col-md-6">
<div class="card border-0 my-5 bg-light py-2 px-2">
<div class="card-body">
<h3 class="card-title text-truncate">Quick Calculator</h3>
<form>
<div class="form-floating">
<input type="number" class="form-control" id="portion-size" placeholder="0">
<label for="portion-size">Portion Size in g</label>
</div>
<button type="button" class="btn btn-outline-primary mt-4" onclick="calc()">Calculate</button>
</form>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="card border-0 my-1 bg-light py-2 px-2">
<h6 class="card-subtitle mb-2 text-muted">CP <a href="instructions.html#CP"><i
class="fas fa-info-circle"></i></a></h6>
<p id="ke" class="card-text">0</p>
</div>
</div>
<div class="col-md-6">
<div class="card border-0 my-1 bg-light py-2 px-2">
<h6 class="card-subtitle mb-2 text-muted">BE <a href="instructions.html#BE"><i
class="fas fa-info-circle"></i></a></h6>
<p id="be" class="card-text">0</p>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="fixed-bottom">
<div class="container-fluid bg-white">
<nav class="nav justify-content-center">
<span class="navbar-text"><i class="far fa-copyright"></i> yagci & sygulla, 2021</span>
<a class="nav-link" href="https://github.com/yagci/bolus_calculator"><i class="fab fa-github"></i> Github</a>
</nav>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW"
crossorigin="anonymous"></script>
<script src='https://d3js.org/d3.v4.min.js'></script>
<script src="static/js/product.js"></script>
</body>
</html>