summaryrefslogtreecommitdiffstats
path: root/templates/identity/select.html
blob: ea4065c043ec6fe7016b641796d8cfb8effd583d (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
28
29
{% extends "base.html" %}
{% load static %}

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

{% block content %}
    <section class="modal identities">
        <h1>Select Identity</h1>
        {% for identity in identities %}
            <a class="option" href="{{ identity.urls.activate }}">
                {% if identity.icon_uri %}
                    <img src="{{ identity.icon_uri }}" width="32">
                {% else %}
                    <img src="{% static "img/unknown-icon-128.png" %}" width="32">
                {% endif %}
                {{ identity }}
                <small>@{{ identity.handle }}</small>
            </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>
        <a href="/auth/logout/" class="option new">
            <i class="fa-solid fa-right-from-bracket"></i> Logout
        </a>
    </section>
{% endblock %}