fill the group filter drop down with the list of groups.
disable drop down option if it is applied. #64
This commit is contained in:
parent
4e3319ef69
commit
6034d55f03
@ -58,7 +58,21 @@
|
||||
<input type="text" class="form-control" placeholder="Search for..." name="query" data-bind="value: Query">
|
||||
</form>
|
||||
</div>
|
||||
<button class="btn btn-default pull-right" data-bind="click: $root.returnButtonClick" pagedestination="newUser"><span class="glyphicon glyphicon-plus"></span> Add New User</button>
|
||||
<div class="dropdown col-xs-2" data-bind="with: $root.groupsList">
|
||||
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
|
||||
Group Filter
|
||||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- ko foreach: Groups -->
|
||||
<li data-bind="css:{disabled:$root.userList().GroupFilter.Name===Name}">
|
||||
<a data-bind="click: function(){$root.groupFilter(Id);}, text: Name"></a>
|
||||
</li>
|
||||
<!-- /ko -->
|
||||
</ul>
|
||||
</div>
|
||||
<button class="btn btn-default pull-right" data-bind="click: $root.returnButtonClick"
|
||||
pagedestination="newUser"><span class="glyphicon glyphicon-plus"></span> Add New User</button>
|
||||
</div>
|
||||
<br/>
|
||||
<div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user