hidden activity
This commit is contained in:
parent
1b8963c105
commit
6ca18b65f4
25 changed files with 5706 additions and 13 deletions
68
Yavsc/Views/Notifications/Index.cshtml
Normal file
68
Yavsc/Views/Notifications/Index.cshtml
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
@model IEnumerable<Yavsc.Models.Messaging.Notification>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Index";
|
||||
}
|
||||
|
||||
<h2>Index</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">Create New</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.body)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.click_action)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.color)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.icon)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.sound)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.tag)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.title)
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
@foreach (var item in Model) {
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.body)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.click_action)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.color)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.icon)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.sound)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.tag)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.title)
|
||||
</td>
|
||||
<td>
|
||||
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
|
||||
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
|
||||
<a asp-action="Delete" asp-route-id="@item.Id">Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue