solr_manage_intersection_configuration.html
1 <div class="row">
2 <div class="col-xs-12 col-sm-12">
3 <div class="box box-danger">
4 <div class="box-header">
5 <h3 class="box-title">#i18n{search.solr.adminFeature.configuration.intersection.title} <small>#i18n{search.solr.adminFeature.configuration.intersection.description}</small></h3>
6 </div>
7 <div class="box-body">
8 <table class="table table-striped table-hover">
9 <tr>
10 <th>#i18n{search.solr.adminFeature.configuration.intersection.field1}</th>
11 <th>#i18n{search.solr.adminFeature.configuration.intersection.field2}</th>
12 <th>#i18n{search.solr.adminFeature.fields.form.actions}</th>
13 </tr>
14 <#list intersections as intersect>
15 <tr>
16 <form method="get" name="deleteIntersection" action="jsp/admin/search/solr/DoIntersection.jsp" >
17 <input type="hidden" name="field1" value="${intersect.field1.idField}">
18 <input type="hidden" name="field2" value="${intersect.field2.idField}">
19 <td>${intersect.field1.label}</td>
20 <td>${intersect.field2.label}</td>
21 <td>
22 <button class="btn btn-danger btn-xs" type="submit" value="Delete" name="delete">
23 <i class="fa fa-trash"></i>
24 </button>
25 </td>
26 </form>
27 </tr>
28 </#list>
29 <tr>
30 <form method="get" name="addIntersection" action="jsp/admin/search/solr/DoIntersection.jsp" >
31 <td>
32 <select name="field1" class="form-control input-xs">
33 <#list field_list as field>
34 <#if field.isFacet ><option value="${field.idField}">${field.label}</option></#if>
35 </#list>
36 </select>
37 </td>
38 <td>
39 <select name="field2" class="form-control input-xs">
40 <#list field_list as field>
41 <#if field.isFacet ><option value="${field.idField}">${field.label}</option></#if>
42 </#list>
43 </select>
44 </td>
45 <td>
46 <button class="btn btn-primary btn-xs btn-flat" type="submit" name="add" >
47 <i class="fa fa-plus"></i>
48 </button>
49 </td>
50 </form>
51 </tr>
52 </table>
53 </div>
54 </div>
55 </div>
56 </div>