|
|
@ -46,7 +46,8 @@
|
|
|
|
{% if watch.last_error is defined and watch.last_error != False %}error{% endif %}
|
|
|
|
{% if watch.last_error is defined and watch.last_error != False %}error{% endif %}
|
|
|
|
{% if watch.last_notification_error is defined and watch.last_notification_error != False %}error{% endif %}
|
|
|
|
{% if watch.last_notification_error is defined and watch.last_notification_error != False %}error{% endif %}
|
|
|
|
{% if watch.paused is defined and watch.paused != False %}paused{% endif %}
|
|
|
|
{% if watch.paused is defined and watch.paused != False %}paused{% endif %}
|
|
|
|
{% if watch.newest_history_key| int > watch.last_viewed| int %}unviewed{% endif %}">
|
|
|
|
{% if watch.newest_history_key| int > watch.last_viewed| int %}unviewed{% endif %}
|
|
|
|
|
|
|
|
{% if watch.uuid in queued_uuids %}queued{% endif %}">
|
|
|
|
<td class="inline">{{ loop.index }}</td>
|
|
|
|
<td class="inline">{{ loop.index }}</td>
|
|
|
|
<td class="inline paused-state state-{{watch.paused}}"><a href="{{url_for('index', pause=watch.uuid, tag=active_tag)}}"><img src="{{url_for('static_content', group='images', filename='pause.svg')}}" alt="Pause" title="Pause"/></a></td>
|
|
|
|
<td class="inline paused-state state-{{watch.paused}}"><a href="{{url_for('index', pause=watch.uuid, tag=active_tag)}}"><img src="{{url_for('static_content', group='images', filename='pause.svg')}}" alt="Pause" title="Pause"/></a></td>
|
|
|
|
|
|
|
|
|
|
|
@ -72,8 +73,8 @@
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a href="{{ url_for('api_watch_checknow', uuid=watch.uuid, tag=request.args.get('tag')) }}"
|
|
|
|
<a {% if watch.uuid in queued_uuids %}disabled="true"{% endif %} href="{{ url_for('api_watch_checknow', uuid=watch.uuid, tag=request.args.get('tag')) }}"
|
|
|
|
class="pure-button button-small pure-button-primary">Recheck</a>
|
|
|
|
class="recheck pure-button button-small pure-button-primary">{% if watch.uuid in queued_uuids %}Queued{% else %}Recheck{% endif %}</a>
|
|
|
|
<a href="{{ url_for('edit_page', uuid=watch.uuid)}}" class="pure-button button-small pure-button-primary">Edit</a>
|
|
|
|
<a href="{{ url_for('edit_page', uuid=watch.uuid)}}" class="pure-button button-small pure-button-primary">Edit</a>
|
|
|
|
{% if watch.history|length >= 2 %}
|
|
|
|
{% if watch.history|length >= 2 %}
|
|
|
|
<a href="{{ url_for('diff_history_page', uuid=watch.uuid) }}" target="{{watch.uuid}}" class="pure-button button-small pure-button-primary diff-link">Diff</a>
|
|
|
|
<a href="{{ url_for('diff_history_page', uuid=watch.uuid) }}" target="{{watch.uuid}}" class="pure-button button-small pure-button-primary diff-link">Diff</a>
|
|
|
|