{% extends "base.html" %} {% block title %}Admin - Usuarios{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
Gerencie todos os usuarios da plataforma.
| Usuario | Status | Plano | Limite | Uso Hoje | Ultimo Assistido | Criado | Convidados | Link | Acoes | |
|---|---|---|---|---|---|---|---|---|---|---|
| {% if u.is_banned %}🚫{% elif not u.is_active_user %}⏸{% elif u.id in online_user_ids %}{% else %}{% endif %} {{ u.email }} | {% if u.whatsapp %} 💬 {{ u.whatsapp }} {% else %}-{% endif %} | {% if u.is_banned %}Banido {% elif not u.is_active_user %}Desativado {% else %}Ativo{% endif %} | {% if u.is_admin %}Admin {% elif u.is_paid %}Premium {% else %}Free{% endif %} | {{ (u.free_daily_limit // 3600)|int }}h | {{ (u.free_daily_used // 3600)|int }}h {{ ((u.free_daily_used % 3600) // 60)|int }}m |
{% if user_last_watched.get(u.id) %}
{{ user_last_watched[u.id].name[:30] }}
{{ user_last_watched[u.id].last_seen|bdatetime }}
{% else %}-{% endif %}
|
{{ u.created_at|bdate }} | {% set invited = ref_total_map.get(u.id, 0) %} {% if invited > 0 %} {{ invited }} {% else %}0{% endif %} |
{% set ulink = ref_link_map.get(u.id) %}
{% if ulink %}
|
{% if u.is_admin %}
{% if u.id != current_user.id %}
{% endif %}
{% else %}
{% if u.is_paid %}
{% else %}
{% endif %}
{% if u.is_banned %}
Desbanir
{% else %}
{% endif %}
{% if not u.is_active_user %}
Ativar
{% else %}
{% endif %}
{% if u.is_paid and 'afiliacao' in current_user_perms %}
{% endif %}
{% endif %}
|