Ajout formulaire de configuration des indexes Solr.
authorBenoît Pin <pin@cri.ensmp.fr>
Mon, 21 Jul 2014 14:01:54 +0000 (16:01 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Mon, 21 Jul 2014 14:01:54 +0000 (16:01 +0200)
www/manage_solr.zpt [new file with mode: 0644]

diff --git a/www/manage_solr.zpt b/www/manage_solr.zpt
new file mode 100644 (file)
index 0000000..3903698
--- /dev/null
@@ -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>
+
+