formated orders template
This commit is contained in:
parent
f13a4ecde2
commit
939665ea02
1 changed files with 28 additions and 28 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
|
|
||||||
{{define "title"}}
|
{{define "title"}}
|
||||||
Orders
|
Orders
|
||||||
{{end}}
|
{{end}}
|
||||||
{{define "main"}}
|
{{define "main"}}
|
||||||
<main>
|
<main>
|
||||||
<form class="search-container" hx-get="/orders/search" hx-target="#results-table" hx-trigger="keyup delay:500ms, change">
|
<form class="search-container" hx-get="/orders/search" hx-target="#results-table"
|
||||||
|
hx-trigger="keyup delay:500ms, change">
|
||||||
<label>
|
<label>
|
||||||
<input type="search" name="q" placeholder="Search orders...">
|
<input type="search" name="q" placeholder="Search orders...">
|
||||||
</label>
|
</label>
|
||||||
|
|
@ -48,6 +48,6 @@
|
||||||
<th>{{.Status}}</th>
|
<th>{{.Status}}</th>
|
||||||
<th>{{.Total}}</th>
|
<th>{{.Total}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
{{end}}</table>
|
||||||
{{end}}
|
{{end}}
|
||||||
</table>
|
|
||||||
{{end}}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue