-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfullsearch_form.template.html
71 lines (68 loc) · 2.45 KB
/
fullsearch_form.template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<head>
<style>
.result-table td,th {
border: 1px solid black;
border-collapse: collapse;
padding:5px;
}
.result-table {
border: 1px solid black;
border-collapse: collapse;
}
h1 {
color: maroon;
margin-left: 40px;
}
</style>
</head>
<html>
<body>
<form>
<table>
<tbody>
<tr><td><h3>Fulll search form</h3></td></tr>
<tr>
<td>Search criteria</td>
<td><input style="width:600px;" type"text" name="q" value="$q" /></td>
</tr>
<tr>
<td>Output fields</td>
<td><input style="width:600px;" type"text" name="fields" value="$fields" /></td>
</tr>
<tr>
<td>Sort criteria</td>
<td><input style="width:100px;" type"text" name="sort" value="$sort" /></td>
</tr>
<tr>
<td>Max output rows</td>
<td><input style="width:100px;" type"text" name="rows" value="$rows" /></td>
</tr>
<tr>
<td></td>
<td><button type="submit" formmethod="get">Submit</button></td>
</tr>
<tr>
<td>Num found</td>
<td>$numFound</td>
</tr>
<tr>
<td>Output</td>
<table class="result-table">
<tbody>
$resultRows
</tbody>
</table>
</tr>
<tr><td colspan="2">
<h3>Useful links</h3>
<ul>
<li><a target="_blank" href="https://solr.apache.org/guide/8_11/the-standard-query-parser.html">Solr search syntax</href></li>
<li><a target="_blank" href="$scope/static/fields_help.html">Comprehensive description of Cellosaurus cell line fields</href></li>
</ul>
</td></tr>
</tbody>
</table>
</form>
</body>
</html>