Endrer styling, map som body-background resten kommentert ut
[u/erikhf/frm.git] / src / components / search / search.html
CommitLineData
b2356704
RM
1<!--<div id="search">
2
5bc68022
RM
3 <label class="sr-only" for="livesearch">Search</label>
4
b2356704 5 <form> <input
0614791e 6 mou-live-search
5bc68022
RM
7 (results)="orgunits = $event"
8 (loading)="loading = $event"
9 type="text"
10 autofocus
11 class="livesearch"
12 name="livesearch"
13 id="livesearch"
4c04388b 14 placeholder="Search"
c05bce55 15 value = "" />
cb2667b5 16
b2356704
RM
17 <button class="emptysearch"(click)="hideDiv()">
18 &cross; </button></form>
5bc68022 19
18709ba8 20<span [hidden]="hideDiv()">
5bc68022 21
0614791e 22 <div class="divresult" id="divresult" [hidden]="!orgunits.length">
18709ba8 23 <ul id="d" class="dropdown-menu result" >
0614791e 24 <li id="c" *ng-for="#orgunit of orgunits" (click)="getMoreInfo(orgunit)">
5bc68022
RM
25 <a href="#">{{orgunit.name}}<br/><span>{{orgunit.lastUpdated}}</span></a>
26 </li>
27 </ul>
28 </div>
29
18709ba8
RM
30</span>
31
1aec1256 32
b2356704
RM
33 <button type="button" class="knapp" (click)="toggle()" onclick="$('#ownershipSelector, #typeSelector, #locationSelector').prop('selectedIndex',0);" data-toggle="collapse" data-target="#dropdown-menu">
34 {{ visible ? '&xdtri;' : '&cross;' }}
35 </button>
36
37
5bc68022 38
b2356704
RM
39 <ul id="dropdown-menu" class="dropdown-menu">
40 <li>Facility</li>
41 <li class="dropdown-header">Ownerships</li>
42 <li><select class="form-control filtervalg" id="ownershipSelector" (click)="setFilter()">
43 <option value=""> All </option>
44 <option [value]="Mission">Mission</option>
45 <option value="NGO">NGO</option>
46 <option value="Private Clinic">Private Clinic</option>
47 <option value="Public facilities">Public facilities</option>
48 </select></li>
49 <li class="dropdown-header">Types</li>
50 <li><select class="form-control filtervalg" id="typeSelector" (click)="setFilter()">
51 <option value=""> All </option>
52 <option value="CHC">CHC</option>
53 <option value="CHP">CHP</option>
54 <option value="Clinic">Clinic</option>
55 <option value="Hospital">Hospital</option>
56 <option value="MCHP">MCHP</option>
57 </select></li>
58 <li role="separator" class="divider"></li>
59 <li class="dropdown-header">Locations </li>
60 <li><select class="form-control filtervalg" id="locationSelector" (click)="setFilter()">
61 <option value=""> All </option>
62 <option value="Rural">Rural</option>
63 <option value="Urban">Urban</option>
64 </select></li>
18709ba8 65
b2356704 66 </ul>
5bc68022
RM
67
68</div>
b2356704
RM
69-->
70
71
72
73