27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
|
@include(main/header_admin)
|
||
|
<form action="/admin/test" style="margin-top: 15px;">
|
||
|
<input type="text" name="tag" /><button type="submit">search</button>
|
||
|
</form>
|
||
|
<hr />
|
||
|
@if(result)
|
||
|
<h1>{{ result.length }} f0cks given</h1>
|
||
|
<table style="width: 100%;">
|
||
|
<tr>
|
||
|
<td style="text-align: center;">Thumbnail</td>
|
||
|
<td style="text-align: center;">ID</td>
|
||
|
<td style="text-align: center;">Tag</td>
|
||
|
<td style="text-align: center;">Username</td>
|
||
|
<td style="text-align: center;">Score</td>
|
||
|
</tr>
|
||
|
@each(result as line)
|
||
|
<tr>
|
||
|
<td style="width: 128px;"><a href="/{{ line.id }}" target="_blank"><img src="/t/{{ line.id }}.png" /></a></td>
|
||
|
<td style="text-align: center;"><a href="/{{ line.id }}" target="_blank">{{ line.id }}</a></td>
|
||
|
<td style="text-align: center;"><a href="/admin/test?tag={{ line.tag.replace(/\s/g, "+") }}">{{ line.tag }}</a></td>
|
||
|
<td style="text-align: center;">{{ line.username }}</td>
|
||
|
<td style="text-align: center;">{{ line.score }}</td>
|
||
|
</tr>
|
||
|
@endeach
|
||
|
</table>
|
||
|
@endif
|
||
|
@include(main/footer)
|