{% extends 'superuser/base_superuser.html' %} {% block title %}Superuser Console | ChatLab{% endblock %} {% block dashboard_active %}active{% endblock %} {% block workspace %}
Total Companies
{{ companies|length }}
Registered Tenants
Google Gemini Bots
{{ gemini_count }}
Active Providers
OpenAI Bots
{{ openai_count }}
Active Providers

🔷Google Gemini Models

{% if gemini_models %}
{% for model in gemini_models %}
{{ model.display_name }}
{{ model.model_name }}
{% endfor %}
{% else %}
No Google Gemini models configured yet.
{% endif %}

OpenAI Models

{% if openai_models %}
{% for model in openai_models %}
{{ model.display_name }}
{{ model.model_name }}
{% endfor %}
{% else %}
No OpenAI models configured yet.
{% endif %}

Tenant Chatbots

{% if companies %}
{% for company in companies %} {% endfor %}
Company Name Chatbot Name AI Provider Model Name API Key Status Admin Account Created Date Actions
{{ company.name }} {{ company.chatbot_name }} {% if company.ai_provider == 'gemini' %} Google Gemini {% else %} OpenAI {% endif %} {{ company.model_name }} {% if company.api_key %} Configured {% else %} ⚠️ Unconfigured {% endif %} {% if company.users.count %} {{ company.users.count }} user(s) {% else %} ⚠️ No admin {% endif %} {{ company.created_at|date:"M d, Y" }}
Test Edit
{% csrf_token %}
{% else %}
[ ]

No Tenant Companies Found

Get started by creating your first chatbot client.

Create Company
{% endif %}

Captured Leads Total: {{ leads|length }}

{% if leads %}
{% for lead in leads %} {% endfor %}
Name Phone Number Page URL Submission Date Actions
{{ lead.name }} {{ lead.phone }} {% if lead.page_url %} {{ lead.page_url }} {% else %} Not provided {% endif %} {{ lead.created_at|date:"M d, Y H:i" }}
{% csrf_token %}
{% else %}
📋

No Leads Captured Yet

When visitors submit the lead form on the home page, they will appear here.

{% endif %}
{% endblock %}