This repository has been archived on 2023-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
takahe/templates/identity/select.html
2022-12-05 19:37:48 -07:00

28 lines
1010 B
HTML

{% extends "identity/base.html" %}
{% block title %}Select Identity{% endblock %}
{% block content %}
<section class="icon-menu">
{% for identity in identities %}
<a class="option" href="{{ identity.urls.activate }}">
<img src="{{ identity.local_icon_url }}">
<span class="handle">
{{ identity.name_or_handle }}
<small>@{{ identity.handle }}</small>
</span>
</a>
{% 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>
{% 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 %}
</section>
{% endblock %}