{% extends "base.html" %} {% from "calendar/_timeline.html" import timeline %} {% from "_header.html" import header %} {% block title %}CW {{ v.cw }} ยท Dashboard{% endblock %} {% block page %} {{ header("CW " ~ v.cw, v.range, v.offset == 0, "/week?w=" ~ (v.offset - 1), "/week?w=" ~ (v.offset + 1), "week", "/week") }} {# .wk scrolls sideways on narrow screens; .wk-in keeps the seven columns readable #} {% for c in v.cols %} {{ c.label }} {% if not loop.first %}{% endif %} {% endfor %} {% for b in v.bars %} {% if b.icon %}{{ b.icon }} {% endif %}{{ b.title }} {% endfor %} {% for c in v.cols %} {{ timeline(v.lines, c.bands, c.blocks, c.now, labels=v.labels if loop.first else None, band_labels=False, tick=loop.first, dot_at_edge=True, day=c.day.isoformat()) }} {% endfor %} {% endblock %}