diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/auth/login.django | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/templates/auth/login.django b/templates/auth/login.django new file mode 100644 index 0000000..0fbdceb --- /dev/null +++ b/templates/auth/login.django @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>{{ Title }}</title> + <link rel="stylesheet" href="/static/css/style.css" /> + </head> + <body class="login-page"> + <div class="login-container"> + <h1>{{ AppName }}</h1> + <p class="subtitle">{{ AppDescription }}</p> + + {% if Error %} + <div class="error">{{ Error }}</div> + {% endif %} + + <form method="POST" action="{% url 'auth.login' %}"> + <div class="field"> + <label>Email</label> + <input type="email" name="email" required autofocus /> + </div> + + <div class="field"> + <label>Password</label> + <input type="password" name="password" required /> + </div> + + <button type="submit">Login</button> + </form> + + <footer> + {{ AppName }} - Powered by {{ AppEngine }} - © <a href="https://shi.foo" target="_blank" rel="noopener noreferrer">shi.foo</a> 2025 + </footer> + </div> + </body> +</html> |
