<?xml version="1.0" encoding="UTF-8"?>
<?python
  import template
?>
<html xmlns:py="http://purl.org/kid/ns#"
      py:layout="template">

<div py:def="body(_)">
<form action="index.kid">
<table style="width: 50%">
<tr py:if="'A' in PERMS">
  <td>${_('Recipient:')}</td><td><input type="text" name="recipient"/></td>
</tr>
<tr><td>${_('Sender:')}</td><td><input type="text" name="sender"/></td></tr>
<tr><td>${_('Virus name:')}</td><td><input type="text" name="virname"/></td></tr>
<tr><td>${_('Action:')}</td><td><input type="text" name="status" value="!SENT"/></td></tr>
<tr><td>${_('Date begins:')}</td><td><input type="text" name="begin"/></td></tr>
<tr><td>${_('Date ends:')}</td><td><input type="text" name="end"/></td></tr>
<tr>
  <td colspan="2" style="text-align: center">
    <input type="submit" value="${_('Search')}"/></td>
</tr>
<tr><td colspan="2"><hr/>
<pre>
${_("""You can use exclamation mark ('!') at beginning of sender
or virus name, if you want to negotiate this expression.
For example if you want find all viruses (not spams),
you can use in virus name: !SPAM
Dates can be defined in standard SQL format, for example:
'2007-01-20' or '2007-01-20 10:30:00'.
You also can use "_" and "%" SQL wildcards.""")}
</pre>
</td></tr>
</table>
</form>
</div>

</html>
