lagt paa skygge
[u/erikhf/frm.git] / src / components / search / search.html
CommitLineData
5bc68022
RM
1<div id="search" >
2
3 <label class="sr-only" for="livesearch">Search</label>
4
5 <input mou-live-search
6 (results)="orgunits = $event"
7 (loading)="loading = $event"
8 type="text"
9 autofocus
10 class="livesearch"
11 name="livesearch"
12 id="livesearch"
13
14 placeholder="Search"/>
15 <img [hidden]="!loading"
16 src="https://www.brown.edu/sites/default/themes/pawtuxet/img/loader-larger.gif">
17
18
19 <div class="divresult" [hidden]="!orgunits.length">
20 <ul class="dropdown-menu result" >
21 <li *ng-for="#orgunit of orgunits" (click)="getMoreInfo(orgunit)">
22 <a href="#">{{orgunit.name}}<br/><span>{{orgunit.lastUpdated}}</span></a>
23 </li>
24 </ul>
25 </div>
26
21341a61 27</div>
5bc68022
RM
28
29<button type="button" class="knapp" data-toggle="collapse" data-target="#dropdown-menu"><span class="glyphicon glyphicon-menu-down"></span></button>
30
31<div>
32<ul id="dropdown-menu" class="dropdown-menu">
33
34 <li><a href="#">Another action</a></li>
35 <li><a href="#">Something else here</a></li>
36 <li role="separator" class="divider"></li>
37 <li><a href="#">Separated link</a></li>
38</ul>
39
40</div>
41
42
43<!--tester pil oppned-->
44<div class="zippy">
45 <div (click)="toggle()" class="zippy__title">
46 {{ visible ? '&blacktriangledown;' : '&blacktriangleright;' }} {{title}}
47 </div>
48 <div [hidden]="!visible" class="zippy__content">
49 <content></content>
50 </div>
51</div>