lainchan/templates/search_form.html

25 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2013-07-20 18:50:40 -04:00
<div class="ban">
<h2>{% trans %}Search{% endtrans %}</h2>
<form style="display:inline" action="" method="get">
2013-07-20 18:50:40 -04:00
<p>
<label style="display:inline" for="search">{% trans %}Phrase:{% endtrans %}</label>
<input id="search" name="search" type="text" size="40" value="{{ search }}">
2013-07-20 18:50:40 -04:00
<select name="board">
<option value="none">{% trans %}Select board{% endtrans %}&hellip;</option>
{% for b2 in boards %}
{% if b2 == b %}
<option value="{{ b2 }}" selected>/{{ b2 }}/</option>
{% else %}
<option value="{{ b2 }}">/{{ b2 }}/</option>
{% endif %}
2013-07-20 18:50:40 -04:00
{% endfor %}
</select>
2013-07-20 20:41:54 -04:00
<input type="submit" value="{% trans %}Search{% endtrans %}" />
2013-07-20 18:50:40 -04:00
</p>
</form>
<p style="font-size:8pt;margin:5px">
{% trans %}Search is case-insensitive and based on keywords. To match exact phrases, use "quotes". Use an asterisk (*) for wildcard.</p><p style="font-size:8pt;margin:5px">You may apply the following filters to your searches: <strong>id</strong>, <strong>thread</strong>, <strong>subject</strong>, and <strong>name</strong>. To apply a filter, simply add to your query, for example, <em>name:Anonymous</em> or <em>subject:"Some Thread"</em>. Wildcards cannot be used in filters.{% endtrans %}
2013-07-20 18:50:40 -04:00
</p>
</div>