-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
83 lines (82 loc) · 4.89 KB
/
search.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
<?xml version="1.0" encoding="UTF-8"?>
<div data-template="templates:surround" data-template-with="templates/page.html" data-template-at="content">
<div data-template="templates:include" data-template-path="templates/menu.html"/>
<section class="container-fluid">
<header class="row">
<div class="col-md-12">
<div class="page-header">
<h1 data-template="config:app-title"/>
</div>
</div>
</header>
<main xmlns:i18n="http://exist-db.org/xquery/i18n" class="row search">
<div class="col-md-3 col-md-push-9">
<form action="search.html" class="form form-horizontal">
<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 typeahead-search" placeholder="Search For What?" autocomplete="off"/>
<span class="input-group-btn">
<button id="f-btn-search" type="submit" class="btn btn-primary">
<span class="material-icons">search</span>
</button>
</span>
</span>
<input type="hidden" name="field" value="text"/>
</div>
</div>
<div class="form-group" data-toggle="tooltip" data-placement="left" title="i18n(search-part)">
<div class="col-md-12 col-xs-12">
<select name="tei-target" class="form-control" data-template="templates:form-control">
<option value="tei-text" selected="selected">
<i18n:text key="search-sections"/>
</option>
<option value="tei-head">
<i18n:text key="search-headings"/>
</option>
</select>
</div>
</div>
</div>
</form>
</div>
<div class="col-md-9 col-md-pull-3">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<i18n:text key="search-results">Search Results</i18n:text>
</h3>
</div>
<div class="panel-body">
<div class="search:query">
<p class="main-content">
<i18n:text key="found">Found</i18n:text>: <span id="hit-count" data-template="browse:hit-count"/>
</p><!-- pagination for small device -->
<div class="hidden-md hidden-lg hidden-sm">
<ul class="pagination" data-template="browse:paginate" data-template-per-page="20" data-template-max-pages="5" data-template-min-hits="21"/>
</div><!-- pagination for larger device -->
<div class="hidden-xs">
<ul class="pagination" data-template="browse:paginate" data-template-per-page="20" data-template-max-pages="9" data-template-min-hits="21"/>
</div><!-- query results -->
<table id="results" class="col-md-12 table">
<colgroup>
<col class="previous"/>
<col class="hi"/>
<col class="next"/>
</colgroup>
<tbody data-template="search:show-hits" data-template-per-page="20"/>
</table><!-- bottom pagination for small device -->
<div class="hidden-md hidden-lg hidden-sm">
<ul class="pagination" data-template="browse:paginate" data-template-per-page="20" data-template-max-pages="5" data-template-min-hits="21"/>
</div><!-- bottom pagination for larger device -->
<div class="hidden-xs">
<ul class="pagination" data-template="browse:paginate" data-template-per-page="20" data-template-max-pages="9" data-template-min-hits="21"/>
</div>
</div>
</div>
</div>
</div>
</main>
</section>
</div>