17 lines
1.0 KiB
Plaintext

@model string
@{ Layout = null; }
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Connect Word Companion</title><link rel="stylesheet" href="/lib/bootstrap/dist/css/bootstrap.min.css"/></head><body>
<div class="container py-4" style="max-width:45rem">
<h1>Connect Word Companion</h1>
<p>Approve only if you just chose Connect in your own Word Companion. This grants access to your available books and allows chapter text you explicitly submit to use PlotDirector's configured AI provider.</p>
<p>Request code: <strong>@Model.Substring(Math.Max(0, Model.Length - 6))</strong>. Compare this with the Companion request before approving.</p>
<p>No manuscript is uploaded by signing in. The connection expires after four hours.</p>
<form method="post" action="/native-companion/authorize">
@Html.AntiForgeryToken()
<input type="hidden" name="code" value="@Model" />
<button type="submit" class="btn btn-primary">Approve this Word Companion connection</button>
</form>
</div>
</body></html>