prvi
This commit is contained in:
84
EveryThing/Pages/Files/Index.cshtml
Normal file
84
EveryThing/Pages/Files/Index.cshtml
Normal file
@@ -0,0 +1,84 @@
|
||||
@page
|
||||
@model EveryThing.Pages.Files.IndexModel
|
||||
|
||||
<p>
|
||||
<a asp-page="Create">Create New</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].FileType)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].IdReferenceFk)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].Guid)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].Extension)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].Salt)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].Iv)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].Title)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].DateOfUpload)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].Note)
|
||||
</th>
|
||||
<th>
|
||||
@Html.DisplayNameFor(model => model.File[0].Company)
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var item in Model.File) {
|
||||
<tr>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.FileType)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.IdReferenceFk)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Guid)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Extension)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Salt)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Iv)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Title)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.DateOfUpload)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Note)
|
||||
</td>
|
||||
<td>
|
||||
@Html.DisplayFor(modelItem => item.Company.Ceo)
|
||||
</td>
|
||||
<td>
|
||||
<a asp-page="./Edit" asp-route-id="@item.IdFile">Edit</a> |
|
||||
<a asp-page="./Details" asp-route-id="@item.IdFile">Details</a> |
|
||||
<a asp-page="./Delete" asp-route-id="@item.IdFile">Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user