Files
elwig/Elwig/Documents/Document.cshtml
Lorenz Stechauner a6e04ab1d2
Some checks failed
Test / Run tests (push) Failing after 2m18s
Printing: Replace WinziPrint with iText
2026-02-18 23:02:18 +01:00

29 lines
837 B
Plaintext

@using RazorLight
@inherits TemplatePage<Elwig.Documents.Document>
@model Elwig.Documents.Document
<!DOCTYPE html>
<html lang="de-AT">
<head>
<title>@Model.Title</title>
<meta name="author" value="@Model.Author"/>
<meta charset="UTF-8"/>
<link rel="stylesheet" href="file:///@Raw(Model.DocumentsPath)\Document.css" />
<link rel="stylesheet" href="file:///@Raw(Model.DocumentsPath)\Document.Page.css" />
<link rel="stylesheet" href="file:///@Raw(Model.DocumentsPath)\Document.Table.css" />
@if (Model.IsDoublePaged) {
<style>
@@page :left {
margin: 25mm 25mm 25mm 20mm;
}
</style>
}
</head>
<body>
<header>@Raw(Model.Header)</header>
<div class="spacing"></div>
<div class="main-wrapper">
@RenderBody()
</div>
</body>
</html>