minecraft_manager/templates/minecraft_manager/ip.html

24 lines
659 B
HTML

{% extends "minecraft_manager/dashboard.html" %}
{% load static %}
{% block title %}IP{% endblock %}
{% block h1 %}<h1>{{ ip.ip }}</h1>{% endblock %}
{% block section %}
<div id="content">
<table id="model-table" class="table table-striped">
<thead>
<tr>
<th>Player</th>
<th>Last Used</th>
</tr>
</thead>
<tbody>
{% for i in ips %}
<tr>
<td><a href="{% url "player" %}{{ i.player.id }}">{{ i.player.username }}</a></td>
<td>{{ i.last_used_formatted }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock section %}