takahe/templates/identity/select.html

28 lines
1010 B
HTML
Raw Normal View History

2022-11-17 16:43:00 -08:00
{% extends "identity/base.html" %}
2022-11-05 13:17:27 -07:00
{% block title %}Select Identity{% endblock %}
{% block content %}
2022-11-12 22:21:52 -08:00
<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 }}">
2022-11-17 16:43:00 -08:00
<img src="{{ identity.local_icon_url }}">
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>
2022-12-05 18:37:48 -08:00
{% 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 %}
2022-11-05 13:17:27 -07:00
</section>
{% endblock %}