hawat.blueprints.hosts.forms module
This module contains custom host search form for Hawat.
- class hawat.blueprints.hosts.forms.SimpleHostSearchForm(*args, **kwargs)[source]
Bases:
FlaskForm
Class representing simple event timeline search form.
- dt_from = <UnboundField(SmartDateTimeField, (l'Detection time from:',), {'validators': [<wtforms.validators.Optional object>], 'default': <function SimpleHostSearchForm.<lambda>>})>
- dt_to = <UnboundField(SmartDateTimeField, (l'Detection time to:',), {'validators': [<wtforms.validators.Optional object>], 'default': <function default_dt>})>
- host_addr = <UnboundField(StringField, (l'Host address:',), {'validators': [<wtforms.validators.DataRequired object>, <function check_ip_record>]})>
- submit = <UnboundField(SubmitField, (l'Search',), {})>