{% extends "base.html" %} {% from "_header.html" import header %} {% block title %}{{ v.title }} ยท Dashboard{% endblock %} {% block page %} {{ header(v.title, v.sub, v.current, "/month?m=" ~ (v.offset - 1), "/month?m=" ~ (v.offset + 1), "month", "/month", v.can_prev, v.can_next) }}
{% for c in v.cols %}
{{ c.label }}
{% endfor %}
{% for r in v.rows %}
{% for c in r.cells %}
{{ c.num }}
{% for i in c.evs %}
{{ i.time }} {% if i.icon %}{{ i.icon }} {% endif %}{{ i.title }}
{% endfor %} {% if c.more %}
+{{ c.more }} more
{% endif %}
{% endfor %} {% for b in r.bars %}
{% if b.icon %}{{ b.icon }} {% endif %}{{ b.title }}
{% endfor %}
{% endfor %}
{% endblock %}