summaryrefslogtreecommitdiff
path: root/searx/templates/preferences.html
blob: 3c2afef212346bdd4a70ba9d612eb2f02abcb920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "base.html" %}
{% block head %} {% endblock %}
{% block content %}
<div class="row">
    <h2>{{ _('Preferences') }}</h2>


    <form method="post" action="/preferences" id="search_form">
    <fieldset>
        <legend>{{ _('Default categories') }}</legend>
        <p>
        {% include 'categories.html' %}
        </p>
    </fieldset>
    <fieldset>
        <legend>{{ _('Interface language') }}</legend>
        <p>
        <select name='locale'>
            {% for locale_id,locale_name in locales.items() %}
            <option value={{ locale_id }} {% if locale_id == current_locale %}selected="selected"{% endif %}>{{ locale_name}}</option>
            {% endfor %}
        </select>
        </p>
    </fieldset>
    <input type="submit" value="{{ _('save') }}" />
    </form>
    <div class="right"><a href="/">{{ _('back') }}</a></div>
</div>
{% endblock %}