17 lines
1.1 KiB
Plaintext
17 lines
1.1 KiB
Plaintext
@model PlotLine.Services.Context.ContextWarningsFrame
|
|
@using System.Text.Json
|
|
@{ Layout = null; var scope = Model.Scope; }
|
|
<div data-context-tab-fragment data-context-warnings data-project-id="@scope.ProjectID" data-book-id="@scope.BookID" data-chapter-id="@scope.ChapterID" data-scene-id="@scope.SceneID">
|
|
<h2 class="h5">Warnings · Chapter @scope.ChapterNumber</h2>
|
|
<form hidden>@Html.AntiForgeryToken()</form>
|
|
<p class="small text-muted">Recorded findings only. Previewing a tile keeps Current Focus and your manuscript caret in place.</p>
|
|
<label><input type="checkbox" data-warning-information /> Show information</label>
|
|
<div class="context-warning-strip" data-warning-tiles aria-label="Chapter scene warnings"></div>
|
|
<h3 class="h6" data-warning-title></h3>
|
|
<p class="small" data-warning-checked></p>
|
|
<a data-warning-open target="_blank" rel="noopener">Open Warnings</a>
|
|
<div data-warning-cards></div>
|
|
<p role="alert" data-warning-error></p>
|
|
<script type="application/json" data-warnings-payload>@Html.Raw(JsonSerializer.Serialize(Model, new JsonSerializerOptions(JsonSerializerDefaults.Web)))</script>
|
|
</div>
|