gruby refaktor otyły panie
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{% extends "admin/blank.twig" %}
|
||||
{% block content %}
|
||||
<h1 class="text-2xl font-bold mb-6">Recent Access Logs</h1>
|
||||
<table class="min-w-full bg-white">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="py-2 px-4 border-b">Username</th>
|
||||
<th class="py-2 px-4 border-b">Password</th>
|
||||
<th class="py-2 px-4 border-b">IP</th>
|
||||
<th class="py-2 px-4 border-b">User Agent</th>
|
||||
<th class="py-2 px-4 border-b">Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for log in logs %}
|
||||
<tr>
|
||||
<td class="py-2 px-4 border-b">{{ log.username }}</td>
|
||||
<td class="py-2 px-4 border-b">{{ log.password }}</td>
|
||||
<td class="py-2 px-4 border-b">{{ log.remote_ip }}</td>
|
||||
<td class="py-2 px-4 border-b">{{ log.user_agent }}</td>
|
||||
<td class="py-2 px-4 border-b">{{ log.created_at }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user