Commit 9fc2a1a8 authored by Markus Shepherd's avatar Markus Shepherd

added game types

parent 5be34a68
......@@ -139,4 +139,67 @@
</div>
</div>
</div>
<div class="card mb-3">
<div class="card-header">
<h4>Top Game Types</h4>
<nav class="nav nav-tabs nav-justified card-header-tabs">
<a id="types-rg-tab"
ng-disabled="!data.rg_top.game_type"
data-toggle="tab"
data-target="#types-rg"
href=""
role="tab"
aria-controls="types-rg"
aria-selected="true"
class="nav-item nav-link active">
<abbr title="Recommend.Games">R.G</abbr> top 100
</a>
<a id="types-bgg-tab"
data-toggle="tab"
data-target="#types-bgg"
href=""
role="tab"
aria-controls="types-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="types-rg"
class="tab-pane fade show active"
role="tabpanel"
aria-labelledby="types-rg-tab">
<ol class="mb-0">
<li ng-repeat="type in data.rg_top.game_type"
value="{{ type.rank }}">
<a ng-href="/#/?gameType={{ type.bgg_id }}">
<strong>
{{ type.name }}
</strong>
</a>
({{ type.count }} game{{ type.count === 1 ? '' : 's' }})
</li>
</ol>
</div>
<div id="types-bgg"
class="tab-pane fade"
role="tabpanel"
aria-labelledby="types-bgg-tab">
<ol class="mb-0">
<li ng-repeat="type in data.bgg_top.game_type"
value="{{ type.rank }}">
<a ng-href="/#/?gameType={{ type.bgg_id }}">
<strong>
{{ type.name }}
</strong>
</a>
({{ type.count }} game{{ type.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