everything is working, great success
[u/erikhf/frm.git] / src / components / search / search.html
CommitLineData
3562820e 1<div id="search">
5bc68022
RM
2
3 <label class="sr-only" for="livesearch">Search</label>
4
f800869b
EHF
5 <form>
6 <div class="row">
7 <input
8 mou-live-search
9 (results)="orgunits = $event"
10 (loading)="loading = $event"
11 type="text"
12 autofocus
13 class="livesearch col-md-10"
14 name="livesearch"
15 id="livesearch"
16 placeholder="Search"
17 value=""/>
18
19
20 <!--<button class="exitsearch" id="exitsearch" (click)="emptyByClick()">
21 &cross; </button>-->
22 <button type="button" class="knapp col-md-2" (click)="toggle()"
23 onclick="$('#ownershipSelector, #typeSelector, #locationSelector').prop('selectedIndex',0);"
24 data-toggle="collapse" data-target="#dropdown-menu">
25 {{ visible ? '&xdtri;' : '&cross;' }}
26 </button>
27 </div>
28 </form>
5bc68022 29
18709ba8 30<span [hidden]="hideDiv()">
5bc68022 31
431ff5c5 32
f800869b 33 <div class="divresult" id="divresult" [hidden]="checkOrgunits()">
cf28de25 34 <ul id="d" class="dropdown-menu result">
f800869b 35 <li id="c" *ng-for="#orgunit of filteredOrgunits" id="orglist" (click)="getMoreInfo(orgunit)">
3562820e 36 <a id="left-menu" href="#">{{orgunit.name}}<br/><span>{{orgunit.lastUpdated}}</span></a>
5bc68022
RM
37 </li>
38 </ul>
39 </div>
40
18709ba8 41</span>
1aec1256 42
4c04388b 43
f800869b
EHF
44 <ul id="dropdown-menu" class="dropdown-menu">
45 <li><select class="form-control filtervalg" id="ownershipSelector" (click)="setFilter()">
1aec1256 46
f800869b
EHF
47 </select></li>
48 <li><select class="form-control filtervalg" id="typeSelector" (click)="setFilter()">
33e62f7e 49
f800869b
EHF
50 </select></li>
51 <li><select class="form-control filtervalg" id="locationSelector" (click)="setFilter()">
1aec1256 52
f800869b
EHF
53 </select></li>
54 </ul>
1aec1256 55
5bc68022 56
5bc68022 57</div>
5cc1f6d0 58
5cc1f6d0 59
5cc1f6d0 60
5bc68022 61
5bc68022 62