You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
changedetection.io/changedetectionio/templates/preview.html

26 lines
862 B

{% extends 'base.html' %}
{% block content %}
<div id="settings">
<h1>Current - {{watch.last_checked|format_timestamp_timeago}}</h1>
</div>
<div id="diff-ui">
<span class="ignored">Grey lines are ignored</span> <span class="triggered">Blue lines are triggers</span>
<table>
<tbody>
<tr>
<td id="diff-col">
{% for row in content %}
{% set classes = [] %}
{% if (loop.index in ignored_line_numbers) %}{{ classes.append("ignored") }}{% endif %}
{% if (loop.index in triggered_line_numbers) %}{{ classes.append("triggered") }}{% endif %}
<div class="{{ classes|join(' ') }}">{{row}}</div>
{% endfor %}
</td>
</tr>
</tbody>
</table>
</div>
{% endblock %}