Skip to main content

ENTER_HTML

Constant ENTER_HTML 

Source
const ENTER_HTML: &str = r#"<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="no-referrer">
<title>Open AgentMux</title>
<link rel="stylesheet" href="/auth/enter.css">
</head>
<body>
<main>
<h1>AgentMux</h1>
<p id="msg">Opening&hellip;</p>
<p id="phrase" hidden></p>
<p id="hint" hidden>Compare this with the terminal where you ran <code>agentmux open</code>. Answer <code>y</code> there only if the two match: that keeps another user of this computer from opening your AgentMux.</p>
<form id="paste" hidden><label>Code from the terminal <input id="code" autocomplete="off" autocapitalize="off" spellcheck="false"></label> <button type="submit">Open</button></form>
</main>
<script src="/auth/enter.js"></script>
</body>
</html>
"#;