summaryrefslogtreecommitdiff
path: root/dist/radiotoot/_internal/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'dist/radiotoot/_internal/templates/login.html')
-rw-r--r--dist/radiotoot/_internal/templates/login.html34
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>