diff --git a/templates/entity-list.html b/templates/entity-list.html index f004f8a..8b24baa 100644 --- a/templates/entity-list.html +++ b/templates/entity-list.html @@ -25,6 +25,7 @@ Category Description Notes + diff --git a/templates/entity-row.html b/templates/entity-row.html index 9469adb..02beab2 100644 --- a/templates/entity-row.html +++ b/templates/entity-row.html @@ -3,6 +3,26 @@ {{.Name}} {{.Stage}} {{.Category}} - {{.Description}} - {{.Notes}} + + {{ if .Description }} + {{.Description}} + {{ else }} + ... + {{ end }} + + {{ if .Notes }} + {{.Notes}} + {{ else }} + ... + {{ end }} + + + diff --git a/templates/index.html b/templates/index.html index e7d8f42..1817ef1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,9 +4,9 @@ + Mikayla's Move Manager - - Go + HTMX + Tailwind +
diff --git a/templates/row-edit.html b/templates/row-edit.html index cb9e5ee..0e0f839 100644 --- a/templates/row-edit.html +++ b/templates/row-edit.html @@ -5,8 +5,8 @@ type="text" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" data-include-edit="{{.ID}}" - name="company" - value="{{.Company}}" + name="name" + value="{{.Name}}" /> @@ -14,8 +14,8 @@ type="text" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" data-include-edit="{{.ID}}" - name="contact" - value="{{.Contact}}" + name="stage" + value="{{.Stage}}" /> @@ -23,13 +23,33 @@ type="text" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" data-include-edit="{{.ID}}" - name="country" - value="{{.Country}}" + name="category" + value="{{.Category}}" /> + + + + + + + +