-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbrowse.html
131 lines (131 loc) · 7.23 KB
/
browse.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<div data-template="templates:surround" data-template-with="template.html" data-template-at="content">
<form action="search.html" class="form form-horizontal">
<div class="col-md-3 col-md-push-9">
<h5>Search</h5>
<div class="well well-sm">
<div class="form-group">
<div class="col-md-12 col-xs-12">
<span class="input-group">
<input name="query" type="search" class="templates:form-control form-control" placeholder="Search For What?"/>
<span class="input-group-btn">
<button id="f-btn-search" type="submit" class="btn btn-primary">
<span class="glyphicon glyphicon-search"/>
</button>
</span>
</span>
<input type="hidden" name="field" value="text"/>
</div>
</div>
<div class="form-group" data-toggle="tooltip" data-placement="left" title="Search With Which Scripts?">
<div class="col-md-12 col-xs-12">
<select name="query-scripts" class="form-control" data-template="templates:form-control">
<option value="all" selected="selected">With Devanagari and IAST</option>
<option value="sa-Deva">With Devanagari</option>
<option value="sa-Latn">With IAST</option>
</select>
</div>
</div>
<div class="form-group" data-toggle="tooltip" data-placement="left" title="Use Which Index?">
<div class="col-md-12 col-xs-12">
<select name="index" class="form-control" data-template="templates:form-control">
<option value="ngram" selected="selected">Use NGram Index</option>
<option value="lucene">Use Lucene Full-Text Index</option>
</select>
</div>
</div>
<div class="form-group" data-toggle="tooltip" data-placement="left" title="Search Which Document Part?">
<div class="col-md-12 col-xs-12">
<select multiple="multiple" name="tei-target" class="form-control" data-template="templates:form-control">
<option value="tei-text" selected="selected">Search TEI Text</option>
<option value="tei-header">Search TEI Header</option>
</select>
</div>
</div>
<div class="form-group" data-toggle="tooltip" data-placement="left" title="Search In Texts By Which Authors?">
<div class="col-md-12 col-xs-12">
<span class="app:work-authors"/>
</div>
</div>
<div class="form-group" data-toggle="tooltip" data-placement="left" title="Search Narrowly Or Broadly?">
<div class="col-md-12 col-xs-12">
<select name="query-scope" class="form-control" data-template="templates:form-control">
<option value="narrow" selected="selected">Perform Narrow Search</option>
<option value="broad">Perform Broad Search</option>
</select>
</div>
</div>
<div id="bool-selection" class="form-group" data-toggle="tooltip" data-placement="left" title="Perform New Search or Continue Last Search?">
<div class="col-md-12 col-xs-12">
<select name="bool" class="form-control" data-template="templates:form-control">
<option value="new" selected="selected">Perform New Search</option>
<option value="and">AND Last Search</option>
<option value="or">OR Last Search</option>
<option value="not">NOT Last Search</option>
</select>
</div>
</div>
<div>The automatic conversion of scripts does not handle wildcards reliably. In order to get the expected results please input the search term in IAST to look for words in texts encoded in Roman script and use Devanāgarī for texts encoded in Devanāgarī.</div>
</div>
</div>
<div class="col-md-9 col-md-pull-3">
<h5>List of Works</h5><span data-template="app:statistics" />
<table class="toc table">
<thead>
<tr>
<th/>
<th>Title</th>
<th>Author</th>
<th>Script</th>
<th>Download</th>
<th>Open</th>
</tr>
</thead>
<tbody data-template="app:list-works">
<tr data-template="templates:each" data-template-from="works" data-template-to="work">
<td>
<input type="checkbox" name="target-texts" data-template="app:checkbox"/>
</td>
<td>
<a href="" data-template="app:work-title"/>
</td>
<td>
<a href="" data-template="app:work-author"/>
</td>
<td class="work-type">
<a href="" data-template="app:work-lang"/>
</td>
<td>
<a href="" data-template="app:epub-link">epub</a>,
<a href="" data-template="app:pdf-link">pdf</a>,
<a href="" data-template="app:zip-link">xml</a>
</td>
<td>
<a href="" data-template="app:xml-link">xml</a>
</td>
</tr>
</tbody>
</table>
</div>
</form>
<div class="modal fade" id="pdf-info">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span class="fa fa-times" aria-hidden="true"/>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title">Generating PDF</h4>
</div>
<div class="modal-body">
<p>Generating a PDF may take up to a few minutes. Please wait.</p>
<p>This dialog should close automatically when the download has completed.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">
<i class="glyphicon glyphicon-remove"/> Close</button>
</div>
</div>
</div>
</div>
</div>