2020-09-16 02:14:31 +00:00
|
|
|
@page "{id:int}"
|
|
|
|
@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>
|
|
|
|
<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>
|
2020-09-16 02:55:32 +00:00
|
|
|
<a class="button block" href='/api/Document/@Model.Document.ID'>View as JSON</a>
|
2020-09-16 02:14:31 +00:00
|
|
|
</div>
|
|
|
|
|