-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.jinja
65 lines (61 loc) · 2.62 KB
/
index.jinja
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<title>{{'#'}}GrowLab live</title>
</head>
<body>
<nav class="navbar navbar-dark bg-dark">
<div class="container-fluid">
<a href="https://github.com/amouchere/growlab-project"><span class="navbar-brand mb-0 h1">{{'#'}}growlab</span></a>
</div>
</nav>
<div class="d-grid gap-3">
<div class="p-2"></div>
</div>
<div class="container">
<div class="card">
<h5 class="card-header">
<quote>Welcome to the Kitchen Garten Live Monitoring</quote>
</h5>
<div class="card-body">
<p class="card-title">🌱The growlab is a community project of connected kitchen garten</p>
<p class="card-text">🤖 This data has been generated by this <a href="https://github.com/amouchere/growlab-project">growlab app</a></p>
<p class="card-text">🛠️ This project is inspired by this <a href="https://github.com/alexellis/growlab">growlab app</a></p>
<h5>Latest readings</h5>
<div class="col-sm-6 col-lg-6 col-md-6 col-xl-6">
<table class="table">
<thead>
<tr>
<th scope="col">Reading</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Time</td>
<td>{{ time }}</td>
</tr>
<tr>
<td>Temperature</td>
<td>{{ temperature }}</td>
</tr>
<tr>
<td>Humidity</td>
<td>{{ humidity }}</td>
</tr>
</tbody>
</table>
</div>
<h5>Latest picture</h5>
<div style="width: 85%;">
<img class="figure-img img-fluid rounded" src="./preview.jpg?uid={{uid}}">
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js" integrity="sha256-IOllRmWNmrXfam1UB9MHfbc2yQdt1qckFkhRtd+RlN4=" crossorigin="anonymous"></script>
</body>
</html>