decentralized and customizable links page on top of atproto ligo.at
atproto link-in-bio python uv
at main 51 lines 2.0 kB view raw
1<!doctype html> 2<html> 3 <head> 4 <meta charset="utf-8" /> 5 <title>login &mdash; ligo.at</title> 6 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 7 <link rel="stylesheet" href="{{ url_for('static', filename='inter.css') }}" /> 8 <link rel="stylesheet" href="{{ url_for('static', filename='profile/default.css') }}" /> 9 <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" /> 10 <link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='favicon-16.png') }}" /> 11 <link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='favicon-32.png') }}" /> 12 <link rel="icon" type="image/png" sizes="48x48" href="{{ url_for('static', filename='favicon-48.png') }}" /> 13 </head> 14 <body> 15 <div class="wrapper login"> 16 <header> 17 <h1>ligo.at</h1> 18 <span class="tagline">log in to your account</span> 19 </header> 20 <form action="{{ url_for('auth_login') }}" method="post"> 21 <label> 22 <span>Handle</span> 23 <input type="text" name="username" placeholder="username.example.com" autocapitalize="off" spellcheck="false" required /> 24 </label> 25 <span class="faded caption"> 26 Use your AT Protocol handle to log in. 27 </span> 28 <input type="submit" value="continue" /> 29 </form> 30 31 {% if auth_servers %} 32 <div class="authservers"> 33 <span class="faded caption">If you're unsure you can log in with...</span> 34 <form action="{{ url_for('auth_login') }}" method="post"> 35 {% for server in auth_servers %} 36 <button type="submit" name="authserver" value="{{ server.url }}">{{ server.name }}</button> 37 {% endfor %} 38 </form> 39 </div> 40 {% endif %} 41 42 <footer> 43 <p> 44 <a href="/">home</a> 45 </p> 46 {% include "_footerlinks.html" %} 47 </footer> 48 </div> 49 <!-- .wrapper --> 50 </body> 51</html>