ProjectOS / services /wallet /public /settings.html
Watchtower
Deploy GitHub main 67e6ec2 (PR #2: wallet UI, devices, settings)
1444c0a
Raw History Blame Contribute Delete
2.07 kB
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Settings — ProjectOS</title><link rel="icon" href="/favicon.svg" type="image/svg+xml"><link rel="stylesheet" href="/app.css"></head>
<body>
<header class="top" id="top"></header>
<main class="wrap">
<p class="eyebrow">SETTINGS <span class="rule"></span> KEYS</p><h1>Keys &amp; <span>setup</span></h1>
<div id="gate" class="card" hidden></div>
<div id="content" hidden>
<section class="card"><div class="label">STATUS</div><div id="summary" class="stack"></div></section>
<form id="setForm" class="card" style="margin-top:14px" autocomplete="off" novalidate>
<div class="label">STRIPE (TEST MODE ONLY)</div><div id="stripeFields"></div>
<p class="hint">Webhook endpoint to add in Stripe (test mode): <code id="whUrl"></code></p>
<div class="row"><button class="btn" type="button" id="testStripe">Test Stripe connection</button></div><div id="stripeMsg" class="msg" role="status"></div>
<div class="label" style="margin-top:22px">SUPABASE</div><div id="supaFields"></div>
<div class="row"><button class="btn" type="button" id="testSupa">Test Supabase connection</button><a class="btn" href="/api/admin/migrations.sql" download>Download SQL migrations</a></div><div id="supaMsg" class="msg" role="status"></div>
<div class="field"><label class="row" style="font-weight:500"><input type="checkbox" id="persist" style="width:auto"> <span id="persistLabel">Also save as Space secrets so they survive restarts</span></label></div>
<div class="row"><button class="primary" type="submit">Save settings</button></div><div id="saveMsg" class="msg" role="status"></div>
<p class="hint">Secret values are written to the server only and are never shown again — fields stay blank and only a masked tail is displayed. Leave a field blank to keep its current value.</p>
</form></div>
</main>
<footer id="status" class="foot">Checking status…</footer>
<script src="/common.js"></script><script src="/settings.js"></script>
</body></html>