Subbu1304 commited on
Commit
7c9f80d
·
verified ·
1 Parent(s): da51523

Rename templets/index.html to templets/login.html

Browse files
Files changed (2) hide show
  1. templets/index.html +0 -30
  2. templets/login.html +20 -0
templets/index.html DELETED
@@ -1,30 +0,0 @@
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 ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ </head>
8
+ <body>
9
+ <h2>Login</h2>
10
+ <form action="/login" method="post">
11
+ <label for="username">Username:</label>
12
+ <input type="text" id="username" name="username" required>
13
+ <br><br>
14
+ <label for="password">Password:</label>
15
+ <input type="password" id="password" name="password" required>
16
+ <br><br>
17
+ <input type="submit" value="Login">
18
+ </form>
19
+ </body>
20
+ </html>