diff options
| author | czaks <marcin@6irc.net> | 2013-07-20 22:33:56 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-20 22:33:56 -0400 |
| commit | 33c7abf11f3a9b5c0964a2d7a25533c2849dbc78 (patch) | |
| tree | e585c2ce1ad8c3febf084ee3452ad412f6926dea /templates | |
| parent | bc1bc9f6ef08d778b7218e86ea00f43c1d9bce81 (diff) | |
| parent | 3596e429bfcb65b42b8406f858aac290a7fba82b (diff) | |
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/search_form.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/search_form.html b/templates/search_form.html new file mode 100644 index 00000000..4c8bd077 --- /dev/null +++ b/templates/search_form.html @@ -0,0 +1,19 @@ +<div class="ban"> + <h2>{% trans %}Search{% endtrans %}</h2> + <form style="display:inline" action="" method="get"> + <p> + <label style="display:inline" for="search">{% trans %}Phrase:{% endtrans %}</label> + <input id="search" name="search" type="text" size="40" value="{{ search }}"> + <select name="board"> + <option value="none">{% trans %}Select board{% endtrans %}…</option> + {% for b in boards %} + <option value="{{ b }}"{% if b == board %} selected{% endif %}>/{{ b }}/</option> + {% endfor %} + </select> + <input type="submit" value="{% trans %}Search{% endtrans %}" /> + </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 %} + </p> +</div> |
