Back to Changedetection Io

Preview

changedetectionio/blueprint/ui/templates/preview.html

0.55.31.6 KB
Original Source

{% extends 'base.html' %} {% from '_helpers.html' import highlight_trigger_ignored_explainer %} {% block content %} {% if versions|length >= 2 %}

{{ _('Select timestamp') }} {% for version in versions|reverse %} {{ version }} {% endfor %} {{ _('Go') }}
{{ _('Keyboard:') }} ← {{ _('Previous') }} → {{ _('Next') }} {% endif %}

{% if last_error_text %} - {{ _('Error Text') }} {% endif %} {% if last_error_screenshot %} - {{ _('Error Screenshot') }} {% endif %} {% if history_n > 0 %} - {{ _('Text') }}

{{ watch.error_text_ctime|format_seconds_ago }} {{ _('seconds ago') }}

{{ last_error_text }}

{{ watch.snapshot_error_screenshot_ctime|format_seconds_ago }} {{ _('seconds ago') }} !{{ _('Current erroring screenshot from most recent request') }}

{{ highlight_trigger_ignored_explainer() }} {{ current_version|format_timestamp_timeago }}

{{ content| diff_unescape_difference_spans }}

{{ _('For now, Differences are performed on text, not graphically, only the latest screenshot is available.') }}

{% if capabilities.supports_screenshots %} {% if screenshot %} {{ watch.snapshot_screenshot_ctime|format_timestamp_timeago }} !{{ _('Current screenshot from most recent request') }} {% else %} {{ _('No screenshot available just yet! Try rechecking the page.') }} {% endif %} {% else %} {{ _('Screenshot requires a Content Fetcher ( Sockpuppetbrowser, selenium, etc ) that supports screenshots.') }} {% endif %}

{% endblock %}