diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index 194729c7c..49bcc387d 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -1004,7 +1004,7 @@ def changedetection_app(config=None, datastore_o=None): @app.route("/api/add", methods=['POST']) @login_required - def api_watch_add(): + def form_watch_add(): from changedetectionio import forms form = forms.quickWatchForm(request.form) @@ -1030,7 +1030,7 @@ def changedetection_app(config=None, datastore_o=None): @app.route("/api/delete", methods=['GET']) @login_required - def api_delete(): + def form_delete(): uuid = request.args.get('uuid') if uuid != 'all' and not uuid in datastore.data['watching'].keys(): @@ -1047,7 +1047,7 @@ def changedetection_app(config=None, datastore_o=None): @app.route("/api/clone", methods=['GET']) @login_required - def api_clone(): + def form_clone(): uuid = request.args.get('uuid') # More for testing, possible to return the first/only if uuid == 'first': @@ -1061,7 +1061,7 @@ def changedetection_app(config=None, datastore_o=None): @app.route("/api/checknow", methods=['GET']) @login_required - def api_watch_checknow(): + def form_watch_checknow(): tag = request.args.get('tag') uuid = request.args.get('uuid') @@ -1098,7 +1098,7 @@ def changedetection_app(config=None, datastore_o=None): @app.route("/api/share-url", methods=['GET']) @login_required - def api_share_put_watch(): + def form_share_put_watch(): """Given a watch UUID, upload the info and return a share-link the share-link can be imported/added""" import requests diff --git a/changedetectionio/templates/edit.html b/changedetectionio/templates/edit.html index 231072969..17ad6eb71 100644 --- a/changedetectionio/templates/edit.html +++ b/changedetectionio/templates/edit.html @@ -199,9 +199,9 @@ nav {{ render_button(form.save_button) }} {{ render_button(form.save_and_preview_button) }} - Delete - Create Copy diff --git a/changedetectionio/templates/watch-overview.html b/changedetectionio/templates/watch-overview.html index 9d0e0cb38..1f37d5bc0 100644 --- a/changedetectionio/templates/watch-overview.html +++ b/changedetectionio/templates/watch-overview.html @@ -5,7 +5,7 @@
-
+
Add a new change detection watch @@ -52,7 +52,7 @@ {{watch.title if watch.title is not none and watch.title|length > 0 else watch.url}} - + {%if watch.fetch_backend == "html_webdriver" %}{% endif %} @@ -74,7 +74,7 @@ {% endif %} - {% if watch.uuid in queued_uuids %}Queued{% else %}Recheck{% endif %} Edit {% if watch.history|length >= 2 %} @@ -96,7 +96,7 @@ {% endif %}
  • - Recheck + Recheck all {% if active_tag%}in "{{active_tag}}"{%endif%}