Add options to choose type of bike, and also persist distance, power, calories, speed to db

This commit is contained in:
Peter Stockings
2023-03-14 10:19:37 +11:00
parent f1c89e967a
commit faf9b82137
5 changed files with 141 additions and 38 deletions

View File

@@ -33,19 +33,19 @@
</div>
</div>
</nav>
<div class="container mx-auto mt-8">
<div class="flex flex-col sm:flex-row justify-between">
<div class="w-full sm:w-1/2 px-4 mb-8">
<div class="max-w-4xl mx-auto mt-8">
<div class="flex flex-col justify-between">
<div class="w-full px-4 mb-8">
<div class="bg-white shadow-md rounded-lg overflow-hidden" id="users-container">
{% with users=users %}
{% with users=users, bikes=bikes %}
{% include 'users.html' %}
{% endwith %}
</div>
</div>
<div class="w-full sm:w-1/2 px-4 mb-8" id="container">
<div class="w-full px-4 mb-8" id="container">
</div>
</div>
</div>