{% extends "base.html" %} {% block title %}{{ page_title }}{% endblock %} {% block meta_description %}{{ meta_description }}{% endblock %} {% block content %}
{% if messages %}
{% for message in messages %} {% endfor %}
{% endif %}
Workflow widget

{% if request.user.is_authenticated %}Capture one meaningful check-in.{% else %}Create your account to start saving check-ins.{% endif %}

{% if request.user.is_authenticated %} Each entry becomes a private artifact: you log the day, land on a confirmation detail view, and build your own momentum history. {% else %} You can already browse the demo dashboard. Once you sign up, new entries will belong only to your account. {% endif %}

{% if request.user.is_authenticated %}
{% csrf_token %}
{% for field in form %}
{{ field }} {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% if field.errors %}
{% for error in field.errors %}{{ error }}{% endfor %}
{% endif %}
{% endfor %}
Default categories are ready, and you can manage them later from Django Admin.
{% else %}
Private entries Login + signup ready

This prevents your personal notes from mixing with the demo sample data. It is a common first step when an app starts storing user-specific information.

{% endif %}
What this MVP already does

Thin slice, real workflow.

Create

{% if request.user.is_authenticated %}Submit a structured daily entry with validation, categories, and personal ownership.{% else %}Create an account in a few seconds so the app can keep your data separate from demo content.{% endif %}

Confirm

Each new entry opens its own detail page with a success state and related history.

Review

Use weekly bars and the history page to notice patterns instead of collecting dead data.

7-day insight

{% if is_demo_mode %}Demo focus and energy trend{% else %}Your focus and energy trend{% endif %}

{% if is_demo_mode %}Open demo history{% else %}Open your history{% endif %}
Compare your week

Two bars per day show whether focus and energy are moving together or drifting apart.

Focus Energy
{% for day in weekly_trend %}
{{ day.focus }}/{{ day.energy }}
{{ day.label }} {{ day.minutes }}m
{% endfor %}
Check-in days {{ weekly_summary.check_in_days }}/7
Deep work logged {{ weekly_summary.total_minutes }}m
Strongest day {{ weekly_summary.strongest_label }} · {{ weekly_summary.strongest_score }}/10
Recent check-ins

{% if is_demo_mode %}Demo momentum history preview{% else %}Your momentum history preview{% endif %}

{% if is_demo_mode %}See every demo entry{% else %}See every entry{% endif %}
{% if recent_entries %}
{% for entry in recent_entries %}
{{ entry.category.name }}

{{ entry.title }}

{{ entry.takeaway }}

Focus {{ entry.focus_score }}/10 Energy {{ entry.energy_score }}/10 {{ entry.deep_work_minutes }} min
Momentum score {{ entry.momentum_score }}/10
View details
{% endfor %}
{% else %}

{% if request.user.is_authenticated %}No private entries yet{% else %}No demo entries yet{% endif %}

{% if request.user.is_authenticated %} Start with one check-in above and this dashboard will instantly become your own useful Python product demo. {% else %} Create an account to start filling this dashboard with your own progress history. {% endif %}

{% endif %}
{% endblock %}