An atproto PDS written in Go
at main 1.2 kB view raw
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 <meta name="color-scheme" content="light dark" /> 7 <link rel="stylesheet" href="/static/pico.css" /> 8 <link rel="stylesheet" href="/static/style.css" /> 9 <title>PDS Authentication</title> 10 </head> 11 <body class="centered-body"> 12 <main class="container base-container box-shadow-container login-container"> 13 <h2>Sign into your account</h2> 14 <p>Enter your handle and password below.</p> 15 {{ if .flashes.errors }} 16 <div class="alert alert-danger margin-bottom-xs"> 17 <p>{{ index .flashes.errors 0 }}</p> 18 </div> 19 {{ end }} 20 <form action="/account/signin" method="post"> 21 <input name="username" id="username" placeholder="Handle" /> 22 <br /> 23 <input 24 name="password" 25 id="password" 26 type="password" 27 placeholder="Password" 28 /> 29 <input name="query_params" type="hidden" value="{{ .QueryParams }}" /> 30 <button class="primary" type="submit" value="Login">Login</button> 31 </form> 32 </main> 33 </body> 34</html>