main
Zynh0722 2023-11-15 15:18:00 -08:00
parent 237e026b3e
commit 25a3d87c0c
2 changed files with 7 additions and 7 deletions

View File

@ -3,18 +3,18 @@
@(open_shift: Option<Shift>)
<main>
<div>
<main class="grid grid-rows-6 grid-cols-3 grid-flow-col h-full">
<div class="flex justify-center items-center">
@:shift_button_html(open_shift.as_ref())
</div>
@if open_shift.is_some() {
<div hx-boost="true">
<div hx-boost="true" class="flex justify-center items-center">
<a href="/shifts/@open_shift.unwrap().id/drinks">
<button type="button">Drinks</button>
</a>
</div>
}
<div hx-boost="true">
<div hx-boost="true" class="flex justify-center items-center">
<a href="/management">
<button type="button">Management</button>
</a>

View File

@ -2,16 +2,16 @@
@()
<main>
<main class="grid grid-rows-6 grid-cols-3 grid-flow-col h-full">
<div class="fixed right-0 top-0 pr-4 pt-4">
@:return_to_main_html()
</div>
<div hx-boost="true">
<div hx-boost="true" class="flex justify-center items-center">
<a href="/management/dancers">
<button type="button">Dancers</button>
</a>
</div>
<div hx-boost="true">
<div hx-boost="true" class="flex justify-center items-center">
<a href="/shift_reports">
<button type="button">Shift Reports</button>
</a>