physics_workload.app.pages.staff.history

Classes

StaffHistoryDetail

View showing the detail of a staff member at a point in time.

StaffHistoryList

List of History entries for a staff member.

Module Contents

class physics_workload.app.pages.staff.history.StaffHistoryDetail(**kwargs)

Bases: iommi.Page

View showing the detail of a staff member at a point in time.

header
form
assignments
class physics_workload.app.pages.staff.history.StaffHistoryList(**kwargs)

Bases: iommi.Page

List of History entries for a staff member.

header
plot
list
class Meta
static extra_evaluated__plot(params: Dict[str, Any], staff: app.models.Staff, **_) str

Creates a graph of the staff balance over time.

Parameters:
  • params – The Iommi view params.

  • staff – The Staff instance, provided via URL decoding.

Returns:

The HTML code of the graph.