ProjectOS / services /wallet /public /index.html
Watchtower
Deploy GitHub main 67e6ec2 (PR #2: wallet UI, devices, settings)
1444c0a
Raw History Blame Contribute Delete
2.38 kB
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>ProjectOS — Wallet</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">WALLET <span class="rule"></span> PERSONAL</p>
<h1>Welcome back, <span>Architect</span></h1>
<section class="grid2">
<div class="card balance"><div class="label">WALLET BALANCE</div><div id="balance" class="big">—</div>
<div class="row"><button id="fund" class="primary">+ Add funds</button><input id="fundAmt" type="number" min="0.5" step="0.01" value="25" aria-label="Amount (USD)"></div>
<div id="fundMsg" class="msg" role="status"></div>
<div id="testCredit" class="hint" hidden>Stripe isn't set up yet. <button class="link" id="testCreditBtn" type="button">Add simulated test credit</button> (sign-in required) to try the wallet, or <a href="/settings">enter Stripe test keys</a>.</div></div>
<div class="card"><div class="label">PAY INVOICE</div>
<form id="payForm"><textarea id="qr" rows="4" placeholder='Paste QR payload: {"v":1,"invoice_id":"INV-1","merchant_id":"m1","amount":1200,"currency":"usd"} or projectos-invoice:?v=1&amp;...'></textarea>
<div class="row"><button class="primary" type="submit">Pay from balance</button><button class="btn" id="example" type="button">Fill example ($5.00)</button></div></form><div id="payMsg" class="msg" role="status"></div></div>
</section>
<section class="grid3" style="margin-bottom:14px">
<a class="card app" href="/devices" style="text-decoration:none;color:inherit"><strong>Phones &amp; devices</strong><small>Add or remove the phones linked to this wallet.</small></a>
<a class="card app" href="/settings" style="text-decoration:none;color:inherit"><strong>Settings &amp; keys</strong><small>Enter Stripe test keys and Supabase credentials.</small></a>
</section>
<section class="card"><div class="label">RECENT TRANSACTIONS</div><ul id="txs" class="txs"><li class="muted">Loading…</li></ul></section>
<h2>Apps</h2><section id="apps" class="apps"></section>
</main>
<footer id="status" class="foot">Checking status…</footer>
<script src="/common.js"></script><script src="/app.js"></script>
</body></html>