49 lines
1.2 KiB
HTML
49 lines
1.2 KiB
HTML
<!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>
|
|
|
|
<div id="food-menu">
|
|
|
|
</div>
|
|
|
|
<div id="summary">
|
|
<span class="summary-name">Gesamt</span>
|
|
|
|
<a class="summary-delete-icon"><span class="material-icons">delete</span></a>
|
|
<div class="summary-amount-container">
|
|
<div class="summary-kcal">123</div>
|
|
<span class="summary-kcal-unit">kcal</span><span class="summary-kcal-unit-sep">/</span><input class="summary-amount" type="number" pattern="[0-9]+"><span class="summary-unit">g</span>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</body>
|
|
|
|
</html> |