In Theseus, Pithos now links the person's Theseus ID to their hosted account by itself, once, right after signing in to Silent Mode (or on the first look at an account already signed in): one consent prompt, then Pithos is listed under Settings › Theseus ID. On a Theseus without the add-on API it does nothing, so the add-on can ship before the Theseus release that carries it. The gateway serves /console on its own origin: sign in with the Theseus ID and see the account's state, sign-up, usage and Theseus ID, with a console session that cannot reach files. Three fixed files under a CSP that allows only this origin. The bundled copy in TheseusNavigator/bundled-addons/pithos is rebuilt from Pithos/ with no version bump; the release that ships it bumps the version.
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Pithos account</title>
|
|
<link rel="stylesheet" href="/console/console.css">
|
|
<script type="module" src="/console/console.js"></script>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1>Pithos account</h1>
|
|
<p class="lead">Your Pithos on Silent Mode account: how much it has used and how it was opened. Signing in with your Theseus ID shows the account only. Your files stay locked to the key in your Theseus Vault, so nothing here can open them.</p>
|
|
|
|
<section id="signed-out" hidden>
|
|
<button id="signin" type="button">Sign in with Theseus ID</button>
|
|
<p id="no-theseus" class="note" hidden>Open this page in Theseus to sign in. Signing in from other browsers through the Theseus ID login service is coming.</p>
|
|
<p class="note">The first time, open Pithos in Theseus and sign in to your drives on Silent Mode: that links your Theseus ID to the account.</p>
|
|
</section>
|
|
|
|
<section id="signed-in" hidden>
|
|
<dl id="facts"></dl>
|
|
<button id="signout" type="button" class="secondary">Sign out</button>
|
|
</section>
|
|
|
|
<p id="status" role="status" aria-live="polite"></p>
|
|
</main>
|
|
</body>
|
|
</html>
|