takahe/templates/identity/select.html

28 lines
1,010 B
HTML
Raw Normal View History

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