Mineplex2018-withcommit/Website/LOC.Website.Web/Areas/Manage/Views/Log/Index.cshtml

44 lines
678 B
Plaintext
Raw Normal View History

2013-08-27 17:14:08 +02:00
@model IEnumerable<LOC.Core.LogEntry>
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<table>
<tr>
<th></th>
<th>
Date
</th>
<th>
Category
</th>
<th>
Message
</th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.ActionLink("Details", "Details", new { id=item.LogEntryId }) |
@Html.ActionLink("Delete", "Delete", new { id=item.LogEntryId })
</td>
<td>
@String.Format("{0:g}", item.Date)
</td>
<td>
@item.Category
</td>
<td>
@item.Message
</td>
</tr>
}
</table>