|
@@ -10,20 +10,38 @@
|
10
|
10
|
This sidenav is locked open on your device. To go back to the default behavior,
|
11
|
11
|
narrow your display.
|
12
|
12
|
</p>-->
|
13
|
|
- <ul class="col-sm-12 sidebar-group-list" lu-busy="sidebar">
|
14
|
|
- <li ng-show="DataShareBusiness.CurrentGroups.length != 0" class="col-xs-12">
|
15
|
|
- <md-button class="md-primary md-hue-1 md-group-button col-xs-12"
|
16
|
|
- ng-href="{{DataShareBusiness.getGroupUrl(DataShareBusiness.getCurrentGroup().Parent)}}">
|
17
|
|
- ..
|
18
|
|
- </md-button>
|
19
|
|
- </li>
|
20
|
|
- <li ng-repeat="group in getCurrentGroups()" class="col-xs-12">
|
21
|
|
- <md-button class="md-primary md-hue-1 md-group-button col-xs-12"
|
22
|
|
- ng-class="{'md-group-button-checked': DataShareBusiness.getCurrentGroup().Id == group.Id}"
|
23
|
|
- ng-href="{{DataShareBusiness.getGroupUrl(group)}}">
|
24
|
|
- {{ group.Name }}
|
25
|
|
- </md-button>
|
26
|
|
- </li>
|
27
|
|
- </ul>
|
|
13
|
+ <div lu-busy="sidebar">
|
|
14
|
+ <md-autocomplete
|
|
15
|
+ md-selected-item="Search.selected"
|
|
16
|
+ md-search-text="Search.value"
|
|
17
|
+ md-selected-item-change="goTo(item)"
|
|
18
|
+ md-items="item in search(ctrl.searchText)"
|
|
19
|
+ md-item-text="item.Name"
|
|
20
|
+ md-min-length="1"
|
|
21
|
+ placeholder="Type a group name...">
|
|
22
|
+ <md-item-template>
|
|
23
|
+ <span md-highlight-text="ctrl.searchText" md-highlight-flags="^i">{{item.Name}}</span>
|
|
24
|
+ </md-item-template>
|
|
25
|
+ <md-not-found>
|
|
26
|
+ No groups matching "{{Search.value}}" were found.
|
|
27
|
+ </md-not-found>
|
|
28
|
+ </md-autocomplete>
|
|
29
|
+
|
|
30
|
+ <ul class="col-sm-12 sidebar-group-list">
|
|
31
|
+ <li ng-show="DataShareBusiness.CurrentGroups.length != 0" class="col-xs-12">
|
|
32
|
+ <md-button class="md-primary md-hue-1 md-group-button col-xs-12"
|
|
33
|
+ ng-href="{{DataShareBusiness.getGroupUrl(DataShareBusiness.getCurrentGroup().Parent)}}">
|
|
34
|
+ ..
|
|
35
|
+ </md-button>
|
|
36
|
+ </li>
|
|
37
|
+ <li ng-repeat="group in getCurrentGroups()" class="col-xs-12">
|
|
38
|
+ <md-button class="md-primary md-hue-1 md-group-button col-xs-12"
|
|
39
|
+ ng-class="{'md-group-button-checked': DataShareBusiness.getCurrentGroup().Id == group.Id}"
|
|
40
|
+ ng-href="{{DataShareBusiness.getGroupUrl(group)}}">
|
|
41
|
+ {{ group.Name }}
|
|
42
|
+ </md-button>
|
|
43
|
+ </li>
|
|
44
|
+ </ul>
|
|
45
|
+ </div>
|
28
|
46
|
</md-content>
|
29
|
47
|
</md-sidenav>
|