From a1e8619b56bfafcac7c5956162af52a8680e8ecd Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Thu, 30 Oct 2025 20:54:56 +0100 Subject: [PATCH] Fix tile selection UI persistence in /tools/check page --- ivatar/tools/templates/check.html | 274 +++++++++++++++++++++++------- 1 file changed, 212 insertions(+), 62 deletions(-) diff --git a/ivatar/tools/templates/check.html b/ivatar/tools/templates/check.html index ab1869f..ec58c58 100644 --- a/ivatar/tools/templates/check.html +++ b/ivatar/tools/templates/check.html @@ -2,6 +2,116 @@ {% load i18n %} {% load static %} +{% block header %} + +{% endblock header %} + {% block title %}{% trans 'Check e-mail or openid' %}{% endblock title %} {% block content %} @@ -11,9 +121,9 @@
{% if form.errors %} - {% for error in form.non_field_errors %} - - {% endfor %} + {% for error in form.non_field_errors %} + + {% endfor %} {% endif %}
@@ -22,68 +132,89 @@
{% if form.mail.value %} - + {% else %} - + {% endif %}
{% if form.openid.value %} - + {% else %} - + {% endif %}
{% if form.size.value %} - + {% else %} - + {% endif %}
{% if form.default_url.value %} - + {% else %} - + {% endif %}
- +
- Retro preview + Retro preview Retro (d=retro)
-
- Roboter preview +
+ Roboter preview Roboter (d=robohash)
-
- Wavatar preview +
+ Wavatar preview Wavatar (d=wavatar)
-
- Monster preview +
+ Monster preview Monster (d=monsterid)
-
- Identicon preview +
+ Identicon preview Identicon (d=identicon)
- Mystery man preview + Mystery man preview Mystery man (d=mm)
- Mystery man NG preview + Mystery man NG preview Mystery man NG (d=mmng)
-
+
None
@@ -105,17 +236,17 @@
{% if mail_hash %} -
- MD5 hash (mail): {{ mail_hash }} -
-
- SHA256 hash (mail): {{ mail_hash256 }} -
+
+ MD5 hash (mail): {{ mail_hash }} +
+
+ SHA256 hash (mail): {{ mail_hash256 }} +
{% endif %} {% if openid_hash %} -
- SHA256 hash (OpenID): {{ openid_hash }} -
+
+ SHA256 hash (OpenID): {{ openid_hash }} +
{% endif %}
@@ -191,43 +322,62 @@ {% if mailurl or openidurl %} {% endif %} {% endblock content %}