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/backend/templates/watch-overview.html

42 lines
1.2 KiB

{% extends 'base.html' %}
{% block content %}
<div class="box">
<form class="pure-form" action="/api/add" method="POST">
<fieldset>
<legend>Add new change detection watch</legend>
<input type="url" placeholder="https://..." name="url"/>
<input type="text" placeholder="tag" size="10" name="tag"/>
<button type="submit" class="pure-button pure-button-primary">Save</button>
</fieldset>
</form>
<table class="pure-table pure-table-striped">
<thead>
<tr>
<th>#</th>
<th>URL</th>
<th>Last Checked</th>
<th>Status</th>
<th>op</th>
</tr>
</thead>
<tbody>
{% for watch in watches %}
<tr class="{{ loop.cycle('pure-table-odd', 'pure-table-even') }}">
<td>{{ loop.index }}</td>
<td>{{ watch.url }}</td>
<td>2021/2/2 14:00:00</td>
<td>No Change</td>
<td><button type="submit" class="pure-button pure-button-primary">Recheck</button> <button type="submit" class="pure-button pure-button-primary">Delete</button></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}