{% extends 'base.html' %} {% block content %}

Demo Setup

Create short-lived demo companies and share ready-to-use admin logins.
New Demo Company
Auto-creates an Admin login for this company.
1-click demo
https://
After expiry, data can be cleaned using the auto-cleanup job.
Existing Demo Companies & Accounts
Click a company to view its demo login details.
{% if companies %}
{% for c in companies %} {% set header_state_class = 'active' if c.is_active else 'inactive' %}

{% if c.expires_on %} Expires: {{ c.expires_on.strftime('%d-%m-%Y') }} {% endif %} {{ 'Active' if c.is_active else 'Inactive' }}

{% if c.notes %}

{{ c.notes }}

{% endif %} {% if c.demo_accounts %}
{% for acc in c.demo_accounts %} {% endfor %}
Display Role Username Password Login URL Expires Notes
{{ acc.display_name }} {{ acc.role.name if acc.role else '-' }} {% if acc.login_username %} {{ acc.login_username }} {% else %} - {% endif %} {% if acc.login_password %} •••••••• {% else %} - {% endif %} {% if acc.login_url and acc.is_active %} Open {% elif acc.login_url %} Inactive {% else %} - {% endif %} {% if acc.expires_on %} {{ acc.expires_on.strftime('%d-%m-%Y') }} {% else %} — {% endif %} {{ acc.notes or '' }}
{% else %}

No demo accounts added for this company yet.

{% endif %}
{% endfor %}
{% else %}
No demo companies yet
Use the New Demo Company form on the left to create your first demo.
{% endif %}
{% endblock %}