{% include 'head.html' %} {% include 'nav.html' %}

{{ header }}

Your account settings and host access

{% if current_user and current_user.avatar %} {% else %}
{{ ((current_user.full_name if current_user else '') or (current_user.username if current_user else '?'))[:1] | upper }}
{% endif %}
{{ current_user.full_name if current_user and current_user.full_name else (current_user.username if current_user else '—') }}
@{{ current_user.username if current_user else '—' }}
{% if current_user and current_user.admin %} Admin {% else %} User {% endif %}

Account

Username {{ current_user.username if current_user else '—' }}
Full name {% if current_user and current_user.full_name %} {{ current_user.full_name }} {% else %} Not set {% endif %}
Role {{ 'Administrator' if current_user and current_user.admin else 'User' }}
Avatar {% if current_user and current_user.avatar %} {{ current_user.avatar }} {% else %} Not set (initials used) {% endif %}
{% if current_user %}

Identity

Change password

{% endif %}

Notification Channels

{% if current_user %}

Click a channel to add or remove it from your alert list.

{% if all_channels %}
Selected
{% for ch in all_channels %} {% if ch.name in (current_user.notification_channels or []) %} {% endif %} {% endfor %} {% set selected_set = current_user.notification_channels or [] %} {% set has_selected = selected_set | length > 0 %} {% if not has_selected %} None selected {% endif %}
Available
{% for ch in all_channels %} {% if ch.name not in (current_user.notification_channels or []) %} {% endif %} {% endfor %}
{% else %}

No notification channels available. You can create your own below.

{% endif %}
{% else %} Log in to manage notification channels. {% endif %}
{% if current_user %}

My Channels

Channels you own. Public channels are available to all users; private channels are visible only to you.

{% set my_channels = all_channels | selectattr('owner', 'equalto', current_user.username) | list %} {% for ch in my_channels %}
{{ ch.name | e }} {{ ch.type | e }} {% if ch.private %}private{% endif %}
{% endfor %} {% if not my_channels %}

No channels yet.

{% endif %}
{% endif %}

Appearance

Theme

Host Access

Owner
{% if owned_hosts %} {% for h in owned_hosts %} {{ h }} {% endfor %} {% else %} None {% endif %}
Manager
{% if managed_hosts %} {% for h in managed_hosts %} {{ h }} {% endfor %} {% else %} None {% endif %}
Monitor
{% if monitored_hosts %} {% for h in monitored_hosts %} {{ h }} {% endfor %} {% else %} None {% endif %}