From 911d43bddcaaa50cb09425b9fc0875e3c3c5805d Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Fri, 8 Oct 2021 22:31:31 +1100 Subject: [PATCH] wrong password now has close button looking consistent AND actually closes alert --- TODO | 5 ++--- templates/login.html | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index 46494f1..f674c8c 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,8 @@ ## GENERAL * move all unsorted photos/* -> import/ TEST: moving over the top of same dir name (what does this do to FS content) - FIX: BUG-69 + -- I think the AddDir()'s should be finding existing ones, but maybe are adding? + FIX: BUG-69 TEST: what if we try to move a path in settings, should not allow this? * when we do a legitimate move of a file, update last_scanned_dt otherwise FS change is newer, and it will 're-scan' @@ -11,8 +12,6 @@ * put a delete option on viewer page - * close button on invalid password should look like danger/alert/close for jobs - * metadata at folder level with file level to add more richness * why .xcf is seen as a video??? diff --git a/templates/login.html b/templates/login.html index 8eefb3c..9f7eaa7 100644 --- a/templates/login.html +++ b/templates/login.html @@ -27,7 +27,10 @@
{% if form.errors|length > 0 %}
- + + {% set last_err = namespace(txt="") %} {% for e in form.errors %} {% if last_err.txt != form.errors[e] %} @@ -37,9 +40,6 @@ {% set last_err.txt=form.errors[e] %} {% endif %} {% endfor %} -
{% endif %}