{% extends "base.html" %}
{% import "_side.html" as sidem with context %}
{% import "_panels.html" as xpm %}
{% import "_tokens.html" as tkm %}
{% import "_pause.html" as pz with context %}
{% import "_open.html" as om with context %}
{% import "_plan.html" as plm with context %}
{% import "_vscode.html" as vsm %}
{#- How every board is doing, what needs you, and token use (docs/overview.md). -#}
{% block title %}Overview{% endblock %}
{% block head %}
{% set colour = column_colour %}
{% endblock %}
{% block main %}
{% set t = ov.tiles %}
{% set fin_max = 20 %}
{% set span = "today" if burn.days == 1 else "last %d days" % burn.days %}
{{ sidem.tab(side, None) }}
Overview
{{ side|sum(attribute="n") }} project{{ "s" if side|sum(attribute="n") != 1 }} on {{ side|length }} board{{ "s" if side|length != 1 }}
{% if not side|sum(attribute="n") %}
No projects are registered in {{ home }}.
New packet here, or wpk setup (a guided setup in a terminal), or wpk new <name> and then wpk doctor <name>.
{{ xpm.show(xpanels) }}
{% if side|length > 1 %}{% endif %}
{% set focus = [] %}{% for col, cs in ov.cols.items() if col != "Done" %}{% for c in cs if c.plan.priority == "now" %}{% set _ = focus.append(c) %}{% endfor %}{% endfor %}
{% if ov.brief %}{% set b = ov.brief %}
Hand off before you start: {% for h in b.handoff %}{{ h.project }}{{ ", " if not loop.last }}{% endfor %}
{% endif %}
{% elif ov.shutdown %}
End of the day: checkpoint, load the night shift, pick tomorrow's first.
{% endif %}
{% if focus %}Focus: {% for c in focus %}{{ c.name }}{% if c.due %} ({{ c.due }}){% endif %}{{ " · " if not loop.last }}{% endfor %}{% else %}Nothing in now: set a project's priority with Plan ▾, or on the Backlog.{% endif %}