Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104{{ define "user/completeSignup" }} <!doctype html> <html lang="en" class="dark:bg-gray-900"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta property="og:title" content="complete signup · tangled" /> <meta property="og:url" content="https://tangled.org/complete-signup" /> <meta property="og:description" content="complete your signup for tangled" /> <script src="/static/htmx.min.js"></script> <link rel="manifest" href="/pwa-manifest.json" /> <link rel="stylesheet" href="/static/tw.css?{{ cssContentHash }}" type="text/css" /> <title>complete signup · tangled</title> </head> <body class="flex items-center justify-center min-h-screen"> <main class="max-w-md px-6 -mt-4"> <h1 class="flex place-content-center text-2xl font-semibold italic dark:text-white" > {{ template "fragments/logotype" }} </h1> <h2 class="text-center text-xl italic dark:text-white"> tightly-knit social coding. </h2> <form class="mt-4 max-w-sm mx-auto flex flex-col gap-4" hx-post="/signup/complete" hx-swap="none" hx-disabled-elt="#complete-signup-button" > <div class="flex flex-col"> <label for="code">verification code</label> <input type="text" id="code" name="code" tabindex="1" required placeholder="tngl-sh-foo-bar" /> <span class="text-sm text-gray-500 mt-1"> Enter the code sent to your email. </span> </div>
<div class="flex flex-col"> <label for="username">username</label> <input type="text" id="username" name="username" tabindex="2" required placeholder="jason" /> <span class="text-sm text-gray-500 mt-1"> Your complete handle will be of the form <code>user.tngl.sh</code>. </span> </div>
<div class="flex flex-col"> <label for="password">password</label> <input type="password" id="password" name="password" tabindex="3" required /> <span class="text-sm text-gray-500 mt-1"> Choose a strong password for your account. </span> </div>
<button class="btn-create w-full my-2 mt-6 text-base" type="submit" id="complete-signup-button" tabindex="4" > <span>complete signup</span> </button> </form> <p id="signup-error" class="error w-full"></p> <p id="signup-msg" class="dark:text-white w-full"></p> </main> </body> </html>{{ end }}