[1be9b6]: / BEPROJECTWEBSITE / templates / index.html

Download this file

63 lines (54 with data), 1.4 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
<!DOCTYPE html>
<html>
<head>
<style>
input[type=text], select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 20px;
box-sizing: border-box;
}
input[type=submit] {
width: 100%;
background-color: #ff1a8c;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 20px;
cursor: pointer;
font-weight: bold;
font-size: 15px;
}
input[type=submit]:hover {
background-color: #ff1a8c;
}
div {
border-radius: 30px;
background-color: #ffffff;
padding: 20px;
width:50%;
}
</style>
</head>
<body style="background-color: #ffe6e9;" >
<centre>
<div style="margin: 0% 25% 20% 23%">
<center><b><h2 style="margin-top: 0; color:#ff1a8c;">BREAST CANCER PREDICTION MODEL</h2></b></center>
<form action="{{ url_for('predict')}}", method="POST">
<!-- <label for="fname">Brca1</label> -->
<input type="text" id="brca1" name="brca1" placeholder="BRCA1">
<!-- <label for="lname">Brca2</label> -->
<input type="text" id="brca2" name="brca2" placeholder="BRCA2">
<!-- <label for="country">Tp53</label> -->
<input type="text" id="tp53" name="tp53" placeholder="TP53">
<input type="submit" value="Submit">
<p style="margin-left: 40%;color:#ff1a8c;font-size: 18px; "><b>{{pred}}</b></p>
</form>
</div>
<centre>
</body>
</html>