[e55501]: / templates / mainpage.html

Download this file

104 lines (95 with data), 2.3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Health Monitoring System</title>
<style>
body {
font-family: Arial, sans-serif;
background-image: url('https://image.freepik.com/free-photo/black-stethoscope-medical-tool-healthcare-blue-wall-with-copy-space_103324-532.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
margin: 0;
padding: 0;
}
form {
background-color: transparent;
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea {
background-color: rgba(255, 255, 255, 0.7);
border: none;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
width: 100%;
box-sizing: border-box;
}
#header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
h1 {
margin: 0;
font-size: 28px;
}
#main {
display: flex;
justify-content: center;
align-items: center;
height: calc(100vh - 80px);
}
.option {
text-align: center;
background-color: #fff;
border-radius: 10px;
padding: 30px;
margin: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
.option:hover {
transform: scale(1.05);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.option h2 {
margin: 0;
font-size: 24px;
margin-bottom: 10px;
}
.option p {
margin: 0;
font-size: 16px;
color: #777;
}
</style>
</head>
<body>
<div id="header">
<h1>Health Monitoring System using Machine Learning</h1>
</div>
<div id="main">
<div class="option" onclick="location.href='/heart'">
<h2>Heart</h2>
<p>Monitor and track your heart health.</p>
</div>
<div class="option" onclick="location.href='/kidney'">
<h2>Kidney</h2>
<p>Monitor and track your kidney health.</p>
</div>
<div class="option" onclick="location.href='/lung'">
<h2>Lungs</h2>
<p>Monitor and track your lung health.</p>
</div>
</div>
<div id="header">
<h3>DONE BY ~GANESHA RAM~</h3>
</div>
</body>
</html>