sirx: und weg damit :D
This commit is contained in:
27
views/admin_search.html
Normal file
27
views/admin_search.html
Normal file
@ -0,0 +1,27 @@
|
||||
{{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>
|
||||
{{/each}}
|
||||
</table>
|
||||
{{/if}}
|
||||
{{include main/footer}}
|
Reference in New Issue
Block a user