takahe/templates/identity/select.html

24 lines
904 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 }}">
<img src="{{ identity.local_icon_url.relative }}">
2022-11-12 22:21:52 -08:00
<span class="handle">
2022-12-14 23:50:54 -08:00
{{ identity.html_name_or_handle }}
2022-11-12 22:21:52 -08:00
<small>@{{ identity.handle }}</small>
</span>
<button class="right secondary" _="on click go to url {{ identity.urls.view }} then halt">View</button>
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 %}
2023-01-14 09:32:48 -08:00
<a href="{% url "identity_create" %}" class="option new">
2022-11-05 13:17:27 -07:00
<i class="fa-solid fa-plus"></i> Create a new identity
</a>
</section>
{% endblock %}