{% extends 'whoop/base.html' %} {% block body %}

WHOOP Dashboard

User: {{ request.user.username }}

WHOOP User ID: {{ whoopuser.whoop_user_id }}

Member Since: {{ whoopuser.whoop_createdAt|date:"F d, Y" }}

Last Token Update: {{ whoopuser.access_token_updated|date:"F d, Y H:i" }}

Summary Statistics

Total Days Tracked: {{ stats.total_days }}
Average Recovery: {% if stats.avg_recovery %} {{ stats.avg_recovery|floatformat:1 }}% {% else %} N/A {% endif %}
Average Sleep Score: {% if stats.avg_sleep_score %} {{ stats.avg_sleep_score|floatformat:1 }}% {% else %} N/A {% endif %}
Average Strain: {% if stats.avg_strain %} {{ stats.avg_strain|floatformat:1 }} {% else %} N/A {% endif %}
Total Workouts: {{ stats.total_workouts }}

Quick Actions

Sync Recent Data (7 days) | Sync All Historical Data | Re-authenticate

View Data

Recent Days (Last 30)

{% if recent_days %} {% for day in recent_days %} {% endfor %}
Date Recovery Sleep Score Strain
{{ day.day|date:"M d, Y" }} {% if day.recovery_set.first %} {{ day.recovery_set.first.score|floatformat:0 }}% {% else %} - {% endif %} {% if day.sleep_set.first %} {{ day.sleep_set.first.score|floatformat:0 }}% {% else %} - {% endif %} {% if day.strain_set.first %} {{ day.strain_set.first.score|floatformat:1 }} {% else %} - {% endif %}
{% else %}

No data available. Sync your data to get started.

{% endif %} {% endblock %}