diff options
Diffstat (limited to 'templates/identity')
-rw-r--r-- | templates/identity/create.html | 12 | ||||
-rw-r--r-- | templates/identity/select.html | 17 | ||||
-rw-r--r-- | templates/identity/view.html | 13 |
3 files changed, 42 insertions, 0 deletions
diff --git a/templates/identity/create.html b/templates/identity/create.html new file mode 100644 index 0000000..cbf0fb2 --- /dev/null +++ b/templates/identity/create.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% load crispy_forms_tags %} + +{% block title %}Create Identity{% endblock %} + +{% block content %} + <section class="modal identities"> + <h1>Create Identity</h1> + {% crispy form form.helper %} + </section> +{% endblock %} diff --git a/templates/identity/select.html b/templates/identity/select.html new file mode 100644 index 0000000..f5be401 --- /dev/null +++ b/templates/identity/select.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{% block title %}Select Identity{% endblock %} + +{% block content %} + <section class="modal identities"> + <h1>Select Identity</h1> + {% for identity in identities %} + <a class="option" href="{{ identity.urls.activate }}">{{ identity }}</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> + </section> +{% endblock %} diff --git a/templates/identity/view.html b/templates/identity/view.html new file mode 100644 index 0000000..f0a8a02 --- /dev/null +++ b/templates/identity/view.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} + +{% block title %}{{ identity }}{% endblock %} + +{% block content %} + <h1>{{ identity }} <small>{{ identity.handle }}</small></h1> + + {% for status in statuses %} + {% include "statuses/_status.html" %} + {% empty %} + No statuses yet. + {% endfor %} +{% endblock %} |