+21
-2
appview/pages/templates/user/login.html
+21
-2
appview/pages/templates/user/login.html
···
16
<h1 class="text-center text-2xl font-semibold italic">
17
tangled
18
</h1>
19
<form
20
-
class="w-full"
21
hx-post="/login"
22
hx-swap="none"
23
hx-disabled-elt="this"
···
25
<div class="flex flex-col">
26
<label for="handle">handle</label>
27
<input type="text" id="handle" name="handle" required />
28
</div>
29
30
<div class="flex flex-col mt-2">
···
35
name="app_password"
36
required
37
/>
38
</div>
39
40
<button
···
46
</button>
47
</form>
48
<p class="text-sm text-gray-500">
49
-
Join our IRC channel: <a href="https://web.libera.chat/#tangled"><code>#tangled</code> on Libera Chat</a>.
50
</p>
51
<p id="login-msg" class="error w-full"></p>
52
</main>
···
16
<h1 class="text-center text-2xl font-semibold italic">
17
tangled
18
</h1>
19
+
<h2 class="text-center text-xl italic">
20
+
tightly-knit social coding.
21
+
</h2>
22
<form
23
+
class="w-full mt-4"
24
hx-post="/login"
25
hx-swap="none"
26
hx-disabled-elt="this"
···
28
<div class="flex flex-col">
29
<label for="handle">handle</label>
30
<input type="text" id="handle" name="handle" required />
31
+
<span class="text-xs text-gray-500 mt-1">
32
+
You need to use your
33
+
<a href="https://bsky.app">Bluesky</a> handle to log
34
+
in.
35
+
</span>
36
</div>
37
38
<div class="flex flex-col mt-2">
···
43
name="app_password"
44
required
45
/>
46
+
<span class="text-xs text-gray-500 mt-1">
47
+
Generate an app password
48
+
<a
49
+
href="https://bsky.app/settings/app-passwords"
50
+
target="_blank"
51
+
>here</a
52
+
>.
53
+
</span>
54
</div>
55
56
<button
···
62
</button>
63
</form>
64
<p class="text-sm text-gray-500">
65
+
Join our IRC channel:
66
+
<a href="https://web.libera.chat/#tangled"
67
+
><code>#tangled</code> on Libera Chat</a
68
+
>.
69
</p>
70
<p id="login-msg" class="error w-full"></p>
71
</main>