{# This file is part of g0v/OpenTransLive. Copyright (c) 2025 Sean Gau Licensed under the GNU AGPL v3.0 See LICENSE for details. -#} {% extends "base.html" %} {% block title %}GT Live 廣田資訊 - Admin Dashboard{% endblock %} {% block content %}
Admin Dashboard
{{ current_email }} My Sessions Logout

Create Account

Pre-create an account for an email so it exists before the user's first login. Optionally grant realtime access immediately.

User Settings

Toggle realtime transcription access and per-account overrides for AI provider, partial interval and max languages per session. Leave provider as Default or interval blank to use the server config. Provider changes apply to running sessions right away; interval applies to newly started transcription. Max languages 0 means unlimited; a limit applies immediately to the account's open panels and translations (extra languages beyond the first N are ignored). Click an email to open that account's daily / monthly usage report. Users must log in via /login before they appear here.

{% if users %}
{% for user in users %} {% endfor %}
Email Last active Transcribed Sessions AI provider Interval (s) Max langs Realtime access
{{ user.email }} {% if user.last_active_at %} {{ user.last_active_at[:19].replace('T', ' ') }} UTC {% else %} — {% endif %} {{ user.audio_display }} {{ user.session_count }}
{% else %}
No users yet. Users appear here after logging in at /login.
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}