parthib07 commited on
Commit
18a5a90
·
verified ·
1 Parent(s): 34d6e14

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -80
index.html CHANGED
@@ -11,7 +11,7 @@
11
 
12
  body {
13
  font-family: 'Poppins', sans-serif;
14
- background-image: url('https://images.unsplash.com/photo-1544717305-2782549b5136?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1974&q=80');
15
  background-size: cover;
16
  background-attachment: fixed;
17
  background-position: center;
@@ -71,10 +71,9 @@
71
  <!-- Header -->
72
  <header class="mb-8 text-center">
73
  <h1 class="text-4xl font-bold text-indigo-800 mb-2">Student Daily Planner</h1>
74
- <p class="text-lg text-indigo-600">Organize your tasks and school routine efficiently</p>
75
  <div class="mt-4 flex justify-center space-x-4">
76
  <button id="tasksTab" class="px-4 py-2 bg-indigo-600 text-white rounded-lg font-medium">Tasks</button>
77
- <button id="routineTab" class="px-4 py-2 bg-white text-indigo-600 rounded-lg font-medium">School Routine</button>
78
  </div>
79
  </header>
80
 
@@ -139,83 +138,6 @@
139
  </div>
140
  </section>
141
 
142
- <!-- School Routine Section -->
143
- <section id="routineSection" class="glass-card p-6 hidden">
144
- <div class="flex justify-between items-center mb-6">
145
- <h2 class="text-2xl font-semibold text-indigo-700 flex items-center">
146
- <i class="fas fa-calendar-alt mr-2"></i> Weekly School Routine
147
- </h2>
148
- <button id="addDayBtn" class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 flex items-center">
149
- <i class="fas fa-plus mr-2"></i> Add Day
150
- </button>
151
- </div>
152
-
153
- <!-- Add Day Modal -->
154
- <div id="dayModal" class="hidden fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50">
155
- <div class="glass-card p-6 rounded-lg w-full max-w-md">
156
- <div class="flex justify-between items-center mb-4">
157
- <h3 class="text-xl font-semibold text-indigo-700">Add School Day</h3>
158
- <button id="closeDayModal" class="text-gray-500 hover:text-gray-700">
159
- <i class="fas fa-times"></i>
160
- </button>
161
- </div>
162
- <form id="dayForm" class="space-y-4">
163
- <div>
164
- <label for="daySelect" class="block text-sm font-medium text-gray-700">Day</label>
165
- <select id="daySelect" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 p-2 border" required>
166
- <option value="">Select a day</option>
167
- <option value="Monday">Monday</option>
168
- <option value="Tuesday">Tuesday</option>
169
- <option value="Wednesday">Wednesday</option>
170
- <option value="Thursday">Thursday</option>
171
- <option value="Friday">Friday</option>
172
- </select>
173
- </div>
174
- <div>
175
- <label for="periodCount" class="block text-sm font-medium text-gray-700">Number of Periods</label>
176
- <input type="number" id="periodCount" min="1" max="10" class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 p-2 border" required>
177
- </div>
178
- <div class="flex justify-end space-x-3">
179
- <button type="button" id="cancelDay" class="px-4 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300">Cancel</button>
180
- <button type="submit" class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">Continue</button>
181
- </div>
182
- </form>
183
- </div>
184
- </div>
185
-
186
- <!-- Add Periods Modal -->
187
- <div id="periodsModal" class="hidden fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 overflow-y-auto">
188
- <div class="glass-card p-6 rounded-lg w-full max-w-md my-8">
189
- <div class="flex justify-between items-center mb-4">
190
- <h3 class="text-xl font-semibold text-indigo-700" id="periodsModalTitle">Add Periods for Monday</h3>
191
- <button id="closePeriodsModal" class="text-gray-500 hover:text-gray-700">
192
- <i class="fas fa-times"></i>
193
- </button>
194
- </div>
195
- <form id="periodsForm" class="space-y-4">
196
- <div id="periodsContainer">
197
- <!-- Period inputs will be added here by JavaScript -->
198
- </div>
199
- <div class="flex justify-end space-x-3">
200
- <button type="button" id="cancelPeriods" class="px-4 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300">Cancel</button>
201
- <button type="submit" class="px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700">Save Routine</button>
202
- </div>
203
- </form>
204
- </div>
205
- </div>
206
-
207
- <!-- Routine Display -->
208
- <div id="routineContainer" class="routine-grid grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
209
- <!-- Sample routine will be inserted here by JavaScript -->
210
- <div class="text-center py-8 text-gray-500" id="noRoutineMessage">
211
- <i class="fas fa-calendar-plus text-4xl mb-2"></i>
212
- <p>No routine added yet. Click "Add Day" to get started!</p>
213
- </div>
214
- </div>
215
- </section>
216
- </main>
217
- </div>
218
-
219
  <script>
220
  // DOM Elements
221
  const tasksTab = document.getElementById('tasksTab');
 
11
 
12
  body {
13
  font-family: 'Poppins', sans-serif;
14
+ background-image: url('');
15
  background-size: cover;
16
  background-attachment: fixed;
17
  background-position: center;
 
71
  <!-- Header -->
72
  <header class="mb-8 text-center">
73
  <h1 class="text-4xl font-bold text-indigo-800 mb-2">Student Daily Planner</h1>
74
+ <p class="text-lg text-indigo-600">Organize your tasks efficiently</p>
75
  <div class="mt-4 flex justify-center space-x-4">
76
  <button id="tasksTab" class="px-4 py-2 bg-indigo-600 text-white rounded-lg font-medium">Tasks</button>
 
77
  </div>
78
  </header>
79
 
 
138
  </div>
139
  </section>
140
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  <script>
142
  // DOM Elements
143
  const tasksTab = document.getElementById('tasksTab');