{% extends "base.html" %} {% import "_ui.html" as ui %} {% block title %}Tadpole{% endblock %} {% block body %} {% set g = pond.growth %}
{{ frog(pond.stage, pond.color, 8) }}

{{ pond.stage_name }}

{{ {'green': 'Happy', 'yellow': 'Peckish', 'red': 'Hungry'}[pond.color] }}

{{ pond.line }}

Last entry: {{ pond.ago }}

{% call ui.head('i-entry', 'What happened?') %}Type it like a note. Food is the default. Mention a symptom with how bad, like “bloating 6”, and it is kept as one. “No symptoms today” records an all-clear, which also counts as a calm day.{% endcall %}
{% if just %}
Saved as {{ kind_words[just.kind] }}{% if just.severity is not none and just.kind == 'symptom' %} {{ just.severity }}/10{% endif %}: {{ just.text }}.
Change it
{% endif %}
{% call ui.head('i-growth', 'Growing up') %}A day with entries and mild symptoms (3 or under) grows it. A middling day (4 to 6) sets it back half a day, a rough day (7 or over) two days. Days with no entries change nothing. Today only counts against it until the day is over. The colour is separate: it goes yellow after about 18 hours without an entry, and red after about 42.{% endcall %}

{% if g.to_next is none %}Fully grown. Keep the symptoms calm and it stays a frog.{% else %}{{ '%g' % g.to_next }} calm {{ 'day' if g.to_next == 1 else 'days' }} to the next stage, {{ g.stages[g.stage + 1][1] }}.{% endif %}

Symptoms this week: {{ pond.control.label }}{% if pond.control.trend %}, {{ {'better': 'better than last week', 'worse': 'worse than last week', 'steady': 'about the same as last week'}[pond.control.trend] }}{% endif %}.

Today

{% for r in todays %}
{{ hhmm(r.ts) }} {{ r.text }}{{ kind_words[r.kind] }}{% if r.kind == 'symptom' %} {{ '?' if r.severity is none else r.severity }}{% endif %}
{% else %}

Nothing written yet today.

{% endfor %}
{% endblock %}