[e55501]: / templates / main.html

Download this file

154 lines (140 with data), 4.1 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Kidney Disease Prediction</title>
<style>
body {
font-family: Arial, sans-serif;
background-image: url('https://media.istockphoto.com/photos/human-kidney-cross-section-on-scientific-background-picture-id1003372082?k=20&m=1003372082&s=612x612&w=0&h=pRPCiJE2ljtMNP_T-du_9IjL-29GDt3Z9piLPIEO07o=');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
margin: 0;
padding: 0;
}
form {
background-color: rgba(255, 255, 255, 0.7);
}
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);
}
.form-container {
text-align: center;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 10px;
padding: 30px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.form-container h2 {
margin: 0;
font-size: 24px;
margin-bottom: 20px;
}
.form-container form {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.form-container .form-group {
flex-basis: calc(50% - 10px);
margin-bottom: 20px;
}
.form-container .form-group label {
display: block;
margin-bottom: 5px;
}
.form-container .form-group input[type="text"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.form-container input[type="submit"] {
padding: 10px 20px;
background-color: #333;
color: #fff;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.2s;
margin-top: 10px;
}
.form-container input[type="submit"]:hover {
background-color: #555;
}
</style>
</head>
<body>
<div id="header">
<h1>Kidney Disease Prediction</h1>
</div>
<div id="main">
<div class="form-container">
<h2>Predict Kidney Disease</h2>
<form action="/kidney/result">
<div class="form-group">
<label for="wc">WBC Count:</label>
<input type="text" id='wc' required name="wc"> <br> <br>
</div>
<div class="form-group">
<label for="bgr">Blood Glucose Random:</label>
<input type="text" id="bgr" required name="bgr"> <br> <br>
</div>
<div class="form-group">
<label for="bu">Blood Urea:</label>
<input type="text" id="bu" required name="bu"> <br> <br>
</div>
<div class="form-group">
<label for="sc">Serum Creatinine:</label>
<input type="text" id="sc" required name="sc"> <br> <br>
</div>
<div class="form-group">
<label for="pcv">Packed Cell Volume:</label>
<input type="text" id="pcv" required name="pcv"> <br> <br>
</div>
<div class="form-group">
<label for="al">Albumin:</label>
<input type="text" id="al" required name="al"> <br> <br>
</div>
<div class="form-group">
<label for="wc">Haemoglobin:</label>
<input type="text" id="hemo" required name="hemo"> <br> <br>
</div>
<div class="form-group">
<label for="age">Age:</label>
<input type="text" id="age" required name="age"> <br> <br>
</div>
<input type="submit" value="Submit">
<input type="button" value="Back to Home" onclick="window.location.href='mainpage'">
</form>
</div>
</div>
</body>
</html>