{% extends "base.html" %}{% from "_macros.html" import csrf, flash, page_head %} {% block title %}Users{% endblock %} {% block content %} {{ page_head("Users") }} {% include "_admin_nav.html" %} {{ flash(msg) }} {% if onetime %}

Temporary password for {{ onetime[0] }}

{{ onetime[1] }}

Shown once: it is stored only as a hash and is not in any log. Send it to {{ onetime[0] }} and ask them to sign in with it; reloading this page will not show it again.

{% endif %}

Add a user

{{ csrf() }}

Accounts

{% if ledger %}

Every account starts with {{ "{:,}".format(grant) }} fantasy bucks (accounts.fantasy_ledger). Passwords are stored as hashes only: reset one, never read it.

{% endif %}
{% if ledger %}{% endif %} {% for u in users %} {% if ledger %}{% endif %} {% endfor %}
UserRoleActiveDisplay nameNew passwordLast seenMarketsBets placedFantasy bucks
{{ u.username }}
{{ csrf() }}
{{ u.last_seen|fmt }}{{ u.markets_made }}{{ u.bets_placed }}{{ "{:,.0f}".format(balances.get(u.id, 0)) }}
{{ csrf() }}
{{ csrf() }}
{% endblock %}