Debian Codegraph @

src/magic_search_bootstrap.html

raw symbols SCIP
1 <!--! Magic Searchbar -->
2 <div class="magic-search" magic-overrides="">
3 <div class="search-bar">
4 <i class="fa fa-filter go"></i>
5 <div class="search-main-area">
6 <span class="item-list">
7 <span class="label radius secondary item"
8 ng-repeat="facet in currentSearch" ng-cloak="cloak">
9 <span>
10 {{ facet.label[0] }}:<b>{{ facet.label[1] }}</b>
11 </span>
12 <a class="remove" ng-click="removeFacet($index, $event)" title="{{ strings.remove }}">
13 <i class="fa fa-times"></i>
14 </a>
15 </span>
16 </span>
17 <span class="search-selected label" ng-cloak="" ng-show="facetSelected">
18 {{ facetSelected.label[0] }}:
19 </span>
20 <!-- For bootstrap, the dropdown attribute is moved from input up to div. -->
21 <div class="search-entry" dropdown="" is-open="isMenuOpen">
22 <input class="search-input" type="text" dropdown-toggle=""
23 placeholder="{{ strings.prompt }}" autocomplete="off">
24 <ul class="facet-drop f-dropdown dropdown-menu" data-dropdown-content="">
25 <li ng-repeat="facet in filteredObj" ng-show="!facetSelected">
26 <a ng-click="facetClicked($index, $event, facet.name)"
27 ng-show="!isMatchLabel(facet.label)">{{ facet.label }}</a>
28 <a ng-click="facetClicked($index, $event, facet.name)"
29 ng-show="isMatchLabel(facet.label)">
30 {{ facet.label[0] }}<span class="match">{{ facet.label[1] }}</span>{{ facet.label[2] }}
31 </a>
32 </li>
33 <li ng-repeat="option in filteredOptions" ng-show="facetSelected">
34 <a ng-click="optionClicked($index, $event, option.key)"
35 ng-show="!isMatchLabel(option.label)">
36 {{ option.label }}
37 </a>
38 <a ng-click="optionClicked($index, $event, option.key)"
39 ng-show="isMatchLabel(option.label)">
40 {{ option.label[0] }}<span class="match">{{ option.label[1] }}</span>{{ option.label[2] }}
41 </a>
42 </li>
43 </ul>
44 </div>
45 </div>
46 <a ng-click="clearSearch()" ng-show="currentSearch.length &gt; 0" title="{{ strings.cancel }}">
47 <i class="fa fa-times cancel"></i>
48 </a>
49 </div>
50 </div>