PlotDirector/PlotLine/Views/Shared/_WritingConnectionDetails.cshtml

22 lines
2.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<dialog id="writing-connection-details" class="writing-connection-dialog" aria-labelledby="writing-connection-title">
<div class="d-flex justify-content-between gap-3"><h2 id="writing-connection-title" class="h5">Word connection</h2><button type="button" class="btn btn-outline-secondary btn-sm" data-close-word-details>Close</button></div>
<p data-shared-focus-status role="status" hidden></p>
<p data-word-connection-description>Checking the Companion’s authenticated document heartbeat…</p>
<div data-word-document-picker>
<label for="writing-word-document">Document to follow</label>
<select id="writing-word-document" class="form-select"><option value="">Follow the active Word manuscript</option></select>
<button type="button" class="btn btn-outline-secondary btn-sm mt-2" data-word-return-to-current disabled>Show current Word scene</button>
</div>
<p class="small mt-2">Only current, authorised document sessions are listed. Saved story information remains available when Word is disconnected.</p>
<form action="/manuscript/paragraphs/snapshot" method="post" data-word-sync-form class="mb-3">
@Html.AntiForgeryToken()
<input type="hidden" name="bookId" data-word-sync-book />
<button type="submit" class="btn btn-primary" data-word-sync-button disabled>Synchronise from Word</button>
<button type="submit" class="btn btn-outline-primary mt-2" data-word-repair-button formaction="/manuscript/paragraphs/repair" disabled>Repair Manuscript Synchronisation</button>
<p class="small mt-2 mb-0" data-word-sync-feedback>Select a connected, saved manuscript to refresh its paragraph positions. Word prose is never rewritten and AI analysis is not started.</p>
</form>
<p data-word-connection-diagnostics class="small text-muted"></p>
<nav class="d-flex flex-wrap gap-3 mb-3" data-word-book-links hidden><a data-word-book-link target="_blank" rel="noopener">Open book workspace</a><a data-word-structure-link target="_blank" rel="noopener">Manuscript structure and evidence</a></nav>
<a href="/Writer" target="_blank" rel="noopener" class="btn btn-outline-secondary btn-sm">Workspace and display settings</a>
</dialog>