-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscan-result.html
84 lines (76 loc) · 3.16 KB
/
scan-result.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
<!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-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" />
<!-- My CSS -->
<link rel="stylesheet" href="./assets/styles/style.css" />
<!-- Favicon -->
<link rel="shortcut icon" href="./assets/images/nutrition.png" />
<title>Nutri Cek | Hasil Pemindaian</title>
</head>
<body>
<header>
<nav id="navbar"></nav>
</header>
<main>
<section id="result">
<div class="container mt-4 mt-md-0">
<div class="row justify-content-center align-items-center min-vh-100">
<div class="col-12" id="loading">
<div class="d-flex justify-content-center">
<div class="spinner-border text-primary" style="width: 4rem; height: 4rem" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
</div>
<div class="col-12 d-none" id="result-card">
<div class="card mb-3 shadow">
<div class="row g-0">
<div class="col-md-4">
<img class="img-fluid rounded-start" id="food-image" alt="Food Image" />
</div>
<div class="col-md-8 mt-3 mt-md-0">
<div class="card-body">
<div class="table-responsive mb-2">
<table class="table table-hover">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Food</th>
<th scope="col">%</th>
<th scope="col">Qty</th>
<th scope="col">Unit</th>
</tr>
</thead>
<tbody id="tbody"></tbody>
</table>
</div>
<div class="text-center mt-2">
<button class="btn btn-outline-primary" id="cek-nutrisi">Cek Nutrisi</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer id="footer"></footer>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<!-- My Script -->
<script src="./assets/scripts/scan-result.js" type="module" async></script>
<script src="./assets/scripts/components/Navbar.js"></script>
<script src="./assets/scripts/components/Footer.js"></script>
<script>
Navbar();
Footer();
</script>
</body>
</html>