clubmanager/templates/home.rs.html
Zynh0722 96dd76e463 feat: shifts
Oh boy what a mess this was lmao, I definitely should have done this is more atomic commits

But it could also be argued that very little of this is standalone
2023-09-26 02:18:12 -07:00

20 lines
347 B
HTML

@use super::base_html;
@use super::components::close_shift_button_html;
@use super::components::open_shift_button_html;
@use cm_lib::models::Shift;
@(open_shift: Option<Shift>)
@:base_html({
<main>
<div>
@if open_shift.is_none() {
@:open_shift_button_html()
} else {
@:close_shift_button_html()
}
</div>
</main>
})