Snootalogue/Pages/Documents/View.cshtml

10 lines
274 B
Text
Raw Normal View History

2020-09-17 14:14:50 +00:00
@page "{id:int}"
@model Snootalogue.Pages.Documents.ViewModel
@{
ViewData["Title"] = $"Viewing \"{Model.Document.Title}\"";
ViewData["SlimNavbar"] = true;
ViewData["NoMainPadding"] = true;
}
<iframe id="document-viewer" src="/Content/@Model.Document.Filename"></iframe>