diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-20 18:50:40 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-20 18:50:40 -0400 |
| commit | dd75fe985cdef75a78ef7606586993b09a60ee8e (patch) | |
| tree | 461c315175dca2c4c4ea5cdb7186e4f21621fe63 /templates/search_form.html | |
| parent | d31be1958de76e5cabc14ddd410287055b6dac0c (diff) | |
Public search form
Diffstat (limited to 'templates/search_form.html')
| -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..16b5d4af --- /dev/null +++ b/templates/search_form.html @@ -0,0 +1,19 @@ +<div class="ban"> + <h2>Search</h2> + <form style="display:inline" action="" method="post"> + <p> + <label style="display:inline" for="search">Phrase:</label> + <input id="search" name="search" type="text" size="55" value="{{ search }}"> + <select name="board"> + <option value="none">Select board…</option> + {% for b in boards %} + <option value="{{ b }}"{% if b == board %} selected{% endif %}>/{{ b }}/</option> + {% endfor %} + </select> + <input type="submit" value="Search" /> + </p> + </form> + <p style="font-size:8pt;margin:5px"> + 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. + </p> +</div> |
