|
a |
|
b/Web/templates/patientlogin.html |
|
|
1 |
<!DOCTYPE html> |
|
|
2 |
<html lang="en" > |
|
|
3 |
<head> |
|
|
4 |
<meta charset="UTF-8"> |
|
|
5 |
<title>PharmaCat | Patient Login</title> |
|
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
7 |
<link rel="icon" href="/static/img/favicon.png"> |
|
|
8 |
<link href='https://fonts.googleapis.com/css?family=Roboto:300,400' rel='stylesheet' type='text/css'><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> |
|
|
9 |
<link rel="stylesheet" type=text/css href="{{url_for('static',filename='css/login.css')}}" > |
|
|
10 |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> |
|
|
11 |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
|
|
12 |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> |
|
|
13 |
</head> |
|
|
14 |
<body> |
|
|
15 |
<!-- partial:index.partial.html --> |
|
|
16 |
<div id="back"> |
|
|
17 |
<div class="backRight"></div> |
|
|
18 |
<div class="backLeft"></div> |
|
|
19 |
</div> |
|
|
20 |
|
|
|
21 |
<div id="slideBox"> |
|
|
22 |
<div class="topLayer"> |
|
|
23 |
|
|
|
24 |
<!-- Left - Register Form --> |
|
|
25 |
<div class="left"> |
|
|
26 |
<div class="content"> |
|
|
27 |
<div class="login"> |
|
|
28 |
<div class="login-triangle"></div> |
|
|
29 |
<h2 class="login-header" style="color: #FFFFFF">Patient Sign Up</h2> |
|
|
30 |
<form method="post" action="{{ url_for('register') }}" style="height:420px;overflow-y:auto" class="login-container"> |
|
|
31 |
<p><input type="text" placeholder="Full Name" name="full_name"></p> |
|
|
32 |
<p><input type="text" placeholder="Username" name="username" /></p> |
|
|
33 |
<p><input type="text" placeholder="Email" name="email"></p> |
|
|
34 |
<p><input type="text" placeholder="Address" name="address"></p> |
|
|
35 |
<p><select placeholder="Blood Group" name="blood" style="padding: 10px;border:0px;font-size: 15px;outline: none;"> |
|
|
36 |
<option value="A+">A+</option> |
|
|
37 |
<option value="A-">A-</option> |
|
|
38 |
<option value="B+">B+</option> |
|
|
39 |
<option value="B-">B-</option> |
|
|
40 |
<option value="AB+">AB+</option> |
|
|
41 |
<option value="AB-">AB-</option> |
|
|
42 |
<option value="O+">O+</option> |
|
|
43 |
<option value="O-">O-</option> |
|
|
44 |
</select></p> |
|
|
45 |
<p><input type="text" placeholder="Age" name="age"></p> |
|
|
46 |
<p><input type="password" placeholder="Password" name="password" /></p> |
|
|
47 |
<p><input type="submit" value="Sign Up"></p> |
|
|
48 |
</form> |
|
|
49 |
</div> |
|
|
50 |
<button id="goLeft" class="on" style="background-color: white; margin-top:10px; margin-bottom: 10px">Login</button> |
|
|
51 |
</div> |
|
|
52 |
</div> |
|
|
53 |
|
|
|
54 |
<!-- End Register Form --> |
|
|
55 |
|
|
|
56 |
<!-- Right - Login Form --> |
|
|
57 |
<div class="right"> |
|
|
58 |
{% with messages = get_flashed_messages() %} |
|
|
59 |
{% for message in messages %} |
|
|
60 |
<div class="alert alert-success alert-dismissable" role="alert" style="margin-top: 20px; margin-right: 20px; margin-left: 20px"> |
|
|
61 |
<button class="close" type="button" data-dismiss="alert" aria-label="close"> |
|
|
62 |
<span aria-hidden="true">x</span> |
|
|
63 |
</button> |
|
|
64 |
{{message}} |
|
|
65 |
</div> |
|
|
66 |
{% endfor %} |
|
|
67 |
{% endwith %} |
|
|
68 |
<div class="content"> |
|
|
69 |
<div class="login"> |
|
|
70 |
<div class="login-triangle"></div> |
|
|
71 |
<h2 class="login-header" style="color: #FFFFFF">Patient Login</h2> |
|
|
72 |
<form method="post" action="{{ url_for('login') }}" class="login-container"> |
|
|
73 |
<p><input type="text" placeholder="Username" name="username"></p> |
|
|
74 |
<p><input type="password" placeholder="Password" name="password"></p> |
|
|
75 |
<p><input type="submit" value="Log in"></p> |
|
|
76 |
</form> |
|
|
77 |
</div> |
|
|
78 |
<button id="goRight" class="on" style="color:white; margin-top: 10px">Sign Up</button> |
|
|
79 |
</div> |
|
|
80 |
</div> |
|
|
81 |
<!-- End Login Form --> |
|
|
82 |
</div> |
|
|
83 |
</div> |
|
|
84 |
|
|
|
85 |
|
|
|
86 |
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> |
|
|
87 |
<script type="text/javascript" |
|
|
88 |
src="{{ url_for('static', filename='js/login.js') }}"></script> |
|
|
89 |
</body> |
|
|
90 |
</html> |
|
|
91 |
|
|
|
92 |
|