|
a |
|
b/templates/home.html |
|
|
1 |
<!DOCTYPE html> |
|
|
2 |
<html> |
|
|
3 |
<head> |
|
|
4 |
<title>Home Page</title> |
|
|
5 |
<style> |
|
|
6 |
body { |
|
|
7 |
background-color: #f5f5f5; |
|
|
8 |
font-family: Arial, sans-serif; |
|
|
9 |
text-align: center; |
|
|
10 |
margin: 0; |
|
|
11 |
padding: 0; |
|
|
12 |
} |
|
|
13 |
|
|
|
14 |
header { |
|
|
15 |
background-color: #333; |
|
|
16 |
color: #fff; |
|
|
17 |
padding: 20px; |
|
|
18 |
} |
|
|
19 |
|
|
|
20 |
h1 { |
|
|
21 |
font-size: 48px; |
|
|
22 |
margin: 0; |
|
|
23 |
} |
|
|
24 |
|
|
|
25 |
.container { |
|
|
26 |
max-width: 800px; |
|
|
27 |
margin: 0 auto; |
|
|
28 |
padding: 20px; |
|
|
29 |
} |
|
|
30 |
|
|
|
31 |
p { |
|
|
32 |
font-size: 24px; |
|
|
33 |
margin-top: 30px; |
|
|
34 |
margin-bottom: 30px; |
|
|
35 |
} |
|
|
36 |
|
|
|
37 |
a { |
|
|
38 |
background-color: #4CAF50; |
|
|
39 |
color: #fff; |
|
|
40 |
display: inline-block; |
|
|
41 |
padding: 10px 20px; |
|
|
42 |
text-decoration: none; |
|
|
43 |
border-radius: 5px; |
|
|
44 |
margin-top: 30px; |
|
|
45 |
font-size: 18px; |
|
|
46 |
transition: background-color 0.3s ease; |
|
|
47 |
} |
|
|
48 |
|
|
|
49 |
a:hover { |
|
|
50 |
background-color: #3e8e41; |
|
|
51 |
} |
|
|
52 |
|
|
|
53 |
.creators { |
|
|
54 |
font-size: 14px; |
|
|
55 |
color: #808080; |
|
|
56 |
margin-top: 50px; |
|
|
57 |
} |
|
|
58 |
|
|
|
59 |
</style> |
|
|
60 |
<link rel="icon" type="image/x-icon" href="https://img.icons8.com/color-glass/48/lungs.png"> |
|
|
61 |
</head> |
|
|
62 |
<body> |
|
|
63 |
<header> |
|
|
64 |
<h1>Welcome to my Machine Learning App</h1> |
|
|
65 |
</header> |
|
|
66 |
<div class="container"> |
|
|
67 |
<p>Fill out the form to get a prediction of Lung Cancer.</p> |
|
|
68 |
<a href="/form">Get Started</a> |
|
|
69 |
<div class="creators">Created by Hassan Mahmood, Hafiz Uzair Warsi, Muhammad Ibrahim, and Muneeb Sultan</div> |
|
|
70 |
</div> |
|
|
71 |
</body> |
|
|
72 |
</html> |