From 2018e73240c1bc73c5492c8b9acfea28bec95e50 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sun, 30 Apr 2023 10:38:50 +0200 Subject: [PATCH] UI - HTML validation improvements for edit forms (#1553) --- .../templates/_common_fields.jinja | 4 ++-- changedetectionio/templates/base.html | 7 ++----- changedetectionio/templates/diff.html | 8 ++++---- changedetectionio/templates/edit.html | 18 +++++++++--------- changedetectionio/templates/import.html | 2 +- changedetectionio/templates/preview.html | 4 ++-- changedetectionio/templates/settings.html | 6 +++--- .../templates/watch-overview.html | 4 ++-- 8 files changed, 25 insertions(+), 28 deletions(-) diff --git a/changedetectionio/templates/_common_fields.jinja b/changedetectionio/templates/_common_fields.jinja index 4ab4ca4d..0cef1f8f 100644 --- a/changedetectionio/templates/_common_fields.jinja +++ b/changedetectionio/templates/_common_fields.jinja @@ -23,7 +23,7 @@
Send test notification {% if emailprefix %} - Add email + Add email Add an email address {% endif %} Notification debug logs
@@ -115,7 +115,7 @@ URLs generated by changedetection.io (such as {{ '{{diff_url}}' }}) require the BASE_URL environment variable set.
Your BASE_URL var is currently "{{settings_application['current_base_url']}}"
- Warning: Contents of {{ '{{diff}}' }}, {{ '{{diff_removed}}' }}, and {{ '{{diff_added}}' }} depend on how the difference algorithm perceives the change. For example, an addition or removal could be perceived as a change in some cases. More Here
+ Warning: Contents of {{ '{{diff}}' }}, {{ '{{diff_removed}}' }}, and {{ '{{diff_added}}' }} depend on how the difference algorithm perceives the change. For example, an addition or removal could be perceived as a change in some cases. More Here
diff --git a/changedetectionio/templates/base.html b/changedetectionio/templates/base.html index 9cd3a33b..63cddf6e 100644 --- a/changedetectionio/templates/base.html +++ b/changedetectionio/templates/base.html @@ -30,7 +30,7 @@ background-image: url({{url_for('static_content', group='images', filename='gradient-border.png') }}); } - + @@ -143,10 +143,7 @@ {% endif %} {% block content %}{% endblock %} - + diff --git a/changedetectionio/templates/diff.html b/changedetectionio/templates/diff.html index 10236913..22e34901 100644 --- a/changedetectionio/templates/diff.html +++ b/changedetectionio/templates/diff.html @@ -7,7 +7,7 @@ const error_screenshot_url="{{url_for('static_content', group='screenshot', filename=uuid, error_screenshot=1) }}"; {% endif %} - +

Differences

@@ -51,7 +51,7 @@ Jump
- +