Add the database sizes into the sidebar (closes #21)

This commit is contained in:
Oliver 2026-02-02 22:45:19 -07:00
parent 1e68187959
commit 3a8a2092f7
6 changed files with 75 additions and 9 deletions

View file

@ -1,17 +1,22 @@
<section>
<h4 class="divider">Artists</h4>
<div>
<h4 class="divider">{{ localize "IT.common.artists" }}</h4>
<p class="subtitle">
{{ localize "IT.apps.ArtSidebar.db-size" size=size }}
</p>
</div>
<button
type="button"
data-action="openApp"
data-app="ArtistBrowser"
>
View All
{{ localize "IT.apps.ArtSidebar.view" }}
</button>
<button
type="button"
data-action="openApp"
data-app="ArtistApp"
>
Add New
{{ localize "IT.apps.ArtSidebar.add-new" }}
</button>
</section>

View file

@ -1,17 +1,22 @@
<section>
<h4 class="divider">Tokens</h4>
<div>
<h4 class="divider">{{ localize "IT.common.images" }}</h4>
<p class="subtitle">
{{ localize "IT.apps.ArtSidebar.db-size" size=size }}
</p>
</div>
<button
type="button"
data-action="openApp"
data-app="ArtBrowser"
>
View All
{{ localize "IT.apps.ArtSidebar.view" }}
</button>
<button
type="button"
data-action="openApp"
data-app="ImageApp"
>
Add New
{{ localize "IT.apps.ArtSidebar.add-new" }}
</button>
</section>