From d6a6ef2c1deba8d531c4174d458152696035bf5e Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 29 Dec 2021 23:37:04 +0100 Subject: [PATCH] Unify Filters and Triggers tabs into a single tab --- changedetectionio/templates/edit.html | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/changedetectionio/templates/edit.html b/changedetectionio/templates/edit.html index aeb8c614..f30c0705 100644 --- a/changedetectionio/templates/edit.html +++ b/changedetectionio/templates/edit.html @@ -10,9 +10,8 @@ @@ -52,13 +51,16 @@
{{ render_field(form.fetch_backend) }} -

Use the Basic method (default) where your watched sites don't need Javascript to render.

+

Use the Basic method (default) where your watched site doesn't need Javascript to render.

The Chrome/Javascript method requires a network connection to a running WebDriver+Chrome server, set by the ENV var 'WEBDRIVER_URL'.

- Note: Request Headers and Body settings are ONLY used by Basic fast Plaintext/HTTP Client. +
+ {{ render_field(form.method) }} +
+ Note: Request Headers and Body settings are ONLY used by Basic fast Plaintext/HTTP Client fetch method. {{ render_field(form.headers, rows=5, placeholder="Example Cookie: foobar User-Agent: wonderbra 1.0") }} @@ -71,9 +73,7 @@ User-Agent: wonderbra 1.0") }} \"car\":null }") }} -
- {{ render_field(form.method) }} -
+
@@ -85,7 +85,7 @@ User-Agent: wonderbra 1.0") }}
-
+
{{ render_field(form.css_filter, placeholder=".class-name or #some-id, or other CSS selector rule.", @@ -112,9 +112,6 @@ User-Agent: wonderbra 1.0") }}
-
- -
{{ render_field(form.trigger_text, rows=5, placeholder="Some text to wait for in a line @@ -127,6 +124,7 @@ User-Agent: wonderbra 1.0") }}
+