-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
110 lines (107 loc) · 3.92 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
src="https://kit.fontawesome.com/64d58efce2.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="style.css" />
<title>Sign in & Sign up Form</title>
<link rel = "icon" href ="./images/logo.png" type = "image/x-icon">
</head>
<body>
<div class="container">
<div class="forms-container">
<div class="signin-signup">
<form action="login.php" method="POST" class="sign-in-form">
<h2 class="title">Sign in</h2>
<div class="input-field">
<i class="fas fa-user"></i>
<input type="text" name="username" placeholder="Username" />
</div>
<div class="input-field">
<i class="fas fa-lock"></i>
<input type="password" name="password" placeholder="Password" />
</div>
<input type="submit" value="Login" name="signin" class="btn solid" />
</form>
<form action="register.php" method="POST" class="sign-up-form">
<h2 class="title">Sign up</h2>
<div class="input-field">
<i class="fas fa-user"></i>
<input type="text" placeholder="Username" name="username"/>
</div>
<div class="input-field">
<i class="fas fa-envelope"></i>
<input type="email" placeholder="Email" name="email"/>
</div>
<div class="input-field">
<i class="fas fa-lock"></i>
<input type="password" placeholder="Password" name="password" />
</div>
<div class="radio-input">
<div class="input-field">
<input type="radio" name="type" value="farmer">
<label>Farmer</label>
</div>
<div class="input-field">
<input type="radio" name="type" value="buyer">
<label>Buyer</label>
</div>
</div>
<input type="submit" class="btn" value="Sign up" name="signup" />
</form>
</div>
</div>
<div class="panels-container">
<div class="panel left-panel">
<div class="content">
<h3>Not yet a user?</h3>
<p>
"Signup now! It's quick and easy."
</p>
<button class="btn transparent" id="sign-up-btn">
Sign up
</button>
</div>
<img src="img/log.svg" class="image" alt="" />
</div>
<div class="panel right-panel">
<div class="content">
<h3>Already a user?</h3>
<p>
"Welcome,to Emandai!"
</p>
<button class="btn transparent" id="sign-in-btn">
Sign in
</button>
</div>
<img src="img/register.svg" class="image" alt="" />
</div>
</div>
</div>
<script src="app.js"></script>
</body>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.6.2/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="/__/firebase/8.6.2/firebase-database.js"></script>
<script>
var firebaseConfig = {
apiKey: "AIzaSyDyfM2BlpfQ6q-asi8CKZSmafZ9oJuRXoM",
authDomain: "e-mandai-b09a7.firebaseapp.com",
databaseURL: "https://e-mandai-b09a7-default-rtdb.firebaseio.com",
projectId: "e-mandai-b09a7",
storageBucket: "e-mandai-b09a7.appspot.com",
messagingSenderId: "731846385254",
appId: "1:731846385254:web:f79fdb0c7e7ae12e9b97a7",
measurementId: "G-0BQBWRE5F1"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
</html>