diff --git a/internal/server/static/style.css b/internal/server/static/style.css index 7953f47..0b684f3 100644 --- a/internal/server/static/style.css +++ b/internal/server/static/style.css @@ -194,7 +194,7 @@ main { min-width: 160px; } -input:focus { +.search-container input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1); @@ -295,6 +295,18 @@ tr a { color: var(--primary-color); } +.order { + display: flex; + flex-direction: row; +} + +.order div { + display: flex; + flex-direction: column; +} + + + /* Responsive adjustments */ @media (max-width: 768px) { diff --git a/internal/server/templates/order.gohtml b/internal/server/templates/order.gohtml index 23033c3..43738e9 100644 --- a/internal/server/templates/order.gohtml +++ b/internal/server/templates/order.gohtml @@ -1,71 +1,71 @@ {{define "title"}} - Order {{.Order.ID}} + {{if .Order.ID}} + Edytuj zamówienie #{{.Order.ID}} + {{else}} + Nowe zamówienie + {{end}} {{end}} {{define "main"}} - + {{with .Order}} + Info - name - + Imię - surname - + Nazwisko - phone - + Numer telefonu - location - + Lokalizacja Kartuzy Somonino - date - + Data dostawy - status - - accepted - done - - paid - + Status + + accepted + done + + + Zaliczka - Basket + Dodane Ciasta + Zapisz + {{end}} {{with .Catalogue}} - Catalogue + Katalog {{range .}} {{.Name}} {{.Price}} - add + dodaj {{end}} {{end}} - submit -