-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
230 lines (211 loc) · 13 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
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta tags for character set and viewport configuration -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!---Meta tags for google search console-->
<meta name="google-site-verification" content="A-oUXEGBecDwoAzk094MofeKuLdojeq1C59ADacoNdo" />
<!-- Page title and favicon -->
<title>Front Page Generator</title>
<link rel="shortcut icon" href="img/fpg.webp" type="image/x-icon">
<!-- Tailwind CSS for styling -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet" />
<!-- Custom CSS -->
<link rel="stylesheet" href="style.css">
<meta name="google-site-verification" content="_ICuPGDguQsAnQivoIif8sDYVA8YYrsVRiHyCstwPm0" />
</head>
<body class="bg-page flex items-center justify-center min-h-screen p-3 transition-colors duration-300">
<!-- Container for the form -->
<div class="max-w-4xl w-full">
<!-- Form for generating the front page -->
<form id="frontPageFrom" class="bg-white p-8 rounded-xl shadow-2xl">
<!-- Form title -->
<h1 class="text-2xl font-extrabold mb-3 mt-2 text-center text-blue-800">
Front Page Generator
</h1>
<hr>
<!-- District selection dropdown -->
<div class="mb-4">
<label for="districts" class="block text-gray-700 mt-3 mb-2 font-semibold">District</label>
<select name="districts" id="districts"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500"
required>
<option value="">Select District</option>
<option value="Agra">Agra</option>
<option value="Aligarh">Aligarh</option>
<option value="Allahabad">Allahabad</option>
<option value="Ambedkar Nagar">Ambedkar Nagar</option>
<option value="Amethi">Amethi</option>
<option value="Auraiya">Auraiya</option>
<option value="Azamgarh">Azamgarh</option>
<option value="Baghpat">Baghpat</option>
<option value="Bahraich">Bahraich</option>
<option value="Ballia">Ballia</option>
<option value="Balrampur">Balrampur</option>
<option value="Banda">Banda</option>
<option value="Barabanki">Barabanki</option>
<option value="Bareilly">Bareilly</option>
<option value="Basti">Basti</option>
<option value="Bhadohi">Bhadohi</option>
<option value="Bijnor">Bijnor</option>
<option value="Budaun">Budaun</option>
<option value="Bulandshahr">Bulandshahr</option>
<option value="Chandauli">Chandauli</option>
<option value="Chitrakoot">Chitrakoot</option>
<option value="Deoria">Deoria</option>
<option value="Etah">Etah</option>
<option value="Etawah">Etawah</option>
<option value="Faizabad">Faizabad</option>
<option value="Farrukhabad">Farrukhabad</option>
<option value="Fatehpur">Fatehpur</option>
<option value="Firozabad">Firozabad</option>
<option value="Gautam Buddha Nagar">Gautam Buddha Nagar</option>
<option value="Ghaziabad">Ghaziabad</option>
<option value="Ghazipur">Ghazipur</option>
<option value="Gonda">Gonda</option>
<option value="Gorakhpur">Gorakhpur</option>
<option value="Hamirpur">Hamirpur</option>
<option value="Hapur">Hapur</option>
<option value="Hardoi">Hardoi</option>
<option value="Hathras">Hathras</option>
<option value="Jalaun">Jalaun</option>
<option value="Jaunpur">Jaunpur</option>
<option value="Jhansi">Jhansi</option>
<option value="Kannauj">Kannauj</option>
<option value="Kanpur Dehat">Kanpur Dehat</option>
<option value="Kanpur Nagar">Kanpur Nagar</option>
<option value="Kasganj">Kasganj</option>
<option value="Kaushambi">Kaushambi</option>
<option value="Kushinagar">Kushinagar</option>
<option value="Lakhimpur Kheri">Lakhimpur Kheri</option>
<option value="Lalitpur">Lalitpur</option>
<option value="Lucknow">Lucknow</option>
<option value="Maharajganj">Maharajganj</option>
<option value="Mahoba">Mahoba</option>
<option value="Mainpuri">Mainpuri</option>
<option value="Mathura">Mathura</option>
<option value="Meerut">Meerut</option>
<option value="Mirzapur">Mirzapur</option>
<option value="Moradabad">Moradabad</option>
<option value="Muzaffarnagar">Muzaffarnagar</option>
<option value="Pilibhit">Pilibhit</option>
<option value="Prayagraj">Prayagraj</option>
<option value="Raebareli">Raebareli</option>
<option value="Rampur">Rampur</option>
<option value="Saharanpur">Saharanpur</option>
<option value="Sant Kabir Nagar">Sant Kabir Nagar</option>
<option value="Sant Ravidas Nagar (Bhadohi)">Sant Ravidas Nagar (Bhadohi)</option>
<option value="Shahjahanpur">Shahjahanpur</option>
<option value="Shamli">Shamli</option>
<option value="Shravasti">Shravasti</option>
<option value="Siddharthnagar">Siddharthnagar</option>
<option value="Sitapur">Sitapur</option>
<option value="Sonbhadra">Sonbhadra</option>
<option value="Sultanpur">Sultanpur</option>
<option value="Unnao">Unnao</option>
<option value="Varanasi">Varanasi</option>
</select>
</div>
<!-- College selection dropdown -->
<div class="mb-4">
<label for="colleges" class="block text-gray-700 mb-2 font-semibold">College</label>
<select name="college" id="colleges"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500"
required>
<option value="">Select College</option>
</select>
</div>
<!-- File input for college logo -->
<div class="mb-4">
<label for="logoInput" class="block text-gray-700 mb-2 font-semibold">College Logo</label>
<input type="file" name="logo" id="logoInput"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500"
accept="image/*" required />
</div>
<!-- Session selection dropdown -->
<div class="mb-4">
<label for="session" class="block text-gray-700 mb-2 font-semibold">Session</label>
<select name="session" id="session"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500"
required>
<option value="">Select Session</option>
<option value="2022-23">2022-23</option>
<option value="2023-24">2023-24</option>
<option value="2024-25">2024-25</option>
<option value="2025-26">2025-26</option>
<option value="2026-27">2026-27</option>
<option value="2027-28">2027-28</option>
<option value="2028-29">2028-29</option>
<option value="2029-30">2029-30</option>
</select>
</div>
<!-- Year and Semester selection dropdown -->
<div class="mb-4">
<label for="yearSem" class="block text-gray-700 mb-2 font-semibold">Year & Semester</label>
<select name="yearSem" id="yearSem"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500"
required>
<option value="">Select Year & Semester</option>
<option value="1st Year - 1st Semester">1st Year - 1st Semester</option>
<option value="1st Year - 2nd Semester">1st Year - 2nd Semester</option>
<option value="2nd Year - 3rd Semester">2nd Year - 3rd Semester</option>
<option value="2nd Year - 4th Semester">2nd Year - 4th Semester</option>
<option value="3rd Year - 5th Semester">3rd Year - 5th Semester</option>
<option value="3rd Year - 6th Semester">3rd Year - 6th Semester</option>
</select>
</div>
<!-- Branch input -->
<div class="mb-4">
<label for="branch" class="block text-gray-700 mb-2 font-semibold">Branch</label>
<input type="text" name="branch" id="branch" placeholder="Enter Branch Name"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500"
required />
</div>
<!-- Subject input -->
<div class="mb-4">
<label for="subject" class="block text-gray-700 mb-2 font-semibold">Subject</label>
<input type="text" name="subject" id="subject" placeholder="Enter Subject Name"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500"
required />
</div>
<!-- Teacher input -->
<div class="mb-4">
<label for="teacher" class="block text-gray-700 mb-2 font-semibold">Teacher</label>
<input type="text" name="teacher" id="teacher" placeholder="Enter Teacher Name"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500"
required />
</div>
<!-- Name input -->
<div class="mb-4">
<label for="name" class="block text-gray-700 mb-2 font-semibold">Name</label>
<input type="text" name="name" id="name" placeholder="Enter Your Name"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500"
required />
</div>
<!-- Enrollment number input -->
<div class="mb-4">
<label for="enrollment" class="block text-gray-700 mb-2 font-semibold">Enrollment Number</label>
<input type="text" name="enrollment" id="enrollment" placeholder="Enter Your Enrollment Number"
class="formelement block w-full p-3 border border-gray-300 rounded-lg shadow-sm focus:ring focus:ring-indigo-300 focus:border-indigo-500" />
</div>
<!-- Buttons for form submission and reset -->
<div class="flex flex-col md:flex-row md:justify-evenly">
<button type="button"
class="btn bg-blue-500 hover:bg-blue-600 text-white py-2 px-6 rounded-lg shadow-lg transform hover:scale-105 mb-4 md:mb-0"
onclick="submitForm()">Generate Front Page</button>
<button type="reset"
class="btn bg-gray-500 hover:bg-gray-600 text-white py-2 px-6 rounded-lg shadow-lg transform hover:scale-105">Reset</button>
</div>
<!-- Footer section -->
<footer class="mt-8 text-center text-gray-600 border-t border-gray-300 pt-4 text-sm">
<p>© 2024 Team FPG. All rights reserved.</p>
<p><a href="dev.html" class="text-blue-500">See Developers</a></p>
</footer>
</form>
</div>
<!-- JavaScript files -->
<script src="colleges.js"></script>
<script src="script.js"></script>
</body>
</html>