set the Name/UserCount data fields to be vertically aligned.
add delete button/link to each group. #30
This commit is contained in:
parent
ce6ac53e8f
commit
398e61a36d
@ -52,12 +52,14 @@
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>User Count</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody data-bind="foreach: Groups">
|
||||
<tr data-bind="click: $root.editGroupClick">
|
||||
<td data-bind="text: Name"></td>
|
||||
<td data-bind="text: UserCount"></td>
|
||||
<td class="valign" data-bind="text: Name"></td>
|
||||
<td class="valign" data-bind="text: UserCount"></td>
|
||||
<td><button class="btn btn-link" data-bind="enable: UserCount=='0', click: function(data, event){$root.deleteGroup(Id);}" type="button">Delete</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user