-
Notifications
You must be signed in to change notification settings - Fork 48
/
signIn.html
165 lines (143 loc) · 5.25 KB
/
signIn.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- ICONS -->
<script
src="https://kit.fontawesome.com/64d58efce2.js"
crossorigin="anonymous"
></script>
<!-- CSS -->
<link rel= "stylesheet" type= "text/css" href= "/style-login.css">
<title>Login & Registration</title>
<!-- FLASH
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<ul class=flashes>
{% for category, message in messages %}
<li class="{{ category }}">{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %} -->
</head>
<body>
<div class="container">
<div class="forms-container">
<div class="signin-signup">
<!-- LOGIN FORM -->
<form method = "POST" action="{{ url_for('login_page') }}" class="sign-in-form">
<h2 class="title">Sign in</h2>
<div class="input-field">
<i class="fas fa-user"></i>
<input type="text" placeholder="Username" />
</div>
<div class="input-field">
<i class="fas fa-lock"></i>
<input type="password" placeholder="Password" />
</div>
<!-- FORGOT PASSWORD -->
<div class='f-password'>
<h4 class="forgot-password"><a href="{{ url_for('forgot') }}" class="fp-link">Forgot Password?</a></h4>
</div>
<!-- FORGOT PASSWORD ENDS -->
<input type="submit" value="Login" class="btn solid" />
<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>
<!-- LOGIN FORM ENDS -->
<!-- REGISTRATION FORM -->
<form method = "POST" action="{{ url_for('register_page') }}" 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" />
</div>
<div class="input-field">
<i class="fas fa-user"></i>
<input type="text" placeholder="Full Name" />
</div>
<div class="input-field">
<i class="fas fa-map-marker-alt"></i>
<input type="text" placeholder="Address" />
</div>
<div class="input-field">
<i class="fas fa-mobile-alt"></i>
<!-- <input type="email" placeholder="Email" /> -->
<input type="text" placeholder="Phone Number" />
</div>
<div class="input-field">
<i class="fas fa-lock"></i>
<input type="password" placeholder="Password" />
</div>
<div class="input-field">
<i class="fas fa-lock"></i>
<input type="password" placeholder="Confirm Password" />
</div>
<input type="submit" class="btn" value="Sign up" />
<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>
<!-- REGISTRATION FORM ENDS -->
</div>
</div>
<div class="panels-container">
<!-- LOGIN PANEL -->
<div class="panel left-panel">
<div class="content">
<h3>New here?</h3>
<p>
Register yourself to access our services.
</p>
<button class="btn transparent" id="sign-up-btn">
Sign up
</button>
</div>
<img src="/images/log.svg" class="image" alt="" />
</div>
<!-- REGISTER PANEL -->
<div class="panel right-panel">
<div class="content">
<h3>One of us?</h3>
<p>
Already registered? then hop on & access our services.
</p>
<button class="btn transparent" id="sign-in-btn">
Sign in
</button>
</div>
<img src="/images/register.svg" class="image" alt="" />
</div>
</div>
</div>
<!-- JAVASCRIPT -->
<script src="/login.js"></script>
</body>
</html>