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

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