{% extends 'base.html' %} {% block content %} {% from '_helpers.jinja' import render_simple_field %}
Add a new change detection watch {{ render_simple_field(form.url, placeholder="https://...", required=true) }} {{ render_simple_field(form.tag, value=active_tag if active_tag else '', placeholder="watch group") }}
All {% for tag in tags %} {% if tag != "" %} {{ tag }} {% endif %} {% endfor %}
{% for watch in watches %} {% endfor %}
# Last Checked Last Changed
{{ loop.index }} Pause {{watch.title if watch.title is not none and watch.title|length > 0 else watch.url}} {%if watch.fetch_backend == "html_webdriver" %}{% endif %} {% if watch.last_error is defined and watch.last_error != False %}
{{ watch.last_error }}
{% endif %} {% if watch.last_notification_error is defined and watch.last_notification_error != False %}
{{ watch.last_notification_error }}
{% endif %} {% if not active_tag %} {{ watch.tag}} {% endif %}
{{watch|format_last_checked_time}} {% if watch.history|length >= 2 and watch.last_changed %} {{watch.last_changed|format_timestamp_timeago}} {% else %} Not yet {% endif %} {% if watch.uuid in queued_uuids %}Queued{% else %}Recheck{% endif %} Edit {% if watch.history|length >= 2 %} Diff {% else %} {% if watch.history|length == 1 %} Preview {% endif %} {% endif %}
{% endblock %}