search shmearch
This commit is contained in:
@ -1,27 +0,0 @@
|
||||
@include(snippets/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 }}.webp" /></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(snippets/footer)
|
Reference in New Issue
Block a user