{% extends "base.html" %} {% from "_ui.html" import page_head, role_pill, empty %} {% block title %}Manage Users{% endblock %} {% block content %} {{ page_head('users', 'Manage Users', 'Add Leads and Users and control who can sign in.') }} {% if not google_ready %} {% endif %} {% if mail_on and not mail_ready %} {% endif %}

{{ icon('link') }} Sign-in address

Leads and Users all sign in here. Their role decides what they can do after signing in.

{{ signin_url }}

{{ icon('user-plus') }} Add Lead / User

They sign in with Google or an emailed code using this email. No password is needed.{% if mail_on %} A welcome email is sent to them using the template in Settings.{% endif %} Allowed domains: {{ domains|join(', ') }}.

{{ icon('user') }}
{{ icon('mail') }}

{{ icon('users') }} Users

{{ rows|length }} total
{% for u in rows %} {% if u.role == 'admin' %} {% else %} {% endif %} {% else %} {% endfor %}
S.NoNameEmailRoleAction
{{ loop.index }} {{ icon('lock') }}{{ u.username }} (password login) {{ role_pill('admin') }}
{% if not u.email %}No email set: this login cannot sign in yet.{% endif %} {% if u.email %}
{% endif %}
{{ empty('users', 'No users yet.') }}
{% endblock %}