-
Notifications
You must be signed in to change notification settings - Fork 76
/
ca_objects_advanced_search_objects_html.php
68 lines (60 loc) · 2.39 KB
/
ca_objects_advanced_search_objects_html.php
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
<div class="row">
<div class="col-sm-8 " style='border-right:1px solid #ddd;'>
<h1>Objects Advanced Search</h1>
<?php
print "<p>Enter your search terms in the fields below.</p>";
?>
{{{form}}}
<div class='advancedContainer'>
<div class='row'>
<div class="advancedSearchField col-sm-12">
<span class='formLabel' data-toggle="popover" data-trigger="hover" data-content="Search across all fields in the database.">Keyword</span>
{{{_fulltext%width=200px&height=1}}}
</div>
</div>
<div class='row'>
<div class="advancedSearchField col-sm-12">
<span class='formLabel' data-toggle="popover" data-trigger="hover" data-content="Limit your search to Object Titles only.">Title</span>
{{{ca_objects.preferred_labels.name%width=220px}}}
</div>
</div>
<div class='row'>
<div class="advancedSearchField col-sm-6">
<span class='formLabel' data-toggle="popover" data-trigger="hover" data-content="Search object identifiers.">Accession number</span>
{{{ca_objects.idno%width=210px}}}
</div>
<div class="advancedSearchField col-sm-6">
<span class='formLabel' data-toggle="popover" data-trigger="hover" data-content="Limit your search to object types.">Type</span>
{{{ca_objects.type_id%height=30px}}}
</div>
</div>
<div class='row'>
<div class="advancedSearchField col-sm-12">
<span class='formLabel' data-toggle="popover" data-trigger="hover" data-content="Search records of a particular date or date range.">Date range <i>(e.g. 1970-1979)</i></span>
{{{ca_objects.dates.dates_value%width=200px&height=40px&useDatePicker=0}}}
</div>
</div>
<div class='row'>
<div class="advancedSearchField col-sm-12">
<span class='formLabel' data-toggle="popover" data-trigger="hover" data-content="Search records within a particular collection.">Collection </span>
{{{ca_collections.preferred_labels%restrictToTypes=collection%width=200px&height=40px}}}
</div>
</div>
<br style="clear: both;"/>
<div class='advancedFormSubmit'>
<span class='btn btn-default'>{{{reset%label=Reset}}}</span>
<span class='btn btn-default' style="margin-left: 20px;">{{{submit%label=Search}}}</span>
</div>
</div>
{{{/form}}}
</div>
<div class="col-sm-4" >
<h1>Helpful Links</h1>
<p>Include some helpful info for your users here.</p>
</div><!-- end col -->
</div><!-- end row -->
<script>
jQuery(document).ready(function() {
$('.advancedSearchField .formLabel').popover();
});
</script>