{% extends "base.html" %} {% block title %}{{ child.name }} 的成长仪表盘{% endblock %} {% block content %}

👦 {{ child.name }} 的成长仪表盘

{% if got_badges %} {% for b in got_badges %}
{{ b.icon }} {{ b.name }} 已获得
{% endfor %} {% else %}
🏅 还没有徽章,今天就去解锁一个吧
{% endif %}
--:--:--
📅 学期日历
{{ term_start_str }} ~ {{ term_end_str }}
{{ term_calendar_svg(active_counts, term_start, term_end) | safe }}
多项 有打卡 周末 未打卡 今天
{{ ring_svg(yprog, '#3b82f6', 130, '学年总进度') | safe }}

🎡 各学科进度一览

{% for grp in ring_slides %}
{% for s in grp %}
{{ s.icon }} {{ s.name }}
{{ mini_ring_svg(s.progress, s.color) | safe }}
{% endfor %}
{% endfor %}

💗 健康综合

当前身高
{{ cur_h if cur_h is not none else '—' }}cm
标准 {{ std_h }} cm {%- if cur_h is not none %} {{ '+' if cur_h >= std_h else '' }}{{ (cur_h - std_h) | round(1) }} {%- endif %}
当前体重
{{ cur_w if cur_w is not none else '—' }}kg
标准 {{ std_w }} kg {%- if cur_w is not none %} {{ '+' if cur_w >= std_w else '' }}{{ (cur_w - std_w) | round(1) }} {%- endif %}

按 {{ age }} 岁{{ '男孩' if (child.gender or 'M') == 'M' else '女孩' }}的生长参考中位数估算,仅供参考。

📚 学科进度

按任务顺序显示:完成 3 个 · 进行中 1 个 · 待完成 3 个。点一下就完成,下一个自动接上。

📖 我的书架墙

共读完 {{ shelf|length }} 本 · 上排最近读完,下排随机回顾

{% if shelf %}
🆕 最近读完
{% for b in shelf_recent %}{% include "_book_cover.html" %}{% endfor %}
{% if shelf_random %}
🎲 随机回顾
{% for b in shelf_random %}{% include "_book_cover.html" %}{% endfor %}
{% endif %}
{% else %}

书架还是空的,读完第一本书就会出现在这里 📚

{% endif %}
{% for c in checkins %} {% endfor %}
{% endblock %}