-
Notifications
You must be signed in to change notification settings - Fork 0
/
fertilizer.html
196 lines (168 loc) · 5.77 KB
/
fertilizer.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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="en">
<head>
<title>FarmingTon - Fertilizer Suggestion</title>
<link rel="shortcut icon" href="images/fav.png" />
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="keywords" content="Agro Harvest Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script>
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
}
</script>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<!-- bootstrap css -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<!-- custom css -->
<link href="css/font-awesome.min.css" rel="stylesheet"><!-- fontawesome css -->
<!-- //css files -->
<script type="text/JavaScript" src="scripts/cities.js"></script>
<!-- google fonts -->
<link href="//fonts.googleapis.com/css?family=Thasadith:400,400i,700,700i&subset=latin-ext,thai,vietnamese"
rel="stylesheet">
<!-- //google fonts -->
<style>
header {
background-color: rgba(30, 30, 30, 1);
margin-top: 0rem;
display: block;
}
</style>
</head>
<body>
<!-- Nav -->
<nav id="home" class="navbar navbar-expand-lg navbar-dark bg-dark pb-3 py-3">
<a class="navbar-brand font-weight-bold" href="#">FarmingTon</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto px-3">
<li class="nav-item px-1">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="crop.html">Crop</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="#">Fertilizer<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="disease.html">Disease</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button type="button" class="btn btn-success">Search</button>
</form>
</div>
</nav>
<style>
html body {
background-color: rgb(206, 206, 228);
}
</style>
<!--Form Section-->
<br /><br />
<h2 style="text-align: center; margin: 0px; color: black">
<b>Receive knowledgeable recommendations for fertilizer depending on your soil</b>
</h2>
<br />
<div style="
width: 350px;
height: 40rem;
margin: 0px auto;
color: black;
border-radius: 25px;
padding: 10px 10px;
">
<form method="POST" action="/fertilizer-predict">
<div class="form-group">
<label for="Nitrogen" style="font-size: 17px"><b>Nitrogen</b></label>
<input type="number" class="form-control" id="Nitrogen" name="nitrogen"
placeholder="Enter the value (example:50)" style="font-weight: bold" required />
</div>
<div class="form-group">
<label for="Phosphorous" style="font-size: 17px"><b>Phosphorous</b></label>
<input type="number" class="form-control" id="Phosphorous" name="phosphorous"
placeholder="Enter the value (example:50)" style="font-weight: bold" required />
</div>
<div class="form-group">
<label for="Pottasium" style="font-size: 17px"><b>Pottasium</b></label>
<input type="number" class="form-control" id="Pottasium" name="pottasium"
placeholder="Enter the value (example:50)" style="font-weight: bold" required />
</div>
<div class="form-group">
<label for="crop" style="font-size: 17px"><b>Crop you want to grow</b></label>
<select name="cropname" class="form-control" id="crop" placeholder="Select a crop"
style="font-weight: bold" required>
<option selected>Select crop</option>
<option>rice</option>
<option>maize</option>
<option>chickpea</option>
<option>kidneybeans</option>
<option>pigeonpeas</option>
<option>mothbeans</option>
<option>mungbean</option>
<option>blackgram</option>
<option>lentil</option>
<option>pomegranate</option>
<option>banana</option>
<option>mango</option>
<option>grapes</option>
<option>watermelon</option>
<option>muskmelon</option>
<option>apple</option>
<option>orange</option>
<option>papaya</option>
<option>coconut</option>
<option>cotton</option>
<option>jute</option>
<option>coffee</option>
</select>
</div>
<div class="d-flex justify-content-center">
<button type="submit" class="btn btn-info" style="
color: black;
font-weight: bold;
width: 130px;
height: 50px;
border-radius: 12px;
font-size: 21px;
">
Predict
</button>
</div>
</form>
</div>
<!-- footer -->
<footer class="text-center py-4">
<div class="container py-md-3">
<!-- logo -->
<h2 class="logo2 text-center">
<a href="#home">
FarmingTon
</a>
</h2>
<br>
<div class="w3l-copy text-center">
<p class="text-da">An Environmental Startup<br> </p>
</div>
<p class="home">
<p>Made with ❤️ by Divyansh Saxena</p>
<p>© Copyright 2022</p>
</div>
</footer>
<!-- //footer -->
<!-- move top icon -->
<a href="#home" class="move-top text-center"></a>
<!-- //move top icon -->
</body>
</html>