File size: 2,384 Bytes
409aa8e
 
1444c0a
409aa8e
1444c0a
409aa8e
 
 
 
 
 
1444c0a
 
409aa8e
 
1444c0a
 
 
 
 
409aa8e
 
 
 
 
1444c0a
409aa8e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!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>