move shops to new page; live vs mock navbar
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{{- .Auth.ByMatchingAccountID 2 }}
|
||||
|
||||
{{- define "title" }} Inventory++ Mock Shops {{ end }}
|
||||
|
||||
{{- $acctID := .Identity.Account.AccountID }}
|
||||
|
||||
|
||||
<section
|
||||
id="mock-shops-section"
|
||||
class="
|
||||
m-[1rem]
|
||||
pb-[1rem]
|
||||
"
|
||||
>
|
||||
<ul class="list-none" hx-swap="morph">
|
||||
{{- range $i, $platform := .Accounts.GetOrderOfPlatformsOnAccountPage $acctID }}
|
||||
{{ component (printf "/accounts/%d/platforms/%s/shops/list-item" $acctID $platform)
|
||||
"OrderIndex" $i
|
||||
"Mock" true
|
||||
}}
|
||||
{{- end }}
|
||||
</ul>
|
||||
</section>
|
||||
Reference in New Issue
Block a user