Files
ctfd-cheaters/templates/cheaters.html
2025-11-06 18:24:29 +01:00

40 lines
1.7 KiB
HTML

{% extends "admin/base.html" %}
{% block content %}
<div class="jumbotron">
<div class="container">
<h1>Cheat Monitor</h1>
</div>
</div>
<div class="container">
<div id="cheat" class="row">
<div class="col-md-12">
<table class="table table-striped">
<thead>
<tr>
<td scope="col" width="10px"><b>ID</b></td>
<td scope="col"><b>Challenge</b></td>
<td scope="col"><b>Cheat User</b></td>
<td scope="col"><b>Helper User</b></td>
<td scope="col"><b>Flag</b></td>
<td scope="col"><b>Date</b></td>
</tr>
</thead>
<tbody>
{% for cheater in cheaters %}
<tr>
<th scope="row" class="text-center">{{ loop.index }}</th>
<td><a href="{{ request.script_root }}/admin/challenges/{{ cheater.challenge.id }}">{{ cheater.challenge.name }}</a></td>
<td><a href="{{ request.script_root }}/admin/users/{{ cheater.cheater.id }}">{{ cheater.cheater.name }}</a></td>
<td><a href="{{ request.script_root }}/admin/users/{{ cheater.helper.id }}">{{ cheater.helper.name }}</a></td>
<td>{{ cheater.flag.content }}</td>
<td>{{cheater.date}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
{% endblock %}