@use super::base_html; @use super::components::return_to_main_html; @use cm_lib::models::Shift; @(shifts: Vec) @:base_html({
@:return_to_main_html()

Shift Reports

@for shift in shifts { }
Shift ID Shift Start Shift End
@shift.id @shift.start.format("%Y-%m-%d %H:%M:%S") @if let Some(end) = shift.end { @end.format("%Y-%m-%d %H:%M:%S") } else { Currently Open }
})