Started adding buttons to archive list in game edit

dashboard
Pat Hartl 2023-01-03 20:28:50 -06:00
parent d447578bc7
commit 5d7141b7cf
1 changed files with 8 additions and 1 deletions

View File

@ -78,6 +78,7 @@
<th>Uploaded By</th>
<th>Uploaded On</th>
<th>Size</th>
<th></th>
</tr>
</thead>
@ -86,9 +87,15 @@
{
<tr>
<td>@Html.DisplayFor(m => archive.Version)</td>
<td>@Html.DisplayFor(m => archive.CreatedBy)</td>
<td>@Html.DisplayFor(m => archive.CreatedBy.UserName)</td>
<td>@Html.DisplayFor(m => archive.CreatedOn)</td>
<td>@ByteSizeLib.ByteSize.FromBytes(new FileInfo(System.IO.Path.Combine("Upload", archive.ObjectKey)).Length)</td>
<td>
<div class="btn-list flex-nowrap">
<a asp-action="DownloadArchive" asp-route-id="@archive.Id" class="btn">Download</a>
<a asp-action="DeleteArchive" asp-route-id="@archive.Id" class="btn btn-danger">Delete</a>
</div>
</td>
</tr>
}
</tbody>