<html>
<head>
	<title>Times of Nettime</title>
	<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='c3.min.css') }}">
	<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='lestyle.css') }}">
	<script type=text/javascript src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
	<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>
	<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>
		<select form="search" name="field">
			 {% for a in fields %}
			 <option value="{{ a }}">{{ a }}</option>
			 {% endfor %}
		</select>		
		<input type="submit" value="search" id="submit">
		<input type="button" value=" ? " id="info">
		<div id="loading">Loading...</div>
	</form>
	<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>
	<div id="graph"></div>
	<div id="results"></div>
</body>
</html>