dashboard fixes
This commit is contained in:
parent
dda415f87a
commit
796febb91f
|
@ -1,6 +1,6 @@
|
||||||
from flask import render_template, Blueprint
|
from flask import render_template, Blueprint
|
||||||
from tlapbot.db import get_db
|
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
|
from datetime import datetime, timezone
|
||||||
|
|
||||||
bp = Blueprint('redeem_dashboard', __name__)
|
bp = Blueprint('redeem_dashboard', __name__)
|
||||||
|
|
|
@ -12,11 +12,12 @@
|
||||||
<th>Counters</th>
|
<th>Counters</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
{% for counter in counters %}
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for counter in counters %}
|
|
||||||
<td> {{ counter[0] }} </td>
|
<td> {{ counter[0] }} </td>
|
||||||
<td> {{ counter[1] }} </td>
|
<td> {{ counter[1] }} </td>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue