Spaces:
Runtime error
Runtime error
Rename templets/login.html to templets/index.html
Browse files- templets/index.html +30 -0
- templets/login.html +0 -0
templets/index.html
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Login Page</title>
|
| 7 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<div class="login-container">
|
| 11 |
+
<form action="/login" method="POST" class="login-form">
|
| 12 |
+
<h2>Login</h2>
|
| 13 |
+
<div class="input-group">
|
| 14 |
+
<label for="username">Username:</label>
|
| 15 |
+
<input type="text" id="username" name="username" required>
|
| 16 |
+
</div>
|
| 17 |
+
<div class="input-group">
|
| 18 |
+
<label for="password">Password:</label>
|
| 19 |
+
<input type="password" id="password" name="password" required>
|
| 20 |
+
</div>
|
| 21 |
+
<div class="button-group">
|
| 22 |
+
<button type="submit" class="login-button">Login</button>
|
| 23 |
+
</div>
|
| 24 |
+
{% if error %}
|
| 25 |
+
<div class="error">{{ error }}</div>
|
| 26 |
+
{% endif %}
|
| 27 |
+
</form>
|
| 28 |
+
</div>
|
| 29 |
+
</body>
|
| 30 |
+
</html>
|
templets/login.html
DELETED
|
File without changes
|