Switch back to using form-based login/logout
I've decided I want this application to be a progressive enhancement application. That means that I'm not going to keep dealing with the insanity that is Javascript bundling and transpiling and building the entire UI in JS. I want to believe I can treat the web the way that it's been designed for decades - as a document platform with enhancement capabilities rather than as an emerging VM
This commit is contained in:
parent
08814d6d9e
commit
ff9829d4d2
4 changed files with 45 additions and 25 deletions
9
templates/login.html
Normal file
9
templates/login.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% extends 'layout.html' %}
|
||||
{% block body %}
|
||||
<h1>Please log in</h1>
|
||||
<form action="/login/" method="POST">
|
||||
<label>username</label><input type="text" name="username"></input>
|
||||
<label>password</label><input type="password" name="password"></input>
|
||||
<input type="submit">Log in</input>
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue