files tree made better.
This commit is contained in:
parent
ffbf032480
commit
ccc91bbf19
1630 changed files with 18209 additions and 41860 deletions
34
src/Yavsc/Views/Do/Index.cshtml
Normal file
34
src/Yavsc/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>@SR["Activity"]</th>
|
||||
<th>@SR["Weight"]</th>
|
||||
<th>@SR["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