Snootalogue/Pages/Documents/Details.cshtml

43 lines
1.8 KiB
Text
Raw Normal View History

@page "{id}"
2020-09-16 02:14:31 +00:00
@model Snootalogue.Pages.Documents.DetailsModel
@{
ViewData["Title"] = "Details";
}
<h1>Details</h1>
<dl class="document-details">
<dt>@Html.DisplayNameFor(model => model.Document.Title)</dt>
<dd>@Html.DisplayFor(model => model.Document.Title)</dd>
<dt>@Html.DisplayNameFor(model => model.Document.ID)</dt>
<dd>@Html.DisplayFor(model => model.Document.ID)</dd>
<dt>@Html.DisplayNameFor(model => model.Document.Filename)</dt>
<dd>@Html.DisplayFor(model => model.Document.Filename)</dd>
<dt>@Html.DisplayNameFor(model => model.Document.Hash)</dt>
<dd>@Html.DisplayFor(model => model.Document.Hash)</dd>
<dt>@Html.DisplayNameFor(model => model.Document.Size)</dt>
<dd>@Html.DisplayFor(model => model.Document.Size)</dd>
<dt>@Html.DisplayNameFor(model => model.Document.Title)</dt>
<dd>@Html.DisplayFor(model => model.Document.Title)</dd>
<dt>@Html.DisplayNameFor(model => model.Document.Authors)</dt>
<dd>@Html.DisplayFor(model => model.Document.Authors)</dd>
<dt>@Html.DisplayNameFor(model => model.Document.Category)</dt>
<dd>@Html.DisplayFor(model => model.Document.Category)</dd>
<dt>@Html.DisplayNameFor(model => model.Document.DateAdded)</dt>
<dd>@Html.DisplayFor(model => model.Document.DateAdded)</dd>
<dt>@Html.DisplayNameFor(model => model.Document.Tags)</dt>
<dd class="tags">@Html.DisplayFor(model => model.Document.Tags)</dd>
2020-09-17 14:28:06 +00:00
<dt>@Html.DisplayNameFor(model => model.Document.Notes)</dt>
<dd>@Html.DisplayFor(model => model.Document.Notes)</dd>
2020-09-16 02:14:31 +00:00
<dt>@Html.DisplayNameFor(model => model.Document.Read)</dt>
<dd>@Html.DisplayFor(model => model.Document.Read)</dd>
</dl>
<div class="centred">
<a class="button block" href='/'>Return to documents</a>
<br>
<a class="button block" href='/api/Document/@Model.Document.ID'>View as JSON</a>
2020-09-16 02:14:31 +00:00
</div>