mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
add details view for collection & databox; add sphinxconf; add users import & export;
add tests
This commit is contained in:
19
templates/web/admin/sphinx/configuration.html.twig
Normal file
19
templates/web/admin/sphinx/configuration.html.twig
Normal 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>
|
Reference in New Issue
Block a user