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

32 lines
1.1 KiB

4 years ago
{% extends 'base.html' %}
{% block content %}
4 years ago
<div class="box">
<form class="pure-form" action="/api/add" method="POST" id="new-watch-form">
4 years ago
<fieldset>
<legend>Add a new change detection watch</legend>
4 years ago
<input type="url" placeholder="https://..." name="url"/>
4 years ago
<input type="text" placeholder="tag" size="10" name="tag" value="{{active_tag if active_tag}}"/>
<button type="submit" class="pure-button pure-button-primary">Watch</button>
4 years ago
</fieldset>
<!-- add extra stuff, like do a http POST and send headers -->
<!-- user/pass r = requests.get('https://api.github.com/user', auth=('user', 'pass')) -->
</form>
<div>
<a href="/" class="pure-button button-tag {{'active' if not active_tag }}">All</a>
{% for tag in tags %}
{% if tag != "" %}
<a href="/?tag={{ tag}}" class="pure-button button-tag {{'active' if active_tag == tag }}">{{ tag }}</a>
{% endif %}
{% endfor %}
</div>
4 years ago
4 years ago
<div id="watch-table-wrapper">
{% block innercontent %}
4 years ago
{% endblock %}
4 years ago
</div>
4 years ago
</div>
{% endblock %}