17 lines
449 B
HTML
17 lines
449 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Weight Tracker</title>
|
|
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
</head>
|
|
<body>
|
|
<h1>Weight Tracker</h1>
|
|
<div id="weights">
|
|
{% for weight in weights %}
|
|
<p>{{ weight.date }}: {{ weight.weight }} kg by {{ weight.user_id }}</p>
|
|
{% endfor %}
|
|
</div>
|
|
<a href="/input">Add Weight</a>
|
|
</body>
|
|
</html> |