aboutsummaryrefslogtreecommitdiffstats
path: root/ui/imports/ui/components/search-auto-complete-list/search-auto-complete-list.html
blob: bd5e0e251511a7e4ba1a266f86f43da6955b6557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!-- 
########################################################################################
# Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others #
#                                                                                      #
# All rights reserved. This program and the accompanying materials                     #
# are made available under the terms of the Apache License, Version 2.0                #
# which accompanies this distribution, and is available at                             #
# http://www.apache.org/licenses/LICENSE-2.0                                           #
########################################################################################
 -->
<template name="SearchAutoCompleteList">
<div class="os-search-auto-complete-list">
  {{#if isOpen}}
  <div class="sm-backdrop"></div>
  {{/if }}
  <ul class="sm-search-auto-complete-list {{#if isOpen }}cl-open{{/if}}">
    {{#each resultItem in searchResults }}
      {{>AutoSearchResultLine (createAutoSearchResultLineArgs resultItem) }}
    {{/each }}
  </ul>
</div>
</template>