Improve users and workouts overview page WIP
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tw-elements/dist/css/index.min.css" />
|
||||
<script src="https://cdn.tailwindcss.com/3.2.4"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/tw-elements/dist/js/index.min.js"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
darkMode: "class",
|
||||
@@ -55,6 +56,11 @@
|
||||
<div class="w-full px-4 mb-8">
|
||||
|
||||
<div class="bg-white shadow-md rounded-lg overflow-hidden" id="users-container">
|
||||
{% for u in users %}
|
||||
{% with user=u, workouts=u.workouts, bikes=bikes %}
|
||||
{% include 'workouts_list.html' %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
|
||||
{% with users=users, bikes=bikes %}
|
||||
{% include 'users.html' %}
|
||||
@@ -66,7 +72,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/tw-elements/dist/js/index.min.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user