PlotDirector/PlotLine/Views/Shared/_InvestigationCompanion.cshtml

15 lines
2.1 KiB
Plaintext

@model ApplicationNavigationViewModel
<aside class="pd-investigation" data-investigation-companion data-collapsed="true" data-user="@User.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier)?.Value" data-project="@Model.Project?.ProjectID" data-book="@Model.Book?.BookID"
data-summary-url="@Url.Action("Summary","InvestigationCompanion")" data-update-url="@Url.Action("Update","InvestigationCompanion")" data-open-url="@Url.Action("Open","InvestigationCompanion")" data-evidence-url="@Url.Action("Evidence","InvestigationCompanion")" data-start-url="@(Model.Book is not null ? Url.Action("Index","WriterInvestigations",new{bookId=Model.Book.BookID}) : Url.Action("Index","Writer",new{projectId=Model.Project?.ProjectID}))" aria-label="Investigation companion">
<button type="button" class="pd-investigation-tab" data-guidance-expand aria-label="Expand investigation companion" title="Expand investigation companion" aria-expanded="false" aria-controls="investigation-panel">Investigation</button>
<div class="plotline-help-drawer-panel pd-investigation-panel" id="investigation-panel">
<header class="plotline-help-drawer-header"><div><p class="eyebrow mb-0">Investigation</p><strong data-guidance-title>Your story concern</strong></div>
<div class="btn-group btn-group-sm" role="group" aria-label="Investigation panel controls"><button class="btn btn-outline-secondary" type="button" data-guidance-pin aria-pressed="true">Unpin</button><button class="btn btn-outline-secondary" type="button" data-guidance-collapse aria-label="Collapse investigation companion">Collapse</button></div>
</header>
<div class="plotline-help-drawer-content" data-guidance-content><p>Loading saved guidance…</p></div>
<p class="pd-guidance-message" role="status" data-guidance-message></p>
</div>
<form hidden data-guidance-token>@Html.AntiForgeryToken()</form>
</aside>
<div class="pd-investigation-splitter" data-guidance-resize role="separator" tabindex="0" aria-label="Resize investigation companion" aria-orientation="vertical" aria-valuemin="280" aria-valuemax="440" aria-valuenow="320" title="Drag to resize; use Left and Right arrow keys"></div>