timetracker/games/templates/list_sessions.html

31 lines
830 B
HTML
Raw Normal View History

2022-12-31 13:18:27 +00:00
{% extends 'base.html' %}
2023-02-19 15:18:14 +00:00
{% load static %}
{% block title %}{{ title }}{% endblock title %}
2022-12-31 13:18:27 +00:00
{% block content %}
2023-09-30 13:53:41 +00:00
<table class="responsive-table">
<thead>
<tr>
<th>Name</th>
<th class="hide-on-small">Start</th>
<th class="hide-on-small">End</th>
<th>Duration</th>
</tr>
</thead>
<tbody>
2023-01-05 21:00:08 +00:00
{% for data in dataset %}
2023-09-30 13:53:41 +00:00
<tr>
<td class="purchase-name">{{ data.purchase.edition }}</td>
<td class="hide-on-small font-mono">{{ data.timestamp_start | date:"d/m/Y H:i" }}</td>
<td class="hide-on-small font-mono">{{ data.timestamp_end | date:"d/m/Y H:i" }}</td>
<td class="font-mono">{{ data.duration_formatted }}</td>
</tr>
2023-01-05 21:00:08 +00:00
{% endfor %}
2023-09-30 13:53:41 +00:00
</tbody>
</table>
2023-09-17 11:28:15 +00:00
{% endblock content %}