diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-10-17 14:00:16 +0200 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-10-17 14:00:16 +0200 |
| commit | d1e59579ca19454369d56a8c7525e109a86841e2 (patch) | |
| tree | 695f348acca3a32c97512685384da818a3ba5195 /apps/accounts/templates | |
first commit
Diffstat (limited to 'apps/accounts/templates')
| -rw-r--r-- | apps/accounts/templates/accounts/login.html | 15 | ||||
| -rw-r--r-- | apps/accounts/templates/accounts/register.html | 18 |
2 files changed, 33 insertions, 0 deletions
diff --git a/apps/accounts/templates/accounts/login.html b/apps/accounts/templates/accounts/login.html new file mode 100644 index 0000000..5f11c28 --- /dev/null +++ b/apps/accounts/templates/accounts/login.html @@ -0,0 +1,15 @@ +{% extends 'base.html' %} + +{% block title %}Login - fsweb{% endblock %} + +{% block content %} +Log in. +<form method="post">{% csrf_token %} + <input name="username" type="text" placeholder="username"><br> + <input name="password" type="text" placeholder="password"><br> + <button type="submit">Log In</button> +</form> +Don't have an account? <a href="/accounts/register">Register</a> +<br> +Forgot your password? Unfortunate. +{% endblock %} diff --git a/apps/accounts/templates/accounts/register.html b/apps/accounts/templates/accounts/register.html new file mode 100644 index 0000000..213250f --- /dev/null +++ b/apps/accounts/templates/accounts/register.html @@ -0,0 +1,18 @@ +{% extends 'base.html' %} + +{% block title %}Login - fsweb{% endblock %} + +{% block content %} +Create account.<br> +<form method="post">{% csrf_token %} + <input name="username" type="text" placeholder="username"><br> + <input name="password1" type="text" placeholder="password"><br> + <input name="password2" type="text" placeholder="password confirmation"><br> + <input name="email" type="text" placeholder="email (optional)"><br> + <button type="submit">Register</button> +</form> +<br> +{{ form.errors }} +<br> +Already have an account? <a href="/accounts/login">Go to Login</a> +{% endblock %} |
