f0ckv2/views/ranking.html
2022-03-29 14:33:01 +02:00

41 lines
1.2 KiB
HTML

@include(snippets/header)
<div class="topf0ckers">
<h3>Top f0ckers of all time <br>- Ranking -</h3>
</div>
<div class="ranking">
<div class="by-user">
<h3>Biggest taggers</h3>
<table class="table">
<tbody>
@for(let i = 0; i < list.length; i++)
<tr>
<td>{{ i + 1 }}</td>
<td><img class="avatar" src="/t/{{ list[i].avatar }}.webp" /></td>
<td>{!! list[i].user !!}</td>
<td>{{ list[i].count }}</td>
</tr>
@endfor
</tbody>
</table>
</div>
<div class="by-hoster">
<h3>Top {{ hoster.length }} hoster</h3>
<table class="table">
@each(hoster as host)
<tr><td>{{ host.part.length ? host.part : "Telegram" }}</td><td>{{ host.c }}</td></tr>
@endeach
</table>
</div>
<div class="by-stats">
<h3>Tag stats</h3>
<table class="table">
<tr><td>total</td><td>{{ stats.total }}</td></tr>
<tr><td>tagged</td><td>{{ stats.tagged }}</td></tr>
<tr><td>untagged</td><td>{{ stats.untagged }}</td></tr>
<tr><td>SFW</td><td>{{ stats.sfw }}</td></tr>
<tr><td>NSFW</td><td>{{ stats.nsfw }}</td></tr>
</table>
</div>
</div>
@include(snippets/footer)