{% extends "base.html" %}
{% block title %}접속 기록{% endblock %}
{% block content %}
<h2>접속 기록</h2>
<table>
    <tr><th>시간</th><th>사용자</th><th>이벤트</th><th>IP</th></tr>
    {% for log in logs %}
    <tr>
        <td>{{ log.time }}</td>
        <td>{{ log.user }}</td>
        <td>{{ log.event }}</td>
        <td>{{ log.ip or '-' }}</td>
    </tr>
    {% endfor %}
</table>
{% endblock %}
