dashboard fixes

This commit is contained in:
Lili (Tlapka) 2022-10-13 13:53:42 +02:00
parent dda415f87a
commit 796febb91f
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
from flask import render_template, Blueprint
from tlapbot.db import get_db
from tlapbot.owncast_helpers import pretty_redeem_queue
from tlapbot.owncast_helpers import pretty_redeem_queue, all_counters
from datetime import datetime, timezone
bp = Blueprint('redeem_dashboard', __name__)

View File

@ -12,11 +12,12 @@
<th>Counters</th>
</tr>
</thead>
{% for counter in counters %}
<tbody>
{% for counter in counters %}
<td> {{ counter[0] }} </td>
<td> {{ counter[1] }} </td>
</tbody>
{% endfor %}
</table>
{% endif %}