UserList improvements
This commit is contained in:
@@ -1,16 +1,29 @@
|
||||
@model IEnumerable<Tuple<string,string>>
|
||||
@model IEnumerable<UserViewModel>
|
||||
|
||||
<div class="container mt-4">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6 ">
|
||||
<table>
|
||||
|
||||
@foreach (var m in Model)
|
||||
{
|
||||
<div class="col-md-9">
|
||||
<table class="table table-striped table-bordered">
|
||||
<thead class="thead-light">
|
||||
<tr><th scope="col">Email</th><th scope="col">Name</th><th scope="col">First Seen</th><th scope="col">Member</th><th scope="col"># of Leaf Input</th></tr>
|
||||
</thead>
|
||||
<tbody >
|
||||
@foreach (var m in Model)
|
||||
{
|
||||
<tr>
|
||||
<th>@m.Item1</th><th>@m.Item2</th>
|
||||
<td>@m.Email</td>
|
||||
<td>@m.Name</td>
|
||||
<td>@m.FirstSeen.ToShortDateString()</td>
|
||||
<td>
|
||||
@if (m.Member)
|
||||
{
|
||||
<text>✔</text>
|
||||
}
|
||||
</td>
|
||||
<td>@m.LeafInputCount</td>
|
||||
</tr>
|
||||
}
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user