f0ckv2/views/ranking.html
2021-12-24 11:16:00 +01:00

30 lines
740 B
HTML

@include(main/header)
<h1 style="text-align: left; margin-left: 5px">Ranking lol</h1>
<table class="table">
<thead>
<tr>
<th>rank</th>
<th>username</th>
<th># tags placed</th>
</tr>
</thead>
<tbody>
@for(let i = 0; i < list.length; i++)
<tr>
<td>{{ i + 1 }}</td>
<td>{!! list[i].user !!}</td>
<td>{{ list[i].count }}</td>
</tr>
@endfor
</tbody>
</table>
<hr />
<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>
@include(main/footer)