2022-09-08 22:55:43 +02:00
|
|
|
<!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>Kcalculator</title>
|
|
|
|
<link href="style.css" type="text/css" rel="stylesheet">
|
|
|
|
|
|
|
|
<script src="jst.js"></script>
|
|
|
|
<script src="utils.js"></script>
|
|
|
|
<script src="data.js"></script>
|
|
|
|
<script defer src="main.js"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<h1>Kcalculator</h1>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<datalist id="food-list"></datalist>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
<div id="food-search-container">
|
|
|
|
<input type="search" list="food-list" id="food-search" name="food-search" placeholder="Lebensmittel">
|
|
|
|
|
|
|
|
<div id="search-entries">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-09-09 13:23:03 +02:00
|
|
|
<table id="menu-table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Lebensmittel</th>
|
|
|
|
<th>Kalorien</th>
|
|
|
|
<th>Bewertung</th>
|
|
|
|
<th>Menge</th>
|
|
|
|
<th>Energie</th>
|
|
|
|
<th>Fett</th>
|
|
|
|
<th>Kohlenhydrate</th>
|
2022-09-09 15:25:08 +02:00
|
|
|
<th>Zucker</th>
|
2022-09-09 13:23:03 +02:00
|
|
|
<th>Eiweiß</th>
|
2022-09-09 15:25:08 +02:00
|
|
|
<th>Alkohol</th>
|
2022-09-09 13:23:03 +02:00
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="food-menu">
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
<tfoot>
|
|
|
|
<tr>
|
|
|
|
<td>Gesamt</td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
<td id="summary-energy"></td>
|
|
|
|
<td id="summary-fat"></td>
|
|
|
|
<td id="summary-carbs"></td>
|
2022-09-09 15:25:08 +02:00
|
|
|
<td id="summary-sugar"></td>
|
2022-09-09 13:23:03 +02:00
|
|
|
<td id="summary-proteins"></td>
|
2022-09-09 15:25:08 +02:00
|
|
|
<td id="summary-alc"></td>
|
2022-09-09 13:23:03 +02:00
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
</tfoot>
|
|
|
|
</table>
|
2022-09-08 22:55:43 +02:00
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|