14 lines
3.3 KiB
Plaintext
14 lines
3.3 KiB
Plaintext
@model PlotLine.Models.WriterPlanningPage
|
||
@{ViewData["Title"]="Review writing activities";ViewData["ProjectSection"]="Writer";ViewData["ShellClass"]="pd-writer";}
|
||
<header data-pwa-task><h1>Review writing activities</h1><p>@Model.Plan.PlanName · @Model.Plan.BookName · @Model.Plan.StartDate.ToString("d MMM")–@Model.Plan.DeadlineDate.ToString("d MMM yyyy")</p></header>
|
||
<p>These candidates come from your actual chapters and scenes, without requiring manual tasks or status changes. Minutes are adjustable working budgets, not predicted completion times or a promise to fill every available hour. Known estimated scene length supplies a starting budget; otherwise 30 minutes is only a starting allocation.</p>
|
||
@if(Model.Scheduled.Count>0){<p>Saving replaces this plan’s uncompleted reviewed allocations after confirmation. Manual scene tasks are preserved. Completed reviewed activities require a new plan for another pass.</p>}
|
||
@if(Model.Error!=null){<p class="alert alert-warning" role="alert">@Model.Error</p>}
|
||
@if(Model.Candidates.Count==1000){<p class="alert alert-info">Showing the first 1,000 candidates. Use book-specific plans to keep this review manageable.</p>}
|
||
@if(Model.Candidates.Count==0){<p>@Model.EmptyReason</p>@if(Model.Plan.BookID.HasValue){<a asp-controller="Books" asp-action="Details" asp-route-id="@Model.Plan.BookID" asp-fragment="chapters">Review chapters and scenes</a>}else{<a asp-controller="Projects" asp-action="Details" asp-route-id="@Model.Plan.ProjectID">Review the project’s books</a>}<div class="button-row"><a asp-controller="Writer" asp-action="EditWritingPlan" asp-route-writingPlanId="@Model.WritingPlanID">Edit availability / deadline / blocked scenes</a><a asp-controller="Writer" asp-action="SchedulePreview" asp-route-writingPlanId="@Model.WritingPlanID">View existing schedule</a></div>}
|
||
else{
|
||
<form method="post" asp-action="Index"><input type="hidden" asp-for="WritingPlanID" />
|
||
<div class="table-responsive"><table class="table"><thead><tr><th>Include</th><th>Chapter / scene</th><th>Activity</th><th>Working budget (minutes)</th></tr></thead><tbody>
|
||
@for(var i=0;i<Model.Candidates.Count;i++){var row=Model.Candidates[i];<tr><td><input asp-for="Candidates[i].Selected" /><input type="hidden" asp-for="Candidates[i].ChapterID" /><input type="hidden" asp-for="Candidates[i].SceneID" /></td><td>@row.BookTitle · @row.Title <small>@row.RevisionStatus</small></td><td><select class="form-select" asp-for="Candidates[i].Kind"><option value="Draft">Draft</option><option value="Edit">Edit</option><option value="Plan">Plan</option><option value="Review">Read / review</option><option value="AudioReview">Audio Review</option></select></td><td><input class="form-control" type="number" min="5" max="1440" asp-for="Candidates[i].Minutes" /></td></tr>}
|
||
</tbody></table></div><label><input asp-for="Confirm" /> I have reviewed these activities and budgets. Allocate them within my saved availability.</label><div class="button-row mt-3"><button class="btn btn-primary">Commit reviewed schedule</button><a asp-controller="Writer" asp-action="EditWritingPlan" asp-route-writingPlanId="@Model.WritingPlanID">Edit availability / deadline</a><a asp-controller="Writer" asp-action="Index" asp-route-projectId="@Model.Plan.ProjectID" asp-route-bookId="@Model.Plan.BookID">Return to Writing</a></div></form>}
|