style home buttons

This commit is contained in:
Zynh0722 2023-11-17 03:13:10 -08:00
parent 1b22a6a31b
commit cb1a1e6f9d
3 changed files with 4 additions and 4 deletions

View file

@ -2,6 +2,6 @@
@(open_shift: &Shift) @(open_shift: &Shift)
<button hx-post="/api/shifts/@open_shift.id/close" hx-swap="outerHTML" hx-target="body" type="button"> <button hx-post="/api/shifts/@open_shift.id/close" hx-swap="outerHTML" hx-target="body" type="button" class="focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2">
Close Shift Close Shift
</button> </button>

View file

@ -9,13 +9,13 @@
</div> </div>
@if open_shift.is_some() { @if open_shift.is_some() {
<div hx-boost="true" class="flex justify-center items-center"> <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" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 " >
<button type="button">Drinks</button> <button type="button">Drinks</button>
</a> </a>
</div> </div>
} }
<div hx-boost="true" class="flex justify-center items-center"> <div hx-boost="true" class="flex justify-center items-center">
<a href="/management"> <a href="/management" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 ">
<button type="button">Management</button> <button type="button">Management</button>
</a> </a>
</div> </div>

View file

@ -1,5 +1,5 @@
@() @()
<button hx-post="/api/shifts/open" hx-swap="outerHTML" hx-target="body" type="button"> <button hx-post="/api/shifts/open" hx-swap="outerHTML" hx-target="body" type="button" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 ">
Open Shift Open Shift
</button> </button>