takahe/templates/identity/select.html

29 lines
986 B
HTML
Raw Normal View History

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 %}
2022-11-12 22:21:52 -08:00
{% include "identity/_identity_menu.html" %}
<section class="icon-menu">
2022-11-05 13:17:27 -07:00
{% for identity in identities %}
2022-11-05 19:10:39 -07:00
<a class="option" href="{{ identity.urls.activate }}">
{% if identity.icon_uri %}
2022-11-12 22:21:52 -08:00
<img src="{{ identity.icon_uri }}">
2022-11-05 19:10:39 -07:00
{% else %}
2022-11-12 22:21:52 -08:00
<img src="{% static "img/unknown-icon-128.png" %}">
2022-11-05 19:10:39 -07:00
{% endif %}
2022-11-12 22:21:52 -08:00
<span class="handle">
{{ identity.name_or_handle }}
<small>@{{ identity.handle }}</small>
</span>
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>
</section>
{% endblock %}