UserList improvements

This commit is contained in:
2023-02-24 10:52:33 -05:00
parent 4341d5ce92
commit 48ab9a19e8
5 changed files with 82 additions and 14 deletions
+21 -8
View File
@@ -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>&#x2714;</text>
}
</td>
<td>@m.LeafInputCount</td>
</tr>
}
}
</tbody>
</table>
</div>
</div>