-
Notifications
You must be signed in to change notification settings - Fork 0
/
Search.html
40 lines (34 loc) · 752 Bytes
/
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
---
layout: wiki-plain
index: false
---
<div id="search">
<div class="content">
<p>Search for wiki pages, applications, guides and more.</p>
</div>
<div class="field has-addons">
<div class="control">
<input class="input" type="text" v-model="query" @keyup="search()" placeholder="Search for entries">
</div>
<div class="control">
<a class="button" @click="search()">
Search
</a>
</div>
</div>
<hr v-if="result.length > 0">
<ul>
<li v-for="item in result">
<nav class="level">
<div class="level-left">
<a @click="open(item.ref)">
<b><% item.ref %><b>
</a>
</div>
<div class="level-right has-text-right">
<em>Score: <% item.score %></em>
</div>
</nav>
</li>
</ul>
</div>