From e37467f6497b544545e437d8380348d8bc28560c Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 19 Feb 2025 10:44:54 +0100 Subject: [PATCH] UI - More W3C HTML validation fixes --- changedetectionio/forms.py | 2 +- changedetectionio/static/images/copy.svg | 2 +- changedetectionio/static/images/email.svg | 2 +- changedetectionio/static/images/schedule.svg | 2 +- changedetectionio/templates/_common_fields.html | 2 +- changedetectionio/templates/edit.html | 4 ++-- changedetectionio/templates/svgs/search-icon.svg | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/changedetectionio/forms.py b/changedetectionio/forms.py index 11792d62..d4b8e342 100644 --- a/changedetectionio/forms.py +++ b/changedetectionio/forms.py @@ -171,7 +171,7 @@ class validateTimeZoneName(object): class ScheduleLimitDaySubForm(Form): enabled = BooleanField("not set", default=True) - start_time = TimeStringField("Start At", default="00:00", render_kw={"placeholder": "HH:MM"}, validators=[validators.Optional()]) + start_time = TimeStringField("Start At", default="00:00", validators=[validators.Optional()]) duration = FormField(TimeDurationForm, label="Run duration") class ScheduleLimitForm(Form): diff --git a/changedetectionio/static/images/copy.svg b/changedetectionio/static/images/copy.svg index e3f79157..b2758f60 100644 --- a/changedetectionio/static/images/copy.svg +++ b/changedetectionio/static/images/copy.svg @@ -1,7 +1,7 @@
{{ render_field(form.notification_body , rows=5, class="notification-body", placeholder=settings_application['notification_body']) }} - Body for all notifications ‐ You can use Jinja2 templating in the notification title, body and URL, and tokens from below. + Body for all notifications ‐ You can use Jinja2 templating in the notification title, body and URL, and tokens from below.
diff --git a/changedetectionio/templates/edit.html b/changedetectionio/templates/edit.html index 2560cf66..03b9aec3 100644 --- a/changedetectionio/templates/edit.html +++ b/changedetectionio/templates/edit.html @@ -40,7 +40,7 @@