kopia lustrzana https://github.com/dgtlmoon/changedetection.io
41 wiersze
1.2 KiB
HTML
41 wiersze
1.2 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
<div class="edit-form">
|
|
|
|
|
|
<form class="pure-form pure-form-aligned" action="/api/update?uuid={{uuid}}" method="POST">
|
|
<fieldset>
|
|
<div class="pure-control-group">
|
|
<label for="url">URL</label>
|
|
<input type="url" id="url" required="" placeholder="https://..." name="url" value="{{ watch.url}}"
|
|
size="50"/>
|
|
<span class="pure-form-message-inline">This is a required field.</span>
|
|
</div>
|
|
<div class="pure-control-group">
|
|
<label for="tag">Tag</label>
|
|
<input type="text" placeholder="tag" size="10" id="tag" name="tag" value="{{ watch.tag}}"/>
|
|
</div>
|
|
|
|
<div class="pure-controls">
|
|
<button type="submit" class="pure-button pure-button-primary">Submit</button>
|
|
</div>
|
|
|
|
<div class="pure-controls">
|
|
|
|
|
|
<a href="/" class="pure-button button-small button-cancel">Cancel</a>
|
|
<a href="/api/delete?uuid={{uuid}}"
|
|
class="pure-button button-small button-error ">Delete</a>
|
|
|
|
</div>
|
|
|
|
|
|
</fieldset>
|
|
</form>
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|