4 lines
1.5 KiB
Plaintext

@model BookRecoveryPage
@{ViewData["Title"]="Review book backup";var package=Model.Package!;}
<div class="page-heading" data-pwa-header><h1>Review your backup</h1></div><section class="edit-panel"><h2>@package.Snapshot.Project?.ProjectName</h2><ul>@foreach(var book in package.Snapshot.Data.Books){<li>@book.BookDisplayTitle @(book.IsArchived?"· Archived":"")</li>}</ul><p>@package.Snapshot.Data.Chapters.Count chapters · @package.Snapshot.Data.Scenes.Count scenes · @package.Snapshot.Files.Count uploaded files</p><p>Includes saved manuscript sources, planning, review decisions and common project data. Your backup is a snapshot taken @package.CreatedUtc.ToString("d MMM yyyy HH:mm") UTC.</p>@foreach(var warning in package.Warnings){<p>@warning</p>}@if(package.Snapshot.Recovery.ExternalReferences.Count>0){<p class="alert alert-warning">@package.Snapshot.Recovery.ExternalReferences.Count common-data references point to books outside this selection. Their source identities are preserved as disconnected history; they will never be attached to unrelated destination records.</p>}<form asp-action="Download" method="post"><input type="hidden" name="staged" value="@Model.Upload"/><button class="btn btn-primary">Download backup</button> <a asp-action="Backup" asp-route-projectId="@Model.ProjectID" class="btn btn-outline-secondary">Change selection</a></form><p class="mt-3">This does not delete books or free slots. Check your local file before separately choosing Delete Forever. Archived books still count towards capacity.</p></section>