grid!
This commit is contained in:
parent
237e026b3e
commit
25a3d87c0c
2 changed files with 7 additions and 7 deletions
|
@ -3,18 +3,18 @@
|
||||||
|
|
||||||
@(open_shift: Option<Shift>)
|
@(open_shift: Option<Shift>)
|
||||||
|
|
||||||
<main>
|
<main class="grid grid-rows-6 grid-cols-3 grid-flow-col h-full">
|
||||||
<div>
|
<div class="flex justify-center items-center">
|
||||||
@:shift_button_html(open_shift.as_ref())
|
@:shift_button_html(open_shift.as_ref())
|
||||||
</div>
|
</div>
|
||||||
@if open_shift.is_some() {
|
@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">
|
<a href="/shifts/@open_shift.unwrap().id/drinks">
|
||||||
<button type="button">Drinks</button>
|
<button type="button">Drinks</button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
<div hx-boost="true">
|
<div hx-boost="true" class="flex justify-center items-center">
|
||||||
<a href="/management">
|
<a href="/management">
|
||||||
<button type="button">Management</button>
|
<button type="button">Management</button>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -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">
|
<div class="fixed right-0 top-0 pr-4 pt-4">
|
||||||
@:return_to_main_html()
|
@:return_to_main_html()
|
||||||
</div>
|
</div>
|
||||||
<div hx-boost="true">
|
<div hx-boost="true" class="flex justify-center items-center">
|
||||||
<a href="/management/dancers">
|
<a href="/management/dancers">
|
||||||
<button type="button">Dancers</button>
|
<button type="button">Dancers</button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div hx-boost="true">
|
<div hx-boost="true" class="flex justify-center items-center">
|
||||||
<a href="/shift_reports">
|
<a href="/shift_reports">
|
||||||
<button type="button">Shift Reports</button>
|
<button type="button">Shift Reports</button>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue