diff options
| author | doc <doc@filenotfound.org> | 2025-06-28 21:03:28 +0000 | 
|---|---|---|
| committer | doc <doc@filenotfound.org> | 2025-06-28 21:03:28 +0000 | 
| commit | 86ee174c9d81c0ed5672113fcd8e76cf30c671ec (patch) | |
| tree | 78336d6aee604dad9d385b275fff7016699bd33b /dist/radiotoot/_internal/templates/login.html | |
Diffstat (limited to 'dist/radiotoot/_internal/templates/login.html')
| -rw-r--r-- | dist/radiotoot/_internal/templates/login.html | 34 | 
1 files changed, 34 insertions, 0 deletions
diff --git a/dist/radiotoot/_internal/templates/login.html b/dist/radiotoot/_internal/templates/login.html new file mode 100644 index 0000000..9973dfd --- /dev/null +++ b/dist/radiotoot/_internal/templates/login.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +    <meta charset="UTF-8"> +    <meta name="viewport" content="width=device-width, initial-scale=1.0"> +    <title>Login</title> +</head> +<body> +    <h1>Login</h1> +    <form action="{{ url_for('login') }}" method="post"> +        {{ form.csrf_token }} +        <div> +            <label for="username">Username:</label> +            <input type="text" id="username" name="username" value="{{ form.username.data }}" required> +        </div> +        <div> +            <label for="password">Password:</label> +            <input type="password" id="password" name="password" required> +        </div> +        <div> +            <button type="submit">Login</button> +        </div> +    </form> +    {% with messages = get_flashed_messages() %} +        {% if messages %} +            <ul> +                {% for message in messages %} +                    <li>{{ message }}</li> +                {% endfor %} +            </ul> +        {% endif %} +    {% endwith %} +</body> +</html>  | 
