Add the most basic form of the Art Browser that just lets users see and filter the tokens

This commit is contained in:
Oliver 2026-01-23 21:20:09 -07:00
parent 82ba07414c
commit 547816701d
9 changed files with 412 additions and 0 deletions

View file

@ -0,0 +1,32 @@
<div class="paginated">
<div class="row">
<button data-action="uploadImage">Upload Image</button>
</div>
{{#if images}}
<ul class="image-list image-list--{{listLayout}}">
{{#each images as | image |}}
{{> (tb-filePath "templates/ArtBrowser/image/grid.hbs") image=image selectMode=@root.selectMode }}
{{/each}}
</ul>
{{else}}
<span class="placeholder">
{{ localize "" }}
</span>
{{/if}}
<div class="grow"></div>
<div class="row page-nav">
<button
data-action="prevPage"
{{disabled (not has.prev)}}
>
Prev
</button>
{{page}} / {{pages}}
<button
data-action="nextPage"
{{disabled (not has.next)}}
>
Next
</button>
</div>
</div>