2d6495f71e83189c4469ec2df4ff36a67f54708f
[u/erikhf/frm.git] / src / components / search / search.html
1
2     <section class="form-group">
3         <label class="sr-only" for="livesearch">Search</label>
4         <input
5                 mou-live-search
6                 (results)="orgunits = $event"
7                 (loading)="loading = $event"
8                 type="text"
9                 autofocus
10                 id="livesearch">
11         <img style="width: 20px; position: absolute;"
12              [hidden]="!loading"
13              src="https://www.brown.edu/sites/default/themes/pawtuxet/img/loader-larger.gif">
14     </section>
15     <section>
16         <div *ng-for="#orgunit of orgunits" style="padding: 0.5em 0.5em 0.5em 0;">
17             <p>{{orgunit.name}}</p>
18         </div>
19     </section>