Link visual thread filters to the thread editor

This commit is contained in:
Codex 2026-12-05 18:14:05 +00:00
parent 3e1820ce5a
commit 55d58515b8
2 changed files with 5 additions and 1 deletions

View File

@ -70,7 +70,10 @@
<div>
@foreach (var thread in selectedThreads)
{
<label><input type="checkbox" name="threadId" value="@thread.PlotThreadID" checked="@Model.SelectedThreadIDs.Contains(thread.PlotThreadID)" data-plot-submit /> @thread.ThreadTitle <small>@thread.ContributionCount</small></label>
<div>
<label><input type="checkbox" name="threadId" value="@thread.PlotThreadID" checked="@Model.SelectedThreadIDs.Contains(thread.PlotThreadID)" data-plot-submit /> @thread.ThreadTitle <small>@thread.ContributionCount</small></label>
<a asp-controller="PlotThreads" asp-action="Edit" asp-route-id="@thread.PlotThreadID" aria-label="Edit thread: @thread.ThreadTitle">Edit</a>
</div>
}
</div>
</details>

View File

@ -13,6 +13,7 @@
.plot-unattributed-link { align-self: center; margin-left: auto; font-size: .9rem; }
.plot-thread-filter { margin-top: .75rem; font-size: .9rem; }
.plot-thread-filter > div { display: flex; flex-wrap: wrap; gap: .8rem; padding-top: .5rem; }
.plot-thread-filter > div > div { display: flex; align-items: center; gap: .35rem; }
.plot-thread-filter label { display: flex; gap: .35rem; align-items: center; }
.plot-thread-filter small { color: var(--bs-secondary-color); }
.plot-attribution-audit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }