brmbar/server/templates/log.html
2011-06-21 00:40:42 +02:00

18 lines
466 B
HTML

{% extends "base.html" %}
{% block title %}Log{% endblock %}
{% block content %}
<table>
<tr><th>date/time</th><th>user</th><th>item</th></tr>
{% for row in rows %}
<tr><td>{{ row.ts|safe }}</td><td>{{ row.user|safe }}</td><td>
{%- if row.itemname -%}
<img src="/static/items/{{ row.code|safe }}.jpg" width="32" height="32"/> {{ row.itemname|safe }} - {{ row.price }} Kc
{%- else -%}
{{- row.event -}}
{%- endif -%}
</td></tr>
{% endfor %}
</table>
{% endblock %}