-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
192 lines (168 loc) · 6.54 KB
/
index.html
File metadata and controls
192 lines (168 loc) · 6.54 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Here link of Style Sheet -->
<link rel="stylesheet" href="style.css" />
<title>Sign in & Sign up Form</title>
</head>
<body>
<div class="container">
<div class="forms-container">
<div class="signin-signup">
<!-- This is the Login Page And Show On the front Page. -->
<form id="sign-up-form" class="sign-in-form">
<h2 class="title">Sign in</h2>
<div id="login_form" class="myinputloginusername-contain">
<input type="email" id="username" name="email" autocomplete="off" value=""
aria-labelledby="placeholder-name" />
<label class="placeholder-text">
<div class="text">Email</div>
</label>
</div>
<div class="myinputloginpassword-contain">
<input type="password" id="password" name="password" autocomplete="off" value="" />
<label class="placeholder-text">
<div class="text">Password</div>
</label>
</div>
<button type="submit" id="submit" class="btn-login" onclick="login()">
Login
</button>
<p class="social-text">Or Sign in with social platforms</p>
<div class="social-media">
<a href="#" class="social-icon">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="social-icon">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="social-icon">
<i class="fab fa-google"></i>
</a>
<a href="#" class="social-icon">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</form>
<!-- Here the Login Page End Here -->
<!-- Form Signup starting Here -->
<form class="sign-up-form" id="sign-up-form-new">
<h2 class="title1">Sign up</h2>
<div class="myinputemail-contain">
<input type="email" id="ename" name="ename" autocomplete="off" value=""
aria-labelledby="placeholder-yname" />
<label class="placeholder-text-email" for="fname" id="placeholder-yname">
<div class="text-email">Email</div>
</label>
</div>
<div class="myinput-contain">
<input type="text" id="fname" name="fname" autocomplete="off" value=""
aria-labelledby="placeholder-fname" oninput="lettersonly(this)" />
<label class="placeholder-text">
<div class="text">Name</div>
</label>
</div>
<div class="myinputpassword-contain">
<input type="text" id="country_name" name="country_name" autocomplete="off" value=""
aria-labelledby="placeholder-pname" oninput="lettersonly(this)" />
<label class="placeholder-text-password" for="fname" id="placeholder-country_name">
<div class="text-password">Country</div>
</label>
</div>
<div class="myinputpassword-contain">
<input type="text" id="city_name" name="city_name" autocomplete="off" value=""
aria-labelledby="placeholder-pname" oninput="lettersonly(this)" />
<label class="placeholder-text-password" for="fname" id="placeholder-city_name">
<div class="text-password">City</div>
</label>
</div>
<div class="myinputpassword-contain">
<input type="password" id="pname" name="pname" autocomplete="off" value=""
aria-labelledby="placeholder-pname" />
<label class="placeholder-text-password" for="fname" id="placeholder-pname">
<div class="text-password">Password</div>
</label>
</div>
<button class="btn" type="submitnewdata" id="signup" onclick="Signp()">
Sign up
</button>
<p class="social-text">Or Sign up with social platforms</p>
<div class="social-media">
<a href="#" class="social-icon">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="social-icon">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="social-icon">
<i class="fab fa-google"></i>
</a>
<a href="#" class="social-icon">
<i class="fab fa-linkedin-in"></i>
</a>
</div>
</form>
<!-- Form Signup End Here -->
</div>
</div>
<div class="panels-container">
<!-- Left Front panel Showing here. -->
<div class="panel left-panel">
<div class="content">
<h3>New here ?</h3>
<p>
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Debitis,
ex ratione. Aliquid!
</p>
<button class="btn transparent" id="sign-up-btn">Sign up</button>
</div>
<img src="img/log.svg" class="image" alt="" />
</div>
<!-- Left Front panel End here. -->
<!-- Right panel Showing here. -->
<div class="panel right-panel">
<div class="content">
<h3>One of us ?</h3>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Nostrum
laboriosam ad deleniti.
</p>
<button class="btn transparent" id="sign-in-btn">Sign in</button>
</div>
<img src="img/register.svg" class="image" alt="" />
</div>
<!-- Right panel End here. -->
</div>
</div>
<!-- Fonts Link -->
<script src="https://kit.fontawesome.com/64d58efce2.js" crossorigin="anonymous"></script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<!-- Here the Firebase database Links here -->
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-database.js"></script>
<!-- Sweetalert2-theme Link Here. -->
<link rel="stylesheet" href="plugins/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css" />
<!-- Sweetalert2-theme Styling Link Here. -->
<script src="plugins/jquery/jquery.min.js"></script>
<!-- SweetAlert2 -->
<script src="plugins/sweetalert2/sweetalert2.min.js"></script>
<!-- This is another link toastr -->
<script src="plugins/toastr/toastr.min.js"></script>
<!-- This is styling link toastr -->
<link rel="stylesheet" href="plugins/toastr/toastr.min.css" />
<!-- This the bootstrap link -->
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Validation Links -->
<script src="plugins/jquery-validation/jquery.validate.min.js"></script>
<script src="plugins/jquery-validation/additional-methods.min.js"></script>
<script src="firebase.js"></script>
<script src="signup.js"></script>
<script src="script.js"></script>
</body>
</html>
<!-- "^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$" -->
<!-- [a-zA-Z](?=.*[0-9])\w{8,}$ -->