|
a |
|
b/templates/userlog.html |
|
|
1 |
<!DOCTYPE html> |
|
|
2 |
<html> |
|
|
3 |
<head> |
|
|
4 |
<title>Intracranial Hemorrhage Detection - Login</title> |
|
|
5 |
<style> |
|
|
6 |
body { |
|
|
7 |
font-family: Arial, sans-serif; |
|
|
8 |
background-image: url("https://miro.medium.com/v2/resize:fit:1400/1*LZkjLWBOrXLCtQgOuS_LDw.jpeg"); /* Replace with the URL of your background image */ |
|
|
9 |
background-size: cover; |
|
|
10 |
background-position: center; |
|
|
11 |
background-repeat: no-repeat; |
|
|
12 |
} |
|
|
13 |
|
|
|
14 |
h1 { |
|
|
15 |
text-align: center; |
|
|
16 |
margin-top: 100px; |
|
|
17 |
color: #f90000; |
|
|
18 |
} |
|
|
19 |
|
|
|
20 |
form { |
|
|
21 |
width: 500px; |
|
|
22 |
margin: 50px auto; |
|
|
23 |
padding: 20px; |
|
|
24 |
background-color: #fff; |
|
|
25 |
border-radius: 10px; |
|
|
26 |
box-shadow: 0px 0px 10px #ccc; |
|
|
27 |
} |
|
|
28 |
|
|
|
29 |
label { |
|
|
30 |
display: block; |
|
|
31 |
font-size: 18px; |
|
|
32 |
margin-top: 20px; |
|
|
33 |
color: #666; |
|
|
34 |
} |
|
|
35 |
|
|
|
36 |
input[type="text"], input[type="password"] { |
|
|
37 |
width: 100%; |
|
|
38 |
padding: 10px; |
|
|
39 |
margin-top: 5px; |
|
|
40 |
margin-bottom: 20px; |
|
|
41 |
font-size: 16px; |
|
|
42 |
border-radius: 5px; |
|
|
43 |
border: 1px solid #ccc; |
|
|
44 |
box-sizing: border-box; |
|
|
45 |
} |
|
|
46 |
|
|
|
47 |
.btn { |
|
|
48 |
display: inline-block; |
|
|
49 |
padding: 10px 20px; |
|
|
50 |
font-size: 16px; |
|
|
51 |
font-weight: bold; |
|
|
52 |
text-align: center; |
|
|
53 |
text-decoration: none; |
|
|
54 |
background-color: #666; |
|
|
55 |
color: #fff; |
|
|
56 |
border-radius: 5px; |
|
|
57 |
transition: background-color 0.2s ease; |
|
|
58 |
} |
|
|
59 |
|
|
|
60 |
.btn:hover { |
|
|
61 |
background-color: #555; |
|
|
62 |
} |
|
|
63 |
|
|
|
64 |
.medical-image { |
|
|
65 |
display: block; |
|
|
66 |
margin: 0 auto; |
|
|
67 |
max-width: 100%; |
|
|
68 |
height: auto; |
|
|
69 |
border-radius: 10px; |
|
|
70 |
box-shadow: 0px 0px 10px #ccc; |
|
|
71 |
margin-top: 50px; |
|
|
72 |
margin-bottom: 50px; |
|
|
73 |
} |
|
|
74 |
</style> |
|
|
75 |
</head> |
|
|
76 |
<body> |
|
|
77 |
<h1>Intracranial Hemorrhage Detection</h1> |
|
|
78 |
<form method="POST" action="{{url_for('image')}}"> |
|
|
79 |
<label for="name">Name:</label> |
|
|
80 |
<input type="text" name="name" id="name" required> |
|
|
81 |
<br><br> |
|
|
82 |
<label for="password">Password:</label> |
|
|
83 |
<input type="password" name="password" id="password" required> |
|
|
84 |
<br><br> |
|
|
85 |
<div class="checkbox mb-3"> |
|
|
86 |
<a class="btn btn-sm btn-secondary" href="{{ url_for('trick') }}">Login</a> |
|
|
87 |
</div> |
|
|
88 |
</form> |
|
|
89 |
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTbnFVZssZDW2uXPg-1yf9QqVlWPPn5qog9kcZPwBPJNaWyO-x9z7tu40p6DKMOYjcFQyQ&usqp=CAU" class="medical-image"> <!-- Replace with the URL of your medical image --> |
|
|
90 |
</body> |
|
|
91 |
</html> |