You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

63 lines
1.6 KiB

{% extends "layout-overview.html" %}
{% block body %}
<h1 class="uk-heading-primary uk-text-center uk-heading-divider">{{ type }}</h1>
<center>
<div class="uk-text-large uk-align-center">
<table class="uk-table uk-align-center">
<caption></caption>
<thead>
<tr>
<td>Name</td>
{% if shortview == 'true' %}
<td>Found</td>
{% else %}
{% for tag in tags %}
<td>{{ tags.get(tag) }}</td>
{% endfor %}
{% endif %}
<td>Duration</td>
<td>Time remaining</td>
</tr>
</thead>
<tbody>
{% for entry in entries %}
<tr>
<td>{{ entry.username }}</td>
{% if shortview == 'true' %}
<td>{{ tagcount[entry.id] }}</td>
{% else %}
{% for tag in tags %}
<td>
{% if user[entry.id][tag] == 'Found' %}
<span uk-icon="icon: check; ratio: 2" class="uk-label-success"></span>
{% else %}
<span uk-icon="icon: close; ratio: 2" class="uk-label-danger"></span>
{% endif %}
</td>
{% endfor %}
{% endif %}
<td>
{% if entry.duration == '99:99:99' %}
No time yet
{% else %}
{{ entry.duration }}
{% endif %}
</td>
<td>
{% if tagcount[entry.id] == tagcount['total'] %}
Finished!
{% else %}
{{ timeremaining[entry.id] }}
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</center>
{% endblock %}