REORG
This commit is contained in:
parent
8d68ee380a
commit
45514010f2
3505 changed files with 154 additions and 523 deletions
34
src/Org/Views/Do/Index.cshtml
Normal file
34
src/Org/Views/Do/Index.cshtml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
@model IEnumerable<UserActivity>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Index";
|
||||
}
|
||||
|
||||
<h2>Index</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">Create New</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>Activity</th>
|
||||
<th>Weight</th>
|
||||
<th>Settings</th>
|
||||
</tr>
|
||||
|
||||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
<td> @item.Does.Name
|
||||
</td>
|
||||
<td> @item.Weight
|
||||
</td>
|
||||
<dt>
|
||||
</dt>
|
||||
<td>
|
||||
<a asp-action="Edit" asp-route-id="@item.UserId" asp-route-activityCode="@item.DoesCode">Edit</a> |
|
||||
<a asp-action="Details" asp-route-id="@item.UserId" asp-route-activityCode="@item.DoesCode">Details</a> |
|
||||
<a asp-action="Delete" asp-route-id="@item.UserId" asp-route-activityCode="@item.DoesCode">Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue