SPB Git

Repository Public

index.html 3.5 KB 76 lines html

1<!doctype html>2<html lang="en">3<head>4  <meta charset="utf-8">5  <meta name="viewport" content="width=device-width, initial-scale=1">6  <title>Brocante — second-hand marketplace (MacLustr Identity demo)</title>7  <link rel="stylesheet" href="/styles.css">8</head>9<body>10  <header class="mast">11    <div class="mast-in">12      <p class="brand"><span class="brand-mark" aria-hidden="true"></span>Brocante</p>13      <p class="tag">Second-hand, first-rate. A demo application for MacLustr Identity.</p>14      <div id="session" class="session" aria-live="polite"></div>15    </div>16  </header>1718  <main class="wrap">19    <section id="login" class="card" hidden>20      <h1>Pick a demo seller</h1>21      <p class="muted">There is no password: this is a demonstration. Each seller has their own verification status.</p>22      <div id="users" class="row"></div>23    </section>2425    <section id="seller" hidden>26      <div class="card" id="status-card">27        <h1>Your seller account</h1>28        <p id="status-line" class="status" aria-live="polite"></p>29        <p id="status-help" class="muted"></p>30        <div class="row">31          <button id="verify" class="btn primary" type="button">Verify my identity</button>32          <button id="refresh" class="btn" type="button">Check again</button>33        </div>34        <p id="flow-message" class="notice" role="status" hidden></p>35        <p class="fine">You will be asked for an identity document on a page operated by MacLustr Identity. Brocante never36          receives your document or your photo: only "verified or not", the level of the check and its expiry date.</p>37      </div>3839      <div class="card">40        <h2>New listing</h2>41        <p class="muted">You can write a draft at any time. Publishing requires a verified identity.</p>42        <form id="new-listing" class="form">43          <label>Title <input name="title" required maxlength="80" placeholder="Oak writing desk, 1960s"></label>44          <label>Price (CAD) <input name="price" required type="number" min="0" step="0.01" placeholder="240"></label>45          <button class="btn" type="submit">Save draft</button>46        </form>47        <h2>Your listings</h2>48        <ul id="mine" class="list"></ul>49        <p id="publish-message" class="notice" role="alert" hidden></p>50      </div>51    </section>5253    <section class="card">54      <h2>Listings on Brocante</h2>55      <ul id="public" class="list public"></ul>56      <details class="explain">57        <summary>What does "Identity verified" mean?</summary>58        <div>59          <p><strong>What it certifies.</strong> The seller completed an identity check with MacLustr Identity: an identity60            document was examined (and, depending on the method, compared with the person presenting it). The check is61            valid for a limited time and can be revoked.</p>62          <p><strong>What it does not certify.</strong> It is not proof that the seller owns the item, has the right to sell63            or advertise it, or that the listing is accurate. It says nothing about the seller's reliability, and it is64            not an endorsement by Brocante. Stay careful with any transaction.</p>65          <p><strong>What you will never see.</strong> No name, document number, date of birth, address or photo is shown,66            because Brocante does not have them.</p>67        </div>68      </details>69    </section>70  </main>7172  <footer class="foot">Demo application. Sandbox verifications are simulated and never involve a real document.</footer>73  <script type="module" src="/app.js"></script>74</body>75</html>76
Files main
Menu

Theme