hawat.blueprints.hosts.forms module

This module contains custom host search form for Hawat.

class hawat.blueprints.hosts.forms.SimpleHostSearchForm(formdata=<object object>, **kwargs)[source]

Bases: flask_wtf.form.FlaskForm

Class representing simple event timeline search form.

dt_from = <UnboundField(SmartDateTimeField, (l'Detection time from:',), {'validators': [<wtforms.validators.Optional object>]})>
dt_to = <UnboundField(SmartDateTimeField, (l'Detection time to:',), {'validators': [<wtforms.validators.Optional object>]})>
host_addr = <UnboundField(StringField, (l'Host address:',), {'validators': [<wtforms.validators.Required object>, <function check_ip_record>]})>
submit = <UnboundField(SubmitField, (l'Search',), {})>