forked from telerik/docs-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.html
66 lines (62 loc) · 2.08 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
---
title: Search results
position: 1
heading: Search results
include_in_navigation: false
is_search_page: true
sitemap: false
---
<div class="container-fluid headbanner">
<div class="row">
<div class=" col-sm-10 col-sm-offset-1 col-lg-offset-2">
<div class="row mt-40">
<div class="col-sm-12">
<article>
<h1>{{ page.heading }}</h1>
<div class="local-search mt-20">
{% include search.html %}
</div>
</article>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid mt-30 mb-80">
<div class="row">
<div class="col-sm-10 col-sm-offset-1 col-lg-offset-2">
<div class="row">
<div class="col-sm-12">
<div id="search-container" style="display: none">
<div class="results-message mb-5"></div>
<div id="results" class="mb-20">
</div>
<div class="site-pager"></div>
</div>
<div id="no-results" style="display: none">
<h1>Sorry,</h1>
<h2>There were no results found. Maybe try a broader search or:</h2>
<ul class="list-unstyled">
<li>Make sure all words are spelled correctly.</li>
<li>Try different keywords.</li>
<li>Try more general keywords.</li>
<li class="mt-30"><a href="javascript:history.back()" class="go-back">{% include icons/arrow-left.svg %} Go back</a></li>
</ul>
</div>
<script type="text/x-kendo-template" id="results-template">
<div>
<h2><a href="#= url #">#= title #</a></h2>
<p>#= excerpt #</p>
<p><a href="#= url #">#= url #</a></p>
</div>
</script>
</div>
</div>
</div>
</div>
</div>
<script>showSearchPopup = false;</script>
<script src="{{site.baseurl}}/assets/jquery.js?{{randomNumber}}" defer></script>
<script src="{{site.baseurl}}/assets/bootstrap.min.js?{{randomNumber}}" defer></script>
<script src="{{site.baseurl}}/assets/main.js?{{randomNumber}}" defer></script>
<script src="{{site.baseurl}}/assets/search-results.js?{{randomNumber}}" defer></script>