123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- @model IEnumerable<esoft_API.Models.Entities.Task>
- @{
- ViewBag.Title = "Index";
- }
- <h2>Index</h2>
- <p>
- @Html.ActionLink("Create New", "Create")
- </p>
- <table class="table">
- <tr>
- <th>
- @Html.DisplayNameFor(model => model.Title)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Description)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.CreateDateTime)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Deadline)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Difficulty)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Time)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Status)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.WorkType)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.CompletedDateTime)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.IsDeleted)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.Executor.Grade)
- </th>
- <th></th>
- </tr>
- @foreach (var item in Model) {
- <tr>
- <td>
- @Html.DisplayFor(modelItem => item.Title)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Description)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.CreateDateTime)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Deadline)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Difficulty)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Time)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Status)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.WorkType)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.CompletedDateTime)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.IsDeleted)
- </td>
- <td>
- @Html.DisplayFor(modelItem => item.Executor.Grade)
- </td>
- <td>
- @Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
- @Html.ActionLink("Details", "Details", new { id=item.ID }) |
- @Html.ActionLink("Delete", "Delete", new { id=item.ID })
- </td>
- </tr>
- }
- </table>
|