summaryrefslogtreecommitdiffstats
path: root/templates/identity/select.html
blob: 5f73464b6829d5a4da807a6432142e5dae01a31a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "identity/base.html" %}

{% block title %}Select Identity{% endblock %}

{% block content %}
    <section class="icon-menu">
        {% for identity in identities %}
            <a class="option" href="{{ identity.urls.activate }}">
                <img src="{{ identity.local_icon_url.relative }}">
                <span class="handle">
                    {{ identity.html_name_or_handle }}
                    <small>@{{ identity.handle }}</small>
                </span>
            </a>
        {% empty %}
            <p class="option empty">You have no identities.</p>
        {% endfor %}
        <a href="/identity/create/" class="option new">
            <i class="fa-solid fa-plus"></i> Create a new identity
        </a>
        {% if request.identity %}
            <a href="{{ request.identity.urls.view }}" class="option new">
                <i class="fa-solid fa-eye"></i> View current profile page ({{ request.identity.name }})
            </a>
        {% endif %}
    </section>
{% endblock %}