bChaukar commited on
Commit
da1b1d3
·
verified ·
1 Parent(s): 54b318d

Update signin.html

Browse files
Files changed (1) hide show
  1. signin.html +28 -25
signin.html CHANGED
@@ -1,24 +1,20 @@
 
1
  <!DOCTYPE html>
2
  <html lang="en">
3
-
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
 
8
  <title>Sign In - RISE</title>
9
 
10
- <link rel="stylesheet" href="/RISE/blob/main/style.css">
11
  </head>
12
 
13
  <body>
 
 
14
 
15
- <div class="signup-container">
16
-
17
- <div class="signup-box">
18
-
19
- <div class="logo">
20
- RISE
21
- </div>
22
 
23
  <h1>Welcome back</h1>
24
 
@@ -26,19 +22,24 @@
26
  Sign in to continue your communication journey.
27
  </p>
28
 
29
- <form onsubmit="goToDashboard(event)">
30
-
31
- <label>Email Address</label>
32
  <input
 
 
33
  type="email"
34
  placeholder="Enter your email"
 
35
  required
36
  >
37
 
38
- <label>Password</label>
39
  <input
 
 
40
  type="password"
41
  placeholder="Enter your password"
 
42
  minlength="8"
43
  required
44
  >
@@ -46,23 +47,25 @@
46
  <button type="submit" class="primary-btn">
47
  Sign In
48
  </button>
49
-
50
  </form>
51
 
52
  <p class="login-text">
53
  Don't have an account?
54
- <a href="signup.html">Create Account</a>
55
  </p>
56
 
57
- </div>
 
58
 
59
- </div>
60
- <script>
61
- function goToDashboard(event) {
62
- event.preventDefault();
63
- window.location.href = "dashboard.html";
64
- }
65
- </script>
66
- </body>
67
 
68
- </html>
 
 
 
 
 
 
1
+
2
  <!DOCTYPE html>
3
  <html lang="en">
 
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
 
8
  <title>Sign In - RISE</title>
9
 
10
+ <link rel="stylesheet" href="/style.css">
11
  </head>
12
 
13
  <body>
14
+ <main class="signup-container">
15
+ <section class="signup-box">
16
 
17
+ <div class="logo">RISE</div>
 
 
 
 
 
 
18
 
19
  <h1>Welcome back</h1>
20
 
 
22
  Sign in to continue your communication journey.
23
  </p>
24
 
25
+ <form id="signin-form">
26
+ <label for="email">Email Address</label>
 
27
  <input
28
+ id="email"
29
+ name="email"
30
  type="email"
31
  placeholder="Enter your email"
32
+ autocomplete="email"
33
  required
34
  >
35
 
36
+ <label for="password">Password</label>
37
  <input
38
+ id="password"
39
+ name="password"
40
  type="password"
41
  placeholder="Enter your password"
42
+ autocomplete="current-password"
43
  minlength="8"
44
  required
45
  >
 
47
  <button type="submit" class="primary-btn">
48
  Sign In
49
  </button>
 
50
  </form>
51
 
52
  <p class="login-text">
53
  Don't have an account?
54
+ <a href="/signup.html">Create Account</a>
55
  </p>
56
 
57
+ </section>
58
+ </main>
59
 
60
+ <script>
61
+ document
62
+ .getElementById("signin-form")
63
+ .addEventListener("submit", function (event) {
64
+ event.preventDefault();
 
 
 
65
 
66
+ // Demo-only flow: this does not authenticate credentials.
67
+ window.location.href = "/dashboard.html";
68
+ });
69
+ </script>
70
+ </body>
71
+ </html>