{% extends 'base.html' %} {% from "_helpers.html" import render_tags, render_delta %} {% block heading %} Activity Drift Report {% endblock %} {% block content %}
Day | Total | {% for x in range(0,24) %}{{ '{0:0>2}'.format(x) }} | {% endfor %}|||
---|---|---|---|---|---|
{{ date }} | {{ sleep_drift[date].duration }} | {% for hour in sleep_drift[date] %} {% if hour.duration %} {% if hour.duration.total_seconds() < 60*30 %}{% else %} | {% endif %} {% else %} {% if hour.is_current %} | now | {% else %}{% endif %} {% endif %} {% endfor %} |