f0ckv2/views/ranking.html
2021-12-23 10:07:12 +01:00

25 lines
586 B
HTML

@include(main/header)
<table>
<tr>
<td>rank</td>
<td>username</td>
<td># tags placed</td>
</tr>
@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
</table>
<hr />
<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)