takahe/templates/identity/select.html

29 lines
986 B
HTML
Raw Normal View History

2022-11-05 20:17:27 +00:00
{% extends "base.html" %}
2022-11-06 02:10:39 +00:00
{% load static %}
2022-11-05 20:17:27 +00:00
{% block title %}Select Identity{% endblock %}
{% block content %}
2022-11-13 06:21:52 +00:00
{% include "identity/_identity_menu.html" %}
<section class="icon-menu">
2022-11-05 20:17:27 +00:00
{% for identity in identities %}
2022-11-06 02:10:39 +00:00
<a class="option" href="{{ identity.urls.activate }}">
{% if identity.icon_uri %}
2022-11-13 06:21:52 +00:00
<img src="{{ identity.icon_uri }}">
2022-11-06 02:10:39 +00:00
{% else %}
2022-11-13 06:21:52 +00:00
<img src="{% static "img/unknown-icon-128.png" %}">
2022-11-06 02:10:39 +00:00
{% endif %}
2022-11-13 06:21:52 +00:00
<span class="handle">
{{ identity.name_or_handle }}
<small>@{{ identity.handle }}</small>
</span>
2022-11-06 02:10:39 +00:00
</a>
2022-11-05 20:17:27 +00: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 %}