Re #42 - custom title (#98)

pull/107/head
dgtlmoon 3 years ago committed by GitHub
parent 59eb83974e
commit a429223858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>

Loading…
Cancel
Save