mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 12:31:25 +01:00
30 lines
879 B
HTML
30 lines
879 B
HTML
{% 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 %}
|