File size: 1,290 Bytes
46d9e41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
29
30
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Signing in · LocalWebAgent</title>
  <meta name="color-scheme" content="dark light">
  <link rel="icon" href="icon.svg" type="image/svg+xml">
  <style>
    :root { --bg: #fafafa; --text: #09090b; --text-2: #52525b; --ok: #16a34a; --bad: #dc2626; }
    @media (prefers-color-scheme: dark) { :root { --bg: #0c0c0e; --text: #ececef; --text-2: #a1a1aa; --ok: #3fb950; --bad: #f85149; } }
    body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--bg); color: var(--text);
      font: 14px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; padding: 16px; box-sizing: border-box; }
    main { text-align: center; max-width: 360px; }
    img { width: 56px; height: 56px; }
    h1 { font-size: 17px; margin: 14px 0 4px; }
    p { margin: 0; color: var(--text-2); }
    .ok { color: var(--ok); } .bad { color: var(--bad); }
  </style>
</head>
<body>
  <main>
    <img src="icon.svg" alt="">
    <h1 id="title">Signing in with Hugging Face…</h1>
    <p id="msg">Finishing up. This window closes by itself.</p>
  </main>
  <script type="module" src="js/oauth-callback.js"></script>
</body>
</html>