modified: serp.py new file: templates/about.html.j2 new file: templates/base.html.j2 new file: templates/crawl.html.j2 new file: templates/import.html.j2 new file: templates/live.html.j2 new file: templates/partials/search_box.html.j2 new file: templates/phantom.html.j2 new file: templates/search.html.j2 new file: templates/view.html.j2
10 lines
434 B
Django/Jinja
10 lines
434 B
Django/Jinja
<form class="search-box" action="/" method="get">
|
|
<input type="text" name="q" placeholder="{{ t.search_placeholder }}">
|
|
<select name="type">
|
|
<option value="">{{ t.all_types }}</option>
|
|
<option value="image">{{ t.images }}</option>
|
|
<option value="video">{{ t.videos }}</option>
|
|
<option value="audio">{{ t.audio }}</option>
|
|
</select>
|
|
<button type="submit">{{ t.search }}</button>
|
|
</form>
|