256 lines
15 KiB
HTML
256 lines
15 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="bg-white shadow rounded-lg p-4 sm:p-6 xl:p-8 ">
|
|
|
|
<div class="mb-4 flex items-center justify-between">
|
|
<div>
|
|
<h3 class="text-xl font-bold text-gray-900 mb-2">Gabe</h3>
|
|
<span class="text-base font-normal text-gray-500">List of workouts</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flex flex-col mt-8">
|
|
<div class="overflow-x-auto rounded-lg">
|
|
<div class="align-middle inline-block min-w-full">
|
|
<div class="shadow overflow-hidden sm:rounded-lg">
|
|
<table class="min-w-full divide-y divide-gray-200">
|
|
<thead class="bg-gray-50">
|
|
<tr>
|
|
<th scope="col"
|
|
class="p-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
|
Date
|
|
</th>
|
|
<th scope="col"
|
|
class="p-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
|
Squats
|
|
</th>
|
|
|
|
<th scope="col"
|
|
class="p-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
|
Bench
|
|
</th>
|
|
<th scope="col"
|
|
class="p-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
|
Deadlift
|
|
</th>
|
|
<th scope="col"
|
|
class="p-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">
|
|
Lat Pulldown
|
|
</th>
|
|
<th scope="col"
|
|
class="p-4 text-left text-xs font-medium text-gray-500 uppercase tracking-wider w-8">
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="bg-white">
|
|
<tr>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-500">
|
|
Apr 23 ,2021
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Edit
|
|
</a>
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Delete
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-500">
|
|
Apr 23 ,2021
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Edit
|
|
</a>
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Delete
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-500">
|
|
Apr 23 ,2021
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Edit
|
|
</a>
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Delete
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-500">
|
|
Apr 23 ,2021
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Edit
|
|
</a>
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Delete
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-500">
|
|
Apr 23 ,2021
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Edit
|
|
</a>
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Delete
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-500">
|
|
Apr 23 ,2021
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Edit
|
|
</a>
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Delete
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-500">
|
|
Apr 23 ,2021
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
5 x 60kg
|
|
</td>
|
|
<td class="p-4 whitespace-nowrap text-sm font-semibold text-gray-900">
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Edit
|
|
</a>
|
|
<a href="#"
|
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2">
|
|
Delete
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a href=" {{ url_for('new_workout_for_person', person_id=person_id) }}"
|
|
class="hidden sm:inline-flex ml-5 text-white bg-cyan-600 hover:bg-cyan-700 focus:ring-4 focus:ring-cyan-200 font-medium rounded-lg text-sm px-5 py-2.5 text-center items-center mr-3">
|
|
<svg class="svg-inline--fa fa-gem -ml-1 mr-2 h-4 w-4" aria-hidden="true" focusable="false"
|
|
data-prefix="fas" data-icon="gem" role="img" xmlns="http://www.w3.org/2000/svg"
|
|
viewBox="0 0 512 512">
|
|
<path fill="currentColor"
|
|
d="M378.7 32H133.3L256 182.7L378.7 32zM512 192l-107.4-141.3L289.6 192H512zM107.4 50.67L0 192h222.4L107.4 50.67zM244.3 474.9C247.3 478.2 251.6 480 256 480s8.653-1.828 11.67-5.062L510.6 224H1.365L244.3 474.9z">
|
|
</path>
|
|
</svg>
|
|
Add workout
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %} |