Switch to unified view

a b/BEPROJECTWEBSITE/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
    <!-- <label for="fname">Brca1</label> -->
47
    <input type="text" id="brca1" name="brca1" placeholder="BRCA1">
48
49
    <!-- <label for="lname">Brca2</label> -->
50
    <input type="text" id="brca2" name="brca2" placeholder="BRCA2">
51
52
    <!-- <label for="country">Tp53</label> -->
53
    <input type="text" id="tp53" name="tp53" placeholder="TP53">
54
  
55
    <input type="submit" value="Submit">
56
    <p style="margin-left: 40%;color:#ff1a8c;font-size: 18px; "><b>{{pred}}</b></p>
57
  </form>
58
</div>
59
<centre>
60
61
</body>
62
</html>