add details view for collection & databox; add sphinxconf; add users import & export;

add tests
This commit is contained in:
Nicolas Le Goff
2012-08-14 17:33:11 +02:00
parent b66f9b01f9
commit e62d1e924c
33 changed files with 2372 additions and 2237 deletions

View File

@@ -0,0 +1,19 @@
<form class="well form-inline" method='post' action='/admin/sphinx/configuration/'>
<select name="charset_tables[]" multiple="multiple">
{% for charset, charset_obj in configuration.get_available_charsets() %}
<option value='{{ charset }}' {{ charset in options['charset_tables'] ? "selected='selected'" : "" }}>{{ charset_obj.get_name() }}</option>
{% endfor %}
</select>
<select name="libstemmer[]" multiple="multiple">
{% for stemme in configuration.get_available_libstemmer() %}
<option value='{{ stemme }}' {{ stemme in options['libstemmer'] ? "selected='selected'" : "" }}>{{ stemme }}</option>
{% endfor %}
</select>
<button class='btn btn-primary'>{% trans 'boutton::valider' %}</button>
</form>
<textarea style="width:100%;height:70%">
{{ configuration.get_configuration(options) }}
</textarea>