Commit 5be34a68 authored by Markus Shepherd's avatar Markus Shepherd

added top artists

parent 5ea9649e
......@@ -5,6 +5,7 @@
<p class="lead">
TODO.
</p>
<div class="card mb-3">
<div class="card-header">
<h4>Top Designers</h4>
......@@ -71,4 +72,71 @@
</div>
</div>
</div>
<div class="card mb-3">
<div class="card-header">
<h4>Top Artists</h4>
<nav class="nav nav-tabs nav-justified card-header-tabs">
<a id="artists-rg-tab"
ng-disabled="!data.rg_top.artist"
data-toggle="tab"
data-target="#artists-rg"
href=""
role="tab"
aria-controls="artists-rg"
aria-selected="true"
class="nav-item nav-link active">
<abbr title="Recommend.Games">R.G</abbr> top 100
</a>
<a id="artists-bgg-tab"
data-toggle="tab"
data-target="#artists-bgg"
href=""
role="tab"
aria-controls="artists-bgg"
aria-selected="false"
class="nav-item nav-link">
<abbr title="BoardGameGeek">BGG</abbr> top 100
</a>
</nav>
</div>
<div class="card-body tab-content">
<div id="artists-rg"
class="tab-pane fade show active"
role="tabpanel"
aria-labelledby="artists-rg-tab">
<ol class="mb-0">
<li ng-repeat="artist in data.rg_top.artist"
value="{{ artist.rank }}">
<a ng-href="https://boardgamegeek.com/boardgameartist/{{ artist.bgg_id }}"
target="_blank">
<strong>
{{ artist.name }}
<i class="fas fa-external-link-alt"></i>
</strong>
</a>
({{ artist.count }} game{{ artist.count === 1 ? '' : 's' }})
</li>
</ol>
</div>
<div id="artists-bgg"
class="tab-pane fade"
role="tabpanel"
aria-labelledby="artists-bgg-tab">
<ol class="mb-0">
<li ng-repeat="artist in data.bgg_top.artist"
value="{{ artist.rank }}">
<a ng-href="https://boardgamegeek.com/boardgameartist/{{ artist.bgg_id }}"
target="_blank">
<strong>
{{ artist.name }}
<i class="fas fa-external-link-alt"></i>
</strong>
</a>
({{ artist.count }} game{{ artist.count === 1 ? '' : 's' }})
</li>
</ol>
</div>
</div>
</div>
</section>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment