forked from trynthink/buildingsdatasets
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (60 loc) · 1.92 KB
/
index.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
---
layout: default
---
<section class="search-section" onsubmit="(function(){return false})()">
<div class="wrapper search-content">
<h1 class="tagline">
<div class="text-filter">Start a project with real smart meter datasets</div>
<div class="text-filter">from the Department of Energy and others</div>
</h1>
<form id="search_form">
<label>
<div class="text-filter">Search Datasets:</div>
<input type="text" id="search-input" placeholder="Search..."
size="40" maxlength="32" />
<input type="reset" id="reset-input" value="Clear Search" />
</label>
<ul id="results-container">
</ul>
</form>
</div>
</section>
<section class="featured-datasets">
<div class="wrapper">
</div>
</section>
{% comment %}
Use "raw" Markdown tag to skip expansion of braces inside Handlebars
template.
{% endcomment %}
{% raw %}
<script id="item-template" type="text/x-handlebars-template">
<!-- {{category}} -->
<div class="category-group">
<h1 class="page-heading cf">{{category}}</h1>
<section class="post-list cf">
{{#each datasets}}
{{#if status}}
<div class="post-preview">
<h3><a class="post-link"
href="show.html?title_id={{title_id}}">{{title}}</a></h3>
{{#if relevance}}
<p class="post-relevance">Search relevance:
<span class="post-relevance-score">{{relevance}}</span>/1.00
</p>
{{/if}}
<p class="post-summary">{{summary}}</p>
{{#if link}}
<a href="{{link}}">See Data >></a>
{{/if}}
</div>
{{/if}}
{{/each}}
</section>
</div>
</script>
{% endraw %}
<script type="text/javascript" src="js/lib/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="js/lib/handlebars-v3.0.1.js"></script>
<script type="text/javascript" src="js/lib/fuse.min.js"></script>
<script type="text/javascript" src="js/app.js"></script>