Create the most basic version of the ArtistBrowser app
This commit is contained in:
parent
1c32a71db9
commit
d5a114a44a
9 changed files with 348 additions and 1 deletions
28
templates/ArtistBrowser/artist.hbs
Normal file
28
templates/ArtistBrowser/artist.hbs
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<div class="entry artist">
|
||||
<div class="row">
|
||||
<h2>{{artist.name}}</h2>
|
||||
<div class="grow"></div>
|
||||
<div>
|
||||
{{artist.imageCount}} Images
|
||||
</div>
|
||||
</div>
|
||||
{{#if artist.links}}
|
||||
<ul class="chip-list">
|
||||
{{#each artist.links as |link|}}
|
||||
<li class="chip">
|
||||
<a href="{{link.url}}">{{link.name}}</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{#if artist.commonTags}}
|
||||
<section>
|
||||
<h3>Common Image Tags</h3>
|
||||
<ul class="chip-list">
|
||||
{{#each artist.commonTags as |tag|}}
|
||||
<li class="chip">{{tag.name}} ({{tag.count}})</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</section>
|
||||
{{/if}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue