forked from omroy07/AgriTech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcropCalendar.html
More file actions
196 lines (175 loc) · 5.54 KB
/
cropCalendar.html
File metadata and controls
196 lines (175 loc) · 5.54 KB
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>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Interactive Crop Calendar</title>
<!-- Favicon -->
<link rel="icon" type="image/png" href="images/logo.png" />
<!-- Stylesheets -->
<link rel="stylesheet" href="cropCalendar.css" />
<link rel="stylesheet" href="theme.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
</head>
<body>
<!-- Header -->
<header>
<h1>Interactive Crop Calendar</h1>
<div class="header-actions">
<button class="theme-toggle" aria-label="Toggle dark/light mode">
<i class="fas fa-sun sun-icon"></i>
<i class="fas fa-moon moon-icon"></i>
<span class="theme-text">Light</span>
</button>
<a href="main.html" class="back-btn">⬅ Back</a>
</div>
</header>
<!-- Main -->
<main>
<div class="filter-container">
<label for="cropSelect"><strong>Choose a Crop:</strong></label>
<select id="cropSelect">
<option value="all">All Crops</option>
<option value="Wheat">Wheat</option>
<option value="Rice">Rice</option>
<option value="Maize">Maize</option>
<option value="Barley">Barley</option>
<option value="Sugarcane">Sugarcane</option>
<option value="Cotton">Cotton</option>
<option value="Groundnut">Groundnut</option>
<option value="Soybean">Soybean</option>
<option value="Pulses">Pulses</option>
<option value="Mustard">Mustard</option>
<option value="Sunflower">Sunflower</option>
<option value="Jute">Jute</option>
</select>
</div>
<div class="legend">
<span class="legend-item sow"><span>🌱</span> Sowing</span>
<span class="legend-item grow"><span>🌿</span> Growing</span>
<span class="legend-item harvest"><span>🌾</span> Harvesting</span>
</div>
<div class="calendar-wrapper">
<div class="calendar" id="calendar"></div>
</div>
</main>
<script src="cropCalendar.js"></script>
<script src="theme.js"></script>
<style>
.site-footer {
background: linear-gradient(135deg, #2e7d32, #66bb6a);
color: #fff;
margin-top: auto;
padding: 2rem 1.25rem;
}
.site-footer .footer-inner {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1.5rem;
align-items: flex-start;
}
.footer-brand {
display: flex;
flex-direction: column;
gap: .5rem
}
.footer-logo {
width: 48px;
height: 48px;
border-radius: 8px;
object-fit: cover;
background: #fff;
padding: 4px
}
.site-footer h3,
.site-footer h4 {
margin: 0 0 .5rem 0
}
.site-footer p {
margin: 0;
opacity: .9
}
.site-footer ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: .4rem
}
.site-footer a {
color: #fff;
text-decoration: none;
opacity: .9;
transition: opacity .2s
}
.site-footer a:hover {
opacity: 1;
text-decoration: underline
}
.footer-bottom {
max-width: 1200px;
margin: 1rem auto 0;
padding-top: 1rem;
border-top: 1px solid rgba(255, 255, 255, .25);
text-align: center;
font-size: .9rem;
opacity: .9
}
.social-media {
display: flex;
gap: 1rem;
margin-top: .5rem
}
.social-media a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, .1);
border-radius: 50%;
transition: all .3s ease;
font-size: 1.2rem
}
.social-media a:hover {
background: rgba(255, 255, 255, .2);
transform: translateY(-2px)
}
</style>
<footer class="site-footer">
<div class="footer-inner">
<div class="footer-brand"> <img src="images/logo.png" alt="AgriTech logo" class="footer-logo">
<h3>AgriTech</h3>
<p>Empowering India's Farming Future</p>
<div class="social-media"> <a href="https://instagram.com" target="_blank" aria-label="Follow us on Instagram">
<i class="fab fa-instagram"></i> </a> <a href="https://github.com/omroy07" target="_blank"
aria-label="View our GitHub repositories"> <i class="fab fa-github"></i> </a> <a
href="https://www.linkedin.com/in/om-roy-3b809628a/" target="_blank"
aria-label="Connect with us on LinkedIn"> <i class="fab fa-linkedin"></i> </a> </div>
</div>
<div class="footer-links">
<h4>Quick Links</h4>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="main.html">Dashboard</a></li>
<li><a href="feed-back.html">Feedback</a></li>
<li><a href="chat.html">AI Assistant</a></li>
</ul>
</div>
<div class="footer-links">
<h4>Tools</h4>
<ul>
<li><a href="Crop Recommendation/templates/index.html">Crop Recommendation</a></li>
<li><a href="Crop Yield Prediction/crop_yield_app/templates/index.html">Yield Prediction</a></li>
<li><a href="Disease prediction/template/index.html">Disease Detector</a></li>
<li><a href="Crop_Planning/templates/cropplan.html">Crop Planner</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">© 2025 AgriTech • Made for farmers</div>
</footer>
</body>
</html>