mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 13:24:01 +02:00
finish server
This commit is contained in:
parent
4dfa0ec3b0
commit
05aab85b5a
4 changed files with 46 additions and 22 deletions
|
@ -5,9 +5,9 @@
|
|||
<table>
|
||||
<tr><th>date/time</th><th>user</th><th>item</th></tr>
|
||||
{% for row in rows %}
|
||||
<tr><td>{{ row.ts|safe }}</td><td></td>{{ row.user|safe }}</td><td>
|
||||
<tr><td>{{ row.ts|safe }}</td><td>{{ row.user|safe }}</td><td>
|
||||
{%- if row.itemname -%}
|
||||
<img src="/static/items/{{ row.code|safe }}.jpg" width="64" height="64"/> {{ row.itemname|safe }} - {{ row.price }} Kc
|
||||
<img src="/static/items/{{ row.code|safe }}.jpg" width="32" height="32"/> {{ row.itemname|safe }} - {{ row.price }} Kc
|
||||
{%- else -%}
|
||||
{{- row.event -}}
|
||||
{%- endif -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue