30 lines
705 B
HTML
30 lines
705 B
HTML
@include(snippets/header)
|
|
<h1>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(snippets/footer)
|