Added newe XML

This commit is contained in:
Simon Martens
2021-09-28 14:10:28 +02:00
parent 1283abd7e9
commit 53d4ef75ae
36 changed files with 1890 additions and 32812 deletions

View File

@@ -27,11 +27,12 @@
<ItemGroup>
<Folder Include="Interfaces\" />
<Folder Include="wwwroot\pdf\" />
</ItemGroup>
<ItemGroup>
<!-- extends watching group to include *.xml files -->
<Watch Include="**\*.xml" Exclude="obj\**\*;bin\**\*" />
<Watch Include="**\*.xml" Exclude="obj\**\*;bin\**\*" />
</ItemGroup>

File diff suppressed because it is too large Load Diff

View File

@@ -5,6 +5,7 @@
@using System.Threading;
@using System.Linq:
@using System.Xml.Linq;
@using System.IO;
@model HaLive.Pages.BriefeModel
@inject IReaderService readerService
@@ -24,7 +25,7 @@
var next = meta == lib.MetasByDate.Last() ? null : lib.MetasByDate.ItemRef(lib.MetasByDate.IndexOf(meta) + 1);
var prev = meta == lib.MetasByDate.First() ? null : lib.MetasByDate.ItemRef(lib.MetasByDate.IndexOf(meta) - 1);
var hands = lib.Hands.ContainsKey(id) ? lib.Hands[id] : null;
var filename = "" + "_" + meta.Autopsic + "_HamannBriefe.pdf"; // TODO
var filename = "HKB_" + meta.Autopsic + ".pdf";
// State
var currline = "-1";
@@ -402,6 +403,8 @@
<div class="col">
<div class="widehead letterbar">
<div class="flexcol">
@if (System.IO.File.Exists("./wwwroot/pdf/" + filename))
{
<div style="align-self: flex-end" class="printbutton">
<span class="label">
<a class="hlink" href="/pdf/@filename">
@@ -411,6 +414,19 @@
</a>
</span>
</div>
}
else
{
<div style="align-self: flex-end" class="printbutton">
<span class="label">
<a class="hlink disabled" href="#">
PDF&nbsp;<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" class="bi bi-arrow-down-circle" viewBox="0 0 14 18">
<path fill-rule="evenodd" d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8zm15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/>
</svg>
</a>
</span>
</div>
}
<div class="lettercard flexrow">
<div class="nnumber letcount">
@meta.Autopsic

View File

@@ -181,17 +181,22 @@
@foreach (var l in Model.Result.ElementAt(Model.cleanpage))
{
var filename = "HKB_" + l.Key + ".pdf";
<section>
<div class="year" style="top: 240px; z-index: 900;">
@l.Key <span class="printbutton">
<span class="label">
<a class="hlink" href="#">PDF
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" class="bi bi-arrow-down-circle" viewBox="0 0 14 18">
<path fill-rule="evenodd" d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8zm15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/>
</svg>
</a>
</span>
</span>
@l.Key
@if (System.IO.File.Exists("./wwwroot/pdf/" + filename))
{
<span class="printbutton">
<span class="label">
<a class="hlink" href="./pdf/@filename">PDF
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" class="bi bi-arrow-down-circle" viewBox="0 0 14 18">
<path fill-rule="evenodd" d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8zm15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/>
</svg>
</a>
</span>
</span>
}
<hr></div>
@foreach (var entry in l)
{

View File

@@ -104,7 +104,7 @@
<div class="widehead">
<div class="flexcol">
<div style="align-self: flex-end" class="printbutton">
<a class="" href="/pdf/Bibelstellen-Register_HamannBriefe.pdf">
<a class="" href="/pdf/HKB_Bibelstellen-Register.pdf">
PDF
</a>
</div>

View File

@@ -106,7 +106,7 @@
<div class="widehead">
<div class="flexcol">
<div style="align-self: flex-end" class="printbutton">
<a class="" href="/pdf/Forschungsbibliographie_HamannBriefe.pdf">
<a class="" href="/pdf/HKB_Forschungsbibliographie.pdf">
PDF
</a>
</div>

View File

@@ -101,7 +101,7 @@
<div class="widehead">
<div class="flexcol">
<div style="align-self: flex-end" class="printbutton">
<a class="" href="/pdf/Register_HamannBriefe.pdf">
<a class="" href="/pdf/HKB_Register.pdf">
PDF
</a>
</div>

View File

@@ -387,6 +387,7 @@ a:hover {
/* color: var(--hamannDunkelGrau); */
font-family: Playfair;
font-size: 0.9rem;
line-height: 1rem;
}
.hand .aq {

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.