| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>codegraph telemetry</title>
- <link rel="stylesheet" href="/styles.css" />
- </head>
- <body>
- <header class="masthead">
- <div>
- <h1>codegraph telemetry</h1>
- <p class="subtitle">Anonymous usage from the public engine, straight out of D1.</p>
- </div>
- <form method="post" action="/logout">
- <button type="submit" class="secondary">Sign out</button>
- </form>
- </header>
- <main>
- <!-- CG-13 replaces this section with the Chart.js views. Until then it is a
- live proof that the session gate, the D1 binding and the asset
- pipeline all work end to end. -->
- <section class="panel">
- <h2>Connection</h2>
- <dl class="facts">
- <dt>Database</dt>
- <dd id="db-status">Checking…</dd>
- <dt>Latest event</dt>
- <dd id="latest-event">—</dd>
- <dt>Latest rollup</dt>
- <dd id="latest-rollup">—</dd>
- <dt>Chart library</dt>
- <dd id="chart-status">Checking…</dd>
- </dl>
- </section>
- </main>
- <script src="/vendor/chart.umd.js"></script>
- <script type="module" src="/app.js"></script>
- </body>
- </html>
|