f0ckv2/views/ranking.html

30 lines
705 B
HTML
Raw Normal View History

2021-12-26 22:11:16 +00:00
@include(snippets/header)
2021-12-26 16:26:30 +00:00
<h1>Ranking lol</h1>
2021-12-24 10:16:00 +00:00
<table class="table">
<thead>
<tr>
<th>rank</th>
<th>username</th>
<th># tags placed</th>
</tr>
</thead>
<tbody>
2021-12-23 05:07:23 +00:00
@for(let i = 0; i < list.length; i++)
2021-12-24 10:16:00 +00:00
<tr>
<td>{{ i + 1 }}</td>
<td>{!! list[i].user !!}</td>
<td>{{ list[i].count }}</td>
</tr>
2021-12-23 05:07:23 +00:00
@endfor
2021-12-24 10:16:00 +00:00
</tbody>
2021-12-23 05:07:23 +00:00
</table>
<hr />
2021-12-24 10:16:00 +00:00
<table class="table">
2021-12-23 05:07:23 +00:00
<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>
2021-12-26 22:11:16 +00:00
@include(snippets/footer)