From: Benoît Pin <pin@cri.ensmp.fr> Date: Mon, 21 Jul 2014 14:01:54 +0000 (+0200) Subject: Ajout formulaire de configuration des indexes Solr. X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/7605edef0b1cb8ee9ecf72d38e301e8977168b86 Ajout formulaire de configuration des indexes Solr. --- diff --git a/www/manage_solr.zpt b/www/manage_solr.zpt new file mode 100644 index 0000000..3903698 --- /dev/null +++ b/www/manage_solr.zpt @@ -0,0 +1,18 @@ +<tal:header tal:replace="structure here/manage_page_header">header</tal:header> +<tal:tabs tal:replace="structure here/manage_tabs">tabs</tal:tabs> +<div i18n:domain="plinn"> + <h3 i18n:translate="">Configure Solr delegated indexes</h3> + <p class="form-help" i18n:translate=""> + Enter names of indexes to delegate to Solr. + One per line. + </p> + <form action="." method="post" tal:attributes="action here/absolute_url"> + <textarea name="indexes:lines" cols="40" rows="24" + tal:content="python:'\n'.join(here.getDelegatedIndexes())"> + </textarea><br/> + <input type="submit" name="setDelegatedIndexes:method" value="Save" i18n:attributes="value" /> + </form> +</div> +<tal:footer tal:replace="structure here/manage_page_footer">footer</tal:footer> + +