added group section to the UI, binding to the Groups array in the user object returned by the api.

#59
This commit is contained in:
Chris.Watts90@outlook.com 2017-03-08 16:28:50 +00:00
parent 4e8b988ac5
commit 090c2ddead

View File

@ -160,6 +160,22 @@
<input type="text" readonly class="form-control col-md-8" value="This User is a Contractor"/> <input type="text" readonly class="form-control col-md-8" value="This User is a Contractor"/>
</div> </div>
</div> </div>
<div>
<label for="Groups">Groups</label>
<br/>
<div class="row">
<!-- ko foreach: Groups-->
<div class="col-md-6 col-md-push-0 col-sm-6 col-sm-push-0 col-xs-12 col-xs-push-0">
<div class="input-group ">
<span class="input-group-addon">
<input type="checkbox" data-bind="name: Id, value: Name, checked: IsAssociatedToUser" />
</span>
<input type="text" readonly class="form-control col-md-8" data-bind="value: Name" />
</div>
</div>
<!-- /ko-->
</div>
</div>
<div> <div>
<label for="AssociatedCards">Associated Cards</label> <label for="AssociatedCards">Associated Cards</label>
<br/> <br/>