listservs/www/templates/search.html

43 lines
2.3 KiB
HTML
Raw Normal View History

2017-07-27 10:09:33 +02:00
<html>
<head>
2019-07-17 12:55:47 +02:00
<title>Times of Nettime</title>
2017-07-27 16:39:00 +02:00
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='c3.min.css') }}">
2017-07-27 10:09:33 +02:00
<script type=text/javascript src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
2017-07-27 16:39:00 +02:00
<script type="text/javascript" src="{{ url_for('static',filename='d3.min.js') }}" charset="utf-8"></script>
<script type="text/javascript" src="{{ url_for('static',filename='c3.min.js') }}"></script>
2017-07-27 10:09:33 +02:00
<script type=text/javascript src="{{ url_for('static',filename='search.js') }}"></script>
</head>
<body>
<form action="/search" method="get" id="search">
<label>keyword: </label><input type="search" name="keyword">
<select form="search" name="list">
<option value="all">all</option>
{% for a in archives %}
<option value="{{ a }}">{{ a }}</option>
{% endfor %}
</select>
2017-11-06 14:11:18 +01:00
<select form="search" name="field">
{% for a in fields %}
<option value="{{ a }}">{{ a }}</option>
{% endfor %}
</select>
2017-07-27 10:09:33 +02:00
<input type="submit" value="search" id="submit">
2019-07-17 12:55:47 +02:00
<input type="button" value=" ? " id="info">
2017-11-04 13:34:05 +01:00
<div id="loading">Loading...</div>
2017-07-27 10:09:33 +02:00
</form>
2019-07-17 12:55:47 +02:00
<div id="info-search" style="display: none">
<table><tbody><tr><th>Operator</th><th> </th></tr>
<tr><td>+</td><td>The word is mandatory in all text returned.</td></tr>
<tr><td>-</td><td>The word cannot appear in any text returned.</td></tr>
<tr><td>&lt;</td><td>The word that follows has a lower relevance than other words, although text containing it will still match</td></tr>
<tr><td>&gt;</td><td>The word that follows has a higher relevance than other words.</td></tr>
<tr><td>()</td><td>Used to group words into subexpressions.</td></tr>
<tr><td>~</td><td>The word following contributes negatively to the relevance of the text (which is different to the '-' operator, which specifically excludes the word, or the '&lt;' operator, which still causes the word to contribute positively to the relevance of the text.</td></tr>
<tr><td>*</td><td>The wildcard, indicating zero or more characters. It can only appear at the end of a word.</td></tr>
<tr><td>"</td><td>Anything enclosed in the double quotes is taken as a whole (so you can match phrases, for example).</td></tr>
</tbody></table>
</div>
2017-07-27 10:09:33 +02:00
<div id="graph"></div>
<div id="results"></div>
</body>
</html>