39 lines
933 B
Plaintext
39 lines
933 B
Plaintext
@model IEnumerable<AspNetUser>
|
|
<script type="text/javascript">
|
|
|
|
function SelectAll(obj)
|
|
{
|
|
|
|
$.each($("input[type='checkbox']"), function(i, o)
|
|
{
|
|
if(o.id.substr(0, 16) == 'expCatCheckedId_')
|
|
{
|
|
o.checked = obj.checked;
|
|
}
|
|
}
|
|
);
|
|
|
|
}
|
|
</script>
|
|
|
|
<table class="table table-striped table-bordered dataTable" id="uom">
|
|
<thead>
|
|
|
|
</thead>
|
|
<tbody>
|
|
|
|
@if (Model != null)
|
|
{
|
|
foreach (var user in Model)
|
|
{
|
|
|
|
<tr>
|
|
<td style="width:30px;text-align: right;">
|
|
<input type="checkbox" value="@user.Id" name="UserId" id="userId_@user.Id"/>
|
|
</td>
|
|
<td>@user.UserName</td>
|
|
</tr>
|
|
}
|
|
}
|
|
</tbody>
|
|
</table> |