login.html
ASCII text
1{% extends "default.html" %} 2{% block title %}Log in | {{ site_name }}{% endblock %} 3{% block content %} 4<x-frame style="--width: 384px" class="vbox"> 5<h2>Log in</h2> 6<form action="/login" method="post" class="vbox"> 7<label> 8Username 9<input type="text" name="username" required> 10</label> 11<label> 12Password 13<input type="password" name="password" required> 14</label> 15<button type="submit">Log in</button> 16</form> 17<h2>Sign up</h2> 18<form action="/signup" method="post" class="vbox"> 19<label> 20Username 21<input type="text" name="username" required> 22</label> 23<label> 24Password 25<input type="password" name="password" required> 26</label> 27<button type="submit">Sign up</button> 28</form> 29</x-frame> 30{% endblock %}