search.html (850B)
- <form id="search" method="{{ method or 'POST' }}" action="{{ url_for('index') }}">
- <div class="search_box">
- <input autofocus id="q" name="q" type="text" placeholder="{{ _('Search for...') }}" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
- <select id="safesearch" name="safesearch">
- <option value="2" {% if safesearch == '2' %}selected="selected"{% endif %}>{{ _('Strict') }}</option>
- <option value="1" {% if safesearch == '1' %}selected="selected"{% endif %}>{{ _('Moderate') }}</option>
- <option value="0" {% if safesearch == '0' %}selected="selected"{% endif %}>{{ _('None') }}</option>
- </select>
- <button id="send_search" type="submit">🔍</button>
- </div>
- <div class="search_filters">
- {% include 'lanodan/languages.html' %}
- {% include 'lanodan/time-range.html' %}
- </div>
- {% include 'lanodan/categories.html' %}
- </form>