- Go-Drink is the official Drink management of Port39! - Login - - username - + + + + Go-Drink - stay hydrated. + + Go-Drink is the official Drink management of Port39! + + + + + + Login + + user name + + + password - - Login - - - + + + Login + + + {{end}} diff --git a/html-frontend/templates/items.gohtml b/html-frontend/templates/items.gohtml index a71ff01..9d1bbd9 100644 --- a/html-frontend/templates/items.gohtml +++ b/html-frontend/templates/items.gohtml @@ -1,25 +1,31 @@ {{ define "title" }} - GoDrink - Items +GoDrink - Items {{end}} {{define "content"}} - - - These are the items. - + + Add an item to the fridge + - name - - price - - amount - - Submit + name + + price + + amount + - + Add item + + + + Current items + These are the items currently stocked in the fridge. + {{ range . }} - {{ .Name }} - {{ .Price }} + + {{ .Name }} + {{ .Price }} + {{ end }} -
- These are the items. - + + Add an item to the fridge + - name - - price - - amount - - Submit + name + + price + + amount + - + Add item + +