This repository has been archived by the owner on Jul 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- show all options in dropdown - scroll more options using keyboard Closes #987
- Loading branch information
Shane Wilson
committed
Jul 6, 2015
1 parent
75d6b41
commit 29f9882
Showing
4 changed files
with
55 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,24 @@ | ||
<ul class="list-unstyled Gql_dropdown" data-ng-show="showResults()"> | ||
<ul class="list-unstyled Gql_dropdown Gql_dropdown-{{mode}}" data-ng-show="showResults()"> | ||
<li class="Gql_dropdown_arrow" ng-if="offset > 0"> | ||
<i class="fa fa-sort-asc"></i> | ||
</li> | ||
<li class="Gql_dropdown_item" | ||
data-ng-click="click(e)" | ||
data-ng-mouseenter="mouseIn($index)" | ||
data-ng-class="{true:'Gql_dropdown_item-active'}[e.active]" | ||
data-ng-repeat="e in ddItems track by e.full"> | ||
data-ng-repeat="e in ddItems | limitTo:limit:offset track by e.full"> | ||
<i class="fa" | ||
data-ng-if="e.doc_type" | ||
style="margin-right: 10px;background: #5b5151;padding: 1rem;color: #fff;" | ||
style="margin-right: 10px;background: #5b5151;padding: 1rem;color: #fff; width: 3.2rem" | ||
data-ng-class="{'files':'fa-file', 'participants':'fa-user', '':'fa-square'}[e.doc_type]"> | ||
</i> | ||
<i class="fa fa-square" | ||
data-ng-if="!e.doc_type" | ||
style="margin-right: 10px;background: #5b5151;padding: 1rem;color: #fff;"> | ||
</i> | ||
{{::e.field}} | ||
{{::e.field}}<i data-ng-if="e.doc_type" style="color:#888"> - this is a description</i> | ||
</li> | ||
<li class="Gql_dropdown_arrow" ng-if="ddItems.length > offset + limit"> | ||
<i class="fa fa-sort-desc"></i> | ||
</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters