2022-11-05 13:17:27 -07:00
|
|
|
{% extends "base.html" %}
|
2022-11-05 19:10:39 -07:00
|
|
|
{% load static %}
|
2022-11-05 13:17:27 -07:00
|
|
|
|
|
|
|
{% block title %}Select Identity{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<section class="modal identities">
|
|
|
|
<h1>Select Identity</h1>
|
|
|
|
{% for identity in identities %}
|
2022-11-05 19:10:39 -07:00
|
|
|
<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 }}
|
2022-11-06 12:48:04 -08:00
|
|
|
<small>@{{ identity.handle }}</small>
|
2022-11-05 19:10:39 -07:00
|
|
|
</a>
|
2022-11-05 13:17:27 -07:00
|
|
|
{% 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>
|
2022-11-05 19:10:39 -07:00
|
|
|
<a href="/auth/logout/" class="option new">
|
|
|
|
<i class="fa-solid fa-right-from-bracket"></i> Logout
|
|
|
|
</a>
|
2022-11-05 13:17:27 -07:00
|
|
|
</section>
|
|
|
|
{% endblock %}
|