c
File size: 3,758 Bytes
17c5137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{% extends 'base.html' %} {% block body %} {% include "nav_bar.html" %}
<style>
  /* Custom CSS to modify container size and background */
  body {
    background-image: linear-gradient(to right, #75ee71c7, #eceb84);
  }
</style>
<div
  class="container-fluid recommendation-input-container d-flex justify-content-center"
>
  <form class="row g-3" method="POST" action="/fertilizer_recommendation_output">
    <h3 class="text-center">AI-Powered Fertilizer Recommendations</h3>
    <div class="col-md-4" name="temperature">
      <label for="temperature" class="form-label">Temperature</label>
      <input
        type="number"
        class="form-control"
        id="temperature"
        name="temperature"
        placeholder="Enter the temperature Value"
      />
    </div>
    <div class="col-md-4" name="humidity">
      <label for="humidity" class="form-label">Humidity</label>
      <input
        type="number"
        class="form-control"
        id="humidity"
        name="humidity"
        placeholder="Enter the Humidity Value"
      />
    </div>
    <div class="col-md-4" name="moisture">
      <label for="moisture" class="form-label">Moisture</label>
      <input
        type="number"
        class="form-control"
        id="moisture"
        name="moisture"
        placeholder="Enter the Moisture Value"
      />
    </div>
    <div class="col-md-4" name="nitrogen">
      <label for="nitrogen" class="form-label">Nitrogen</label>
      <input
        type="number"
        class="form-control"
        id="nitrogen"
        name="nitrogen"
        placeholder="Enter the Nitrogen Value"
      />
    </div>
    <div class="col-md-4" name="potassium">
      <label for="potassium" class="form-label">Potassium</label>
      <input
        type="number"
        class="form-control"
        id="potassium"
        name="potassium"
        placeholder="Enter the Potassium Value"
      />
    </div>
    <div class="col-md-4" name="phosphorous">
      <label for="phosphorous" class="form-label">Phosphorous</label>
      <input
        type="number"
        class="form-control"
        id="phosphorous"
        name="phosphorous"
        placeholder="Enter the Phosphorous Value"
      />
    </div>
    <div class="col-md-6" name="soil_type">
      <label for="soil_type" class="form-label">Soil Type</label>
      <select id="soil_type" class="form-select" name="soil_type">
        <option selected>Select the Soil Type from the dropdown</option>
        <option value="Sandy">Sandy</option>
        <option value="Loamy">Loamy</option>
        <option value="Black">Black</option>
        <option value="Red">Red</option>
        <option value="Clayey">Clayey</option>
      </select>
    </div>
    <div class="col-md-6" name="crop_type">
      <label for="crop_type" class="form-label">Crop Type</label>
      <select id="crop_type" class="form-select" name="crop_type">
        <option selected>Select the Crop Type from the dropdown</option>
        <option value="Maize">Maize</option>
        <option value="Sugarcane">Sugarcane</option>
        <option value="Cotton">Cotton</option>
        <option value="Tobacco">Tobacco</option>
        <option value="Paddy">Paddy</option>
        <option value="Barley">Barley</option>
        <option value="Wheat">Wheat</option>
        <option value="Millets">Millets</option>
        <option value="Oil seeds">Oil seeds</option>
        <option value="Pulses">Pulses</option>
        <option value="Ground Nuts">Ground Nuts</option>
      </select>
    </div>
    <div class="d-grid gap-50 d-md-block">
      <button type="submit" class="btn btn-primary">Submit</button>
      <button type="reset" class="btn btn-primary">Clear</button>
    </div>
  </form>
</div>

{% endblock %}