a b/BE-PROJECT-1MODEL/templates/index.html
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<style>
5
input[type=text], select {
6
  width: 100%;
7
  padding: 12px 20px;
8
  margin: 8px 0;
9
  display: inline-block;
10
  border: 1px solid #ccc;
11
  border-radius: 20px;
12
  box-sizing: border-box;
13
}
14
15
input[type=submit] {
16
  width: 100%;
17
  background-color: #ff1a8c;
18
  color: white;
19
  padding: 14px 20px;
20
  margin: 8px 0;
21
  border: none;
22
  border-radius: 20px;
23
  cursor: pointer;
24
  font-weight: bold;
25
  font-size: 15px;
26
}
27
28
input[type=submit]:hover {
29
  background-color: #ff1a8c;
30
}
31
32
div {
33
  border-radius: 30px;
34
  background-color: #ffffff;
35
  padding: 20px;
36
  width:50%;
37
}
38
</style>
39
</head>
40
<body style="background-color: #ffe6e9;" >
41
42
<centre>
43
<div style="margin: 0% 25% 20% 23%">
44
  <center><b><h2 style="margin-top: 0; color:#ff1a8c;">BREAST CANCER PREDICTION MODEL</h2></b></center>
45
  <form action="{{ url_for('predict')}}", method="POST">
46
47
    <input type="text" id="brca1" name="brca1" placeholder="BRCA1">
48
49
    <input type="text" id="brca2" name="brca2" placeholder="BRCA2">
50
51
    <input type="text" id="PLAB2" name="PLAB2" placeholder="PLAB2">
52
53
    <input type="text" id="CHEK2" name="CHEK2" placeholder="CHEK2">
54
55
    <input type="text" id="CDH1" name="CDH1" placeholder="CDH1">
56
57
    <input type="text" id="PTEN" name="PTEN" placeholder="PTEN">
58
59
    <input type="text" id="STK11" name="STK11" placeholder="STK11">
60
61
    <input type="text" id="TP53" name="TP53" placeholder="TP53">
62
63
    <input type="text" id="ATM" name="ATM" placeholder="ATM">
64
65
    <input type="text" id="BARD1" name="BARD1" placeholder="BARD1">
66
67
    <input type="text" id="BRIP1" name="BRIP1" placeholder="BRIP1">
68
69
    <input type="text" id="CASP8" name="CASP8" placeholder="CASP8">
70
71
    <input type="text" id="CTLA4" name="CTLA4" placeholder="CTLA4">
72
73
    <input type="text" id="CYP19A1" name="CYP19A1" placeholder="CYP19A1">
74
75
    <input type="text" id="FGFR2" name="FGFR2" placeholder="FGFR2">
76
77
    <input type="text" id="LSP1" name="LSP1" placeholder="LSP1">
78
79
    <input type="text" id="MAP3K1" name="MAP3K1" placeholder="MAP3K1">
80
81
    <input type="text" id="MRE11A" name="MRE11A" placeholder="MRE11A">
82
83
    <input type="text" id="NBN" name="NBN" placeholder="NBN">
84
85
    <input type="text" id="RAD51" name="RAD51" placeholder="RAD51">
86
87
    <input type="text" id="TERT" name="TERT" placeholder="TERT">
88
89
    <input type="submit" value="Submit">
90
    <p style="margin-left: 40%;color:#ff1a8c;font-size:18px; "><b>{{pred}}</b></p>
91
  </form>
92
</div>
93
<centre>
94
95
</body>
96
</html>