-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
159 lines (130 loc) · 4.3 KB
/
index.html
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
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div style="color:blue">
<form action="{{ url_for('predict')}}" method="post">
<h2>Predictive analysis</h2>
<h3>Year</h3>
<input id="first" name="Year" type="number ">
<h3>What is the Showroom Price?(In lakhs)</h3><br><input id="second" name="Present_Price" required="required">
<h3>How Many Kilometers Drived?</h3><input id="third" name="Kms_Driven" required="required">
<h3>How much owners previously had the car(0 or 1 or 3) ?</h3><br><input id="fourth" name="Owner" required="required">
<h3>What Is the Fuel type?</h3><br><select name="Fuel_Type_Petrol" id="fuel" required="required">
<option value="Petrol">Petrol</option>
<option value="Diesel">Diesel</option>
<option value="Diesel">CNG</option>
</select>
<h3>Are you A Dealer or Individual</h3><br><select name="Seller_Type_Individual" id="resea" required="required">
<option value="Dealer">Dealer</option>
<option value="Individual">Individual</option>
</select>
<h3>Transmission type</h3><br><select name="Transmission_Mannual" id="research" required="required">
<option value="Mannual">Manual Car</option>
<option value="Automatic">Automatic Car</option>
</select>
<br><br><button id="sub" type="submit ">Calculate the Selling Price</button>
<br>
</form>
<br><br><h3>{{ prediction_text }}<h3>
</div>
<style>
body {
background-color: lightslategray;
text-align: center;
padding: 0px;
}
#research {
font-size: 18px;
width: 100px;
height: 23px;
top: 23px;
}
#box {
border-radius: 60px;
border-color: 45px;
border-style: solid;
font-family: cursive;
text-align: center;
background-color: rgb(168, 131, 61);
font-size: medium;
position: absolute;
width: 700px;
bottom: 9%;
height: 850px;
right: 30%;
padding: 0px;
margin: 0px;
font-size: 14px;
}
#fuel {
width: 83px;
height: 43px;
text-align: center;
border-radius: 14px;
font-size: 20px;
}
#fuel:hover {
background-color: coral;
}
#research {
width: 99px;
height: 43px;
text-align: center;
border-radius: 14px;
font-size: 18px;
}
#research:hover {
background-color: coral;
}
#resea {
width: 99px;
height: 43px;
text-align: center;
border-radius: 14px;
font-size: 18px;
}
#resea:hover {
background-color: coral;
}
#sub {
width: 120px;
height: 43px;
text-align: center;
border-radius: 14px;
font-size: 18px;
}
#sub:hover {
background-color: darkcyan;
}
#first {
border-radius: 14px;
height: 25px;
font-size: 20px;
text-align: center;
}
#second {
border-radius: 14px;
height: 25px;
font-size: 20px;
text-align: center;
}
#third {
border-radius: 14px;
height: 25px;
font-size: 20px;
text-align: center;
}
#fourth {
border-radius: 14px;
height: 25px;
font-size: 20px;
text-align: center;
}
</style>
</body>
</html>