kopia lustrzana https://github.com/dgtlmoon/changedetection.io
rodzic
59eb83974e
commit
a429223858
|
@ -378,6 +378,7 @@ def changedetection_app(config=None, datastore_o=None):
|
|||
if request.method == 'POST' and form.validate():
|
||||
update_obj = {'url': form.url.data.strip(),
|
||||
'tag': form.tag.data.strip(),
|
||||
'title': form.title.data.strip(),
|
||||
'headers': form.headers.data
|
||||
}
|
||||
|
||||
|
|
|
@ -111,6 +111,7 @@ class watchForm(Form):
|
|||
minutes_between_check = html5.IntegerField('Maximum time in minutes until recheck',
|
||||
[validators.Optional(), validators.NumberRange(min=1)])
|
||||
css_filter = StringField('CSS Filter')
|
||||
title = StringField('Title')
|
||||
|
||||
ignore_text = StringListField('Ignore Text', [ListRegex()])
|
||||
notification_urls = StringListField('Notification URL List')
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
<div class="pure-control-group">
|
||||
{{ render_field(form.url, placeholder="https://...", size=30, required=true) }}
|
||||
</div>
|
||||
<div class="pure-control-group">
|
||||
{{ render_field(form.title, size=30) }}
|
||||
</div>
|
||||
<div class="pure-control-group">
|
||||
{{ render_field(form.tag, size=10) }}
|
||||
</div>
|
||||
|
|
Ładowanie…
Reference in New Issue