|
|
@ -1,7 +1,8 @@
|
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
|
|
{% block content %}
|
|
|
|
{% from '_helpers.jinja' import render_simple_field %}
|
|
|
|
{% from '_helpers.jinja' import render_simple_field %}
|
|
|
|
|
|
|
|
<script type="text/javascript" src="{{url_for('static_content', group='js', filename='jquery-3.6.0.min.js')}}"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="{{url_for('static_content', group='js', filename='watch-overview.js')}}" defer></script>
|
|
|
|
<div class="box">
|
|
|
|
<div class="box">
|
|
|
|
|
|
|
|
|
|
|
|
<form class="pure-form" action="{{ url_for('api_watch_add') }}" method="POST" id="new-watch-form">
|
|
|
|
<form class="pure-form" action="{{ url_for('api_watch_add') }}" method="POST" id="new-watch-form">
|
|
|
@ -75,7 +76,7 @@
|
|
|
|
class="pure-button button-small pure-button-primary">Recheck</a>
|
|
|
|
class="pure-button button-small pure-button-primary">Recheck</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</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>
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
{% if watch.history|length == 1 %}
|
|
|
|
{% if watch.history|length == 1 %}
|
|
|
|
<a href="{{ url_for('preview_page', uuid=watch.uuid)}}" target="{{watch.uuid}}" class="pure-button button-small pure-button-primary">Preview</a>
|
|
|
|
<a href="{{ url_for('preview_page', uuid=watch.uuid)}}" target="{{watch.uuid}}" class="pure-button button-small pure-button-primary">Preview</a>
|
|
|
|