{% extends "base.html" %} {% import "workload/_head.html" as wl with context %} {% block title %}Work · CW {{ v.cw }}{% endblock %} {% block head %}{{ wl.assets() }}{% endblock %} {% block main_attrs %} data-norefresh{% endblock %} {# Week of time entries. Geometry in % of the day's visible hours (views.week); workload.js does the interaction: drag on a day = new entry, click a block = edit, drag a block = move, drag its bottom edge = resize, click a faint calendar event = book it. "Activity" (while the Activity plugin is on) adds a lane on each day's right: what ActivityWatch saw, sorted — click a block to book it (customer guessed from its category). #} {% block page %} {{ wl.head("CW " ~ v.cw, v.range, v.offset == 0, "/work", "/work?w=" ~ (v.offset - 1), "/work?w=" ~ (v.offset + 1)) }}
Drag on a day to book time · click a block to edit · drag it to move, its bottom edge to resize{% if v.cols | selectattr("ghosts") | list %} · click a faint calendar event to book it{% endif %}{% if show_act %} · click an activity block (right lane) to book it{% endif %}
{% endblock %} {% block scripts %} {# entry form (no browser dialogs) #}