31 lines
4.8 KiB
Plaintext
31 lines
4.8 KiB
Plaintext
@model WriterDashboardViewModel
|
|
@{var reader=Model.ReviewReader;var word=new WriterDashboardViewModel{BookID=Model.BookID,ProjectID=Model.ProjectID,WordNavigationContext="review",Objective=reader?.Chapter==null?null:new(){ChapterID=reader.Chapter.ChapterID,ChapterTitle=reader.Chapter.ChapterTitle,Activity="Revising"}};}
|
|
<div class="writer3-workspace" aria-label="Manuscript review">
|
|
<section class="writer3-panel writer3-main" tabindex="0" aria-label="Editorial review">
|
|
<div class="button-row"><button type="button" class="btn btn-outline-secondary" data-editorial-toggle="review-chapter-notes" aria-expanded="true">Chapter notes</button><button type="button" class="btn btn-outline-secondary" data-editorial-toggle="review-scene-notes" aria-expanded="true">Scene notes</button></div>
|
|
<div class="writer21-editorial">
|
|
<section class="writer21-notes" id="review-chapter-notes" aria-label="Chapter notes"><h2>Chapter notes</h2><button type="button" class="btn btn-outline-primary" data-review-scope-new="Chapter">Add chapter annotation</button><div data-review-intentions-slot><p>Loading chapter notes…</p></div><div data-chapter-annotations></div></section>
|
|
<section class="writer21-manuscript" aria-label="Accepted manuscript">@if(reader!=null){<partial name="~/Views/ManuscriptReader/_Reader.cshtml" model="reader" />}else{<p>Select a book with chapters to review.</p>}</section>
|
|
<section class="writer21-notes" id="review-scene-notes" aria-label="Scene notes"><h2>Scene notes</h2><div data-review-scene-context></div>
|
|
@if(reader?.Chapter!=null){
|
|
<div data-writer-review data-book="@Model.BookID" data-chapter="@reader.Chapter.ChapterID" data-panel-url="@Url.Action("Panel","WriterReview")">
|
|
<p data-review-reference>Chapter observation · select text or a paragraph for a passage reference.</p><p data-review-message role="status"></p>
|
|
<button type="button" class="btn btn-sm btn-outline-primary" data-review-new>Add annotation</button>
|
|
<form asp-controller="WriterReview" asp-action="Save" method="post" data-review-form hidden>
|
|
<input type="hidden" name="BookID" value="@Model.BookID"/><input type="hidden" name="ChapterID" value="@reader.Chapter.ChapterID"/><input type="hidden" name="ID"/><input type="hidden" name="Version" value="0"/><input type="hidden" name="ContentVersion"/><input type="hidden" name="SceneID"/>
|
|
<input type="hidden" name="StartParagraph"/><input type="hidden" name="EndParagraph"/><input type="hidden" name="StartOffset"/><input type="hidden" name="EndOffset"/>
|
|
<div class="writer3-inline-field"><label for="review-observation">What have you noticed?</label><textarea id="review-observation" name="Observation" class="form-control" maxlength="10000" rows="4" required></textarea></div>
|
|
<div class="writer3-inline-field"><label for="review-decision">What would you like to change? (optional)</label><textarea id="review-decision" name="Decision" class="form-control" maxlength="10000" rows="3"></textarea></div>
|
|
<label for="review-scope">Scope</label><select id="review-scope" name="Scope" class="form-select"><option value="Chapter">Whole chapter</option><option value="Scene">Verified scene</option><option value="Passage">Selected accepted passage</option></select><p class="writer3-caption">Saved references stay attached to their original accepted version. Create another annotation to choose a different reference.</p>
|
|
<label for="review-classification">Classification</label><select id="review-classification" name="Classification" class="form-select">@foreach(var classification in PlotLine.Services.Writer.ReviewSave.Classifications){<option>@classification</option>}</select>
|
|
<label for="review-status">Your decision</label><select name="Status" id="review-status" class="form-select"><option value="Open">Needs attention</option><option value="Working">Working on it</option><option value="Resolved">Resolved</option><option value="Dismissed">Dismissed</option></select>
|
|
<p data-review-error role="alert" hidden></p><div class="button-row"><button class="btn btn-primary" type="submit" data-review-save>Save observation</button><button type="button" class="btn btn-outline-secondary" data-review-cancel>Cancel</button></div>
|
|
</form>
|
|
<button type="button" class="btn btn-sm btn-link" data-review-chapter>Use a chapter-level reference</button>
|
|
<div data-review-context aria-live="polite"><p>Loading recorded intentions and observations…</p></div>
|
|
</div>
|
|
}
|
|
</section></div></section>
|
|
<aside class="writer3-panel writer3-reference" tabindex="0" aria-label="Word Companion"><partial name="_WriterWord" model="word" /><details><summary>Saved assessments & story tools</summary><p>Annotations remain separate from automated findings. Opening Review runs no analysis.</p><a asp-controller="Books" asp-action="Details" asp-route-id="@Model.BookID">Saved analysis and review tools</a></details></aside>
|
|
</div>
|