dataquantals commited on
Commit
6629676
·
verified ·
1 Parent(s): 124c208

undefined - Initial Deployment

Browse files
Files changed (1) hide show
  1. index.html +675 -399
index.html CHANGED
@@ -3,502 +3,778 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Dashboard - Quantals Collect</title>
7
- <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
  <style>
10
- /* Custom styles */
11
- .timeline-item::before {
12
- content: '';
13
- position: absolute;
14
- left: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  top: 0;
 
 
16
  bottom: 0;
17
- width: 2px;
18
- background: #e5e7eb;
 
 
19
  }
20
- .timeline-item:last-child::before {
21
- height: 50%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  }
23
- .storage-meter {
24
- background: linear-gradient(90deg, #3b82f6 0%, #3b82f6 75%, #e5e7eb 75%, #e5e7eb 100%);
 
 
25
  }
26
- .offline-indicator {
27
- animation: pulse 2s infinite;
 
 
28
  }
29
- @keyframes pulse {
30
- 0% { opacity: 1; }
31
- 50% { opacity: 0.5; }
32
- 100% { opacity: 1; }
 
 
 
 
 
 
33
  }
34
- .loading-skeleton {
35
- background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
36
- background-size: 200% 100%;
37
- animation: loading 1.5s infinite;
 
 
 
38
  }
39
- @keyframes loading {
40
- 0% { background-position: 200% 0; }
41
- 100% { background-position: -200% 0; }
 
 
 
 
42
  }
43
 
44
- /* Animated Summary Cards */
45
- .summary-number {
46
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
47
- transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.4, 1.1);
 
 
 
 
 
48
  }
49
- .summary-number.animate {
50
- animation: numberPulse 0.5s cubic-bezier(0.2, 0.8, 0.4, 1.1);
 
51
  }
52
- @keyframes numberPulse {
53
- 0% { transform: scale(1); }
54
- 50% { transform: scale(1.1); }
55
- 100% { transform: scale(1); }
 
56
  }
57
- .summary-card {
58
- transition: background-color 0.3s ease;
 
 
 
59
  }
60
- .summary-card.highlight {
61
- background-color: #e6f7ff;
 
 
 
62
  }
63
- .error-value {
64
- color: #ef4444;
65
  display: flex;
66
  align-items: center;
67
  gap: 0.5rem;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  }
69
  </style>
70
  </head>
71
- <body class="bg-gray-50 font-sans">
72
- <div class="flex h-screen overflow-hidden">
 
 
 
 
 
73
  <!-- Sidebar -->
74
- <div class="sidebar bg-indigo-800 text-white w-64 flex flex-col">
75
- <div class="p-4 flex items-center space-x-3 border-b border-indigo-700">
76
- <div class="bg-white p-2 rounded-lg">
77
- <i class="fas fa-microscope text-indigo-800 text-xl"></i>
78
  </div>
79
- <h1 class="text-xl font-bold">Quantals Collect</h1>
80
  </div>
81
-
82
- <nav class="flex-1 p-4 space-y-2">
83
- <a href="index.html" class="flex items-center space-x-3 p-2 rounded-lg bg-indigo-700 text-white">
84
  <i class="fas fa-home"></i>
85
  <span>Dashboard</span>
86
  </a>
87
- <a href="projects.html" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
88
  <i class="fas fa-project-diagram"></i>
89
  <span>Projects</span>
90
  </a>
91
- <a href="participants.html" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
92
  <i class="fas fa-users"></i>
93
  <span>Participants</span>
94
  </a>
95
- <a href="interviews.html" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
96
  <i class="fas fa-microphone"></i>
97
  <span>Interviews</span>
98
  </a>
99
- <a href="notes.html" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
100
  <i class="fas fa-sticky-note"></i>
101
  <span>Notes</span>
102
  </a>
103
- <a href="analysis.html" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
 
 
 
 
104
  <i class="fas fa-chart-pie"></i>
105
  <span>Analysis</span>
106
  </a>
107
- <a href="ai-assist.html" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
108
- <i class="fas fa-robot"></i>
109
- <span>AI Assist</span>
110
- </a>
111
- <a href="transcriber.html" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
112
  <i class="fas fa-keyboard"></i>
113
  <span>Transcriber</span>
114
  </a>
115
- </nav>
116
-
117
- <div class="p-4 border-t border-indigo-700">
118
- <a href="settings.html" class="flex items-center space-x-3 p-2 rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
119
- <i class="fas fa-cog"></i>
120
- <span>Settings</span>
121
  </a>
 
 
 
 
 
 
 
 
 
 
122
  </div>
123
- </div>
124
 
125
  <!-- Main Content -->
126
- <div class="flex-1 flex flex-col overflow-hidden">
127
- <!-- Header -->
128
- <header class="bg-white shadow-sm p-4 flex justify-between items-center">
129
- <div class="flex items-center space-x-4">
130
- <h2 class="text-xl font-semibold text-gray-800">Dashboard</h2>
131
- <div class="offline-indicator hidden px-3 py-1 bg-yellow-100 text-yellow-800 rounded-full text-sm">
132
- <i class="fas fa-wifi-slash mr-1"></i> Offline
133
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  </div>
135
- <div class="flex items-center space-x-4">
136
- <button class="p-2 rounded-full hover:bg-gray-100 relative">
137
- <i class="fas fa-bell text-gray-600"></i>
138
- <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span>
 
 
 
 
139
  </button>
140
- <div class="flex items-center space-x-2">
141
- <div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center">
142
- <span class="text-xs font-medium text-indigo-800">RS</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  </div>
144
- <span class="text-sm">Research Team</span>
145
  </div>
146
- </div>
147
- </header>
148
-
149
- <!-- Main Content Area -->
150
- <main class="flex-1 overflow-y-auto p-6">
151
- <div class="max-w-7xl mx-auto">
152
- <!-- Quick Actions -->
153
- <div class="grid grid-cols-1 md:grid-cols-4 gap-4 mb-6">
154
- <button class="p-4 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition-colors flex items-center justify-center space-x-2">
155
  <i class="fas fa-microphone"></i>
156
- <span>Start New Interview</span>
157
- </button>
158
- <button class="p-4 bg-white text-gray-700 rounded-lg hover:bg-gray-50 transition-colors flex items-center justify-center space-x-2 border border-gray-200">
159
- <i class="fas fa-user-plus"></i>
160
- <span>Add Participant</span>
161
- </button>
162
- <button class="p-4 bg-white text-gray-700 rounded-lg hover:bg-gray-50 transition-colors flex items-center justify-center space-x-2 border border-gray-200">
163
- <i class="fas fa-folder-plus"></i>
164
- <span>Create Project</span>
165
- </button>
166
- <button class="p-4 bg-white text-gray-700 rounded-lg hover:bg-gray-50 transition-colors flex items-center justify-center space-x-2 border border-gray-200">
167
- <i class="fas fa-sync"></i>
168
- <span>Sync Now</span>
169
- </button>
170
- </div>
171
-
172
- <!-- Summary Cards -->
173
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-4 mb-6">
174
- <!-- Total Projects -->
175
- <div class="summary-card bg-white rounded-lg shadow-sm p-4">
176
- <div class="flex items-center justify-between">
177
- <div>
178
- <p class="text-sm text-gray-600">Total Projects</p>
179
- <h3 class="summary-number text-2xl font-semibold text-gray-800" data-value="12">0</h3>
180
- </div>
181
- <div class="p-3 bg-blue-100 rounded-lg">
182
- <i class="fas fa-project-diagram text-blue-600"></i>
183
- </div>
184
  </div>
185
- <a href="projects.html" class="text-sm text-blue-600 hover:text-blue-700 mt-2 inline-block">View all projects →</a>
186
  </div>
187
-
188
- <!-- Total Participants -->
189
- <div class="summary-card bg-white rounded-lg shadow-sm p-4">
190
- <div class="flex items-center justify-between">
191
- <div>
192
- <p class="text-sm text-gray-600">Total Participants</p>
193
- <h3 class="summary-number text-2xl font-semibold text-gray-800" data-value="48">0</h3>
194
  </div>
195
- <div class="p-3 bg-green-100 rounded-lg">
196
- <i class="fas fa-users text-green-600"></i>
 
 
197
  </div>
198
  </div>
199
- <a href="participants.html" class="text-sm text-blue-600 hover:text-blue-700 mt-2 inline-block">View all participants →</a>
200
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
 
202
- <!-- Active Interviews -->
203
- <div class="summary-card bg-white rounded-lg shadow-sm p-4">
204
- <div class="flex items-center justify-between">
205
- <div>
206
- <p class="text-sm text-gray-600">Active Interviews</p>
207
- <h3 class="summary-number text-2xl font-semibold text-gray-800" data-value="3">0</h3>
208
- </div>
209
- <div class="p-3 bg-purple-100 rounded-lg">
210
- <i class="fas fa-microphone text-purple-600"></i>
211
- </div>
 
 
212
  </div>
213
- <a href="interviews.html" class="text-sm text-blue-600 hover:text-blue-700 mt-2 inline-block">View active interviews →</a>
214
  </div>
215
-
216
- <!-- Storage Usage -->
217
- <div class="summary-card bg-white rounded-lg shadow-sm p-4">
218
- <div class="flex items-center justify-between">
219
- <div>
220
- <p class="text-sm text-gray-600">Storage Usage</p>
221
- <h3 class="summary-number text-2xl font-semibold text-gray-800" data-value="75">0</h3>
222
- </div>
223
- <div class="p-3 bg-yellow-100 rounded-lg">
224
- <i class="fas fa-database text-yellow-600"></i>
225
- </div>
 
 
226
  </div>
227
- <div class="mt-2 h-2 bg-gray-200 rounded-full overflow-hidden">
228
- <div class="storage-meter h-full rounded-full"></div>
 
229
  </div>
230
  </div>
231
-
232
- <!-- Sync Status -->
233
- <div class="summary-card bg-white rounded-lg shadow-sm p-4">
234
- <div class="flex items-center justify-between">
235
- <div>
236
- <p class="text-sm text-gray-600">Last Sync</p>
237
- <h3 class="summary-number text-2xl font-semibold text-gray-800" data-value="2">0</h3>
238
- </div>
239
- <div class="p-3 bg-green-100 rounded-lg">
240
- <i class="fas fa-sync text-green-600"></i>
241
  </div>
242
  </div>
243
- <p class="text-sm text-green-600 mt-2">All systems synced</p>
244
  </div>
245
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
 
247
- <!-- Main Content Grid -->
248
- <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
249
- <!-- Recent Activity Timeline -->
250
- <div class="lg:col-span-2">
251
- <div class="bg-white rounded-lg shadow-sm p-6">
252
- <div class="flex justify-between items-center mb-6">
253
- <h3 class="text-lg font-semibold text-gray-800">Recent Activity</h3>
254
- <a href="activity.html" class="text-sm text-blue-600 hover:text-blue-700">View all →</a>
255
- </div>
256
-
257
- <div class="space-y-6">
258
- <!-- Timeline Items -->
259
- <div class="relative pl-8 timeline-item">
260
- <div class="absolute left-0 w-4 h-4 bg-blue-500 rounded-full -translate-x-1/2"></div>
261
- <div class="bg-blue-50 p-4 rounded-lg">
262
- <div class="flex justify-between items-start">
263
- <div>
264
- <h4 class="font-medium text-blue-800">New Interview Session</h4>
265
- <p class="text-sm text-gray-600">With Maria Gonzalez</p>
266
- </div>
267
- <span class="text-xs text-gray-500">10:30 AM</span>
268
- </div>
269
- </div>
270
- </div>
271
-
272
- <div class="relative pl-8 timeline-item">
273
- <div class="absolute left-0 w-4 h-4 bg-green-500 rounded-full -translate-x-1/2"></div>
274
- <div class="bg-green-50 p-4 rounded-lg">
275
- <div class="flex justify-between items-start">
276
- <div>
277
- <h4 class="font-medium text-green-800">Note Added</h4>
278
- <p class="text-sm text-gray-600">Urban Sustainability Study - Participant observation</p>
279
- </div>
280
- <span class="text-xs text-gray-500">9:45 AM</span>
281
- </div>
282
- </div>
283
- </div>
284
-
285
- <div class="relative pl-8 timeline-item">
286
- <div class="absolute left-0 w-4 h-4 bg-purple-500 rounded-full -translate-x-1/2"></div>
287
- <div class="bg-purple-50 p-4 rounded-lg">
288
- <div class="flex justify-between items-start">
289
- <div>
290
- <h4 class="font-medium text-purple-800">System Sync</h4>
291
- <p class="text-sm text-gray-600">All data synchronized successfully</p>
292
- </div>
293
- <span class="text-xs text-gray-500">9:30 AM</span>
294
- </div>
295
- </div>
296
- </div>
297
- </div>
298
  </div>
299
  </div>
300
-
301
- <!-- Upcoming Schedule -->
302
- <div class="lg:col-span-1">
303
- <div class="bg-white rounded-lg shadow-sm p-6">
304
- <div class="flex justify-between items-center mb-6">
305
- <h3 class="text-lg font-semibold text-gray-800">Today's Schedule</h3>
306
- <a href="schedule.html" class="text-sm text-blue-600 hover:text-blue-700">View calendar →</a>
307
- </div>
308
-
309
- <div class="space-y-4">
310
- <!-- Schedule Items -->
311
- <div class="p-4 bg-red-50 rounded-lg border border-red-100">
312
- <div class="flex justify-between items-start">
313
- <div>
314
- <h4 class="font-medium text-red-800">Interview Session</h4>
315
- <p class="text-sm text-gray-600">With John Smith</p>
316
- <p class="text-sm text-gray-500">Urban Sustainability Study</p>
317
- </div>
318
- <span class="text-sm font-medium text-red-600">2:00 PM</span>
319
- </div>
320
- </div>
321
-
322
- <div class="p-4 bg-yellow-50 rounded-lg border border-yellow-100">
323
- <div class="flex justify-between items-start">
324
- <div>
325
- <h4 class="font-medium text-yellow-800">Project Deadline</h4>
326
- <p class="text-sm text-gray-600">Phase 1 Report Due</p>
327
- <p class="text-sm text-gray-500">Urban Sustainability Study</p>
328
- </div>
329
- <span class="text-sm font-medium text-yellow-600">4:00 PM</span>
330
- </div>
331
- </div>
332
-
333
- <div class="p-4 bg-green-50 rounded-lg border border-green-100">
334
- <div class="flex justify-between items-start">
335
- <div>
336
- <h4 class="font-medium text-green-800">Team Meeting</h4>
337
- <p class="text-sm text-gray-600">Weekly Progress Review</p>
338
- <p class="text-sm text-gray-500">All Projects</p>
339
- </div>
340
- <span class="text-sm font-medium text-green-600">5:00 PM</span>
341
- </div>
342
- </div>
343
  </div>
344
  </div>
345
  </div>
346
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
347
  </div>
348
- </main>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
349
  </div>
350
  </div>
351
 
 
352
  <script>
353
- // Check online status
354
- function updateOnlineStatus() {
355
- const offlineIndicator = document.querySelector('.offline-indicator');
356
- if (!navigator.onLine) {
357
- offlineIndicator.classList.remove('hidden');
358
- } else {
359
- offlineIndicator.classList.add('hidden');
360
- }
361
- }
362
-
363
- window.addEventListener('online', updateOnlineStatus);
364
- window.addEventListener('offline', updateOnlineStatus);
365
- updateOnlineStatus();
366
-
367
- // Simulate loading states
368
- function simulateLoading() {
369
- const cards = document.querySelectorAll('.bg-white');
370
- cards.forEach(card => {
371
- card.classList.add('loading-skeleton');
372
- setTimeout(() => {
373
- card.classList.remove('loading-skeleton');
374
- }, 1000);
375
- });
376
  }
377
 
378
- // Update storage meter
379
- function updateStorageMeter() {
380
- const meter = document.querySelector('.storage-meter');
381
- const usage = 75; // This would come from an API in a real app
382
- meter.style.background = `linear-gradient(90deg, #3b82f6 0%, #3b82f6 ${usage}%, #e5e7eb ${usage}%, #e5e7eb 100%)`;
383
  }
384
 
385
- // Initialize
386
- document.addEventListener('DOMContentLoaded', () => {
387
- simulateLoading();
388
- updateStorageMeter();
389
- });
390
-
391
- // Quick action buttons
392
- document.querySelectorAll('button').forEach(button => {
393
- button.addEventListener('click', function() {
394
- // Add ripple effect
395
- const ripple = document.createElement('div');
396
- ripple.classList.add('absolute', 'bg-white', 'rounded-full', 'animate-ping');
397
- this.appendChild(ripple);
398
- setTimeout(() => ripple.remove(), 1000);
399
- });
400
- });
401
-
402
- // Animated Summary Cards
403
- class AnimatedCounter {
404
- constructor(element, targetValue, duration = 500) {
405
- this.element = element;
406
- this.targetValue = targetValue;
407
- this.duration = duration;
408
- this.currentValue = 0;
409
- this.startTime = null;
410
- this.isAnimating = false;
411
- this.debounceTimeout = null;
412
- }
413
-
414
- formatNumber(num) {
415
- if (num >= 1000) {
416
- return (num / 1000).toFixed(1) + 'k';
417
- }
418
- return Math.round(num).toString();
419
- }
420
-
421
- animate() {
422
- if (this.isAnimating) return;
423
- if (this.debounceTimeout) clearTimeout(this.debounceTimeout);
424
-
425
- this.debounceTimeout = setTimeout(() => {
426
- this.isAnimating = true;
427
- this.startTime = performance.now();
428
- this.element.classList.add('animate');
429
- this.element.closest('.summary-card').classList.add('highlight');
430
-
431
- const animate = (currentTime) => {
432
- const elapsed = currentTime - this.startTime;
433
- const progress = Math.min(elapsed / this.duration, 1);
434
-
435
- // Cubic bezier easing
436
- const easeOut = t => 1 - Math.pow(1 - t, 3);
437
- const easedProgress = easeOut(progress);
438
-
439
- this.currentValue = this.targetValue * easedProgress;
440
- this.element.textContent = this.formatNumber(this.currentValue);
441
-
442
- if (progress < 1) {
443
- requestAnimationFrame(animate);
444
- } else {
445
- this.isAnimating = false;
446
- this.element.classList.remove('animate');
447
- this.element.closest('.summary-card').classList.remove('highlight');
448
- }
449
- };
450
-
451
- requestAnimationFrame(animate);
452
- }, 100);
453
- }
454
-
455
- setValue(value, animate = true) {
456
- this.targetValue = value;
457
- if (animate) {
458
- this.animate();
459
- } else {
460
- this.element.textContent = this.formatNumber(value);
461
- }
462
- }
463
-
464
- showError() {
465
- this.element.innerHTML = `
466
- <span class="error-value">
467
- <i class="fas fa-exclamation-circle"></i>
468
- --
469
- </span>
470
- `;
471
  }
472
  }
473
 
474
- // Initialize counters
475
- const counters = new Map();
476
- document.querySelectorAll('.summary-number').forEach(element => {
477
- const targetValue = parseInt(element.dataset.value);
478
- if (!isNaN(targetValue)) {
479
- counters.set(element, new AnimatedCounter(element, targetValue));
480
  }
481
  });
482
 
483
- // Animate counters on page load
484
- document.addEventListener('DOMContentLoaded', () => {
485
- counters.forEach(counter => counter.animate());
 
 
486
  });
487
 
488
- // Simulate data updates
489
- function simulateDataUpdate() {
490
- const randomValue = Math.floor(Math.random() * 100);
491
- const randomCounter = Array.from(counters.values())[Math.floor(Math.random() * counters.size)];
492
- randomCounter.setValue(randomValue);
493
- }
494
-
495
- // Add click handler to sync button
496
- document.querySelector('button:has(.fa-sync)').addEventListener('click', () => {
497
- counters.forEach(counter => counter.animate());
498
  });
499
-
500
- // Simulate periodic updates
501
- setInterval(simulateDataUpdate, 5000);
502
  </script>
503
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://deepsite.hf.co/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=dataquantals/quantals-collect" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
504
  </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Notes - Quantals Collect</title>
7
+ <link rel="stylesheet" href="assets/styles.css">
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
  <style>
10
+ /* Notes specific styles */
11
+ .notes-header {
12
+ display: flex;
13
+ justify-content: space-between;
14
+ align-items: center;
15
+ margin-bottom: 2rem;
16
+ }
17
+
18
+ .notes-actions {
19
+ display: flex;
20
+ gap: 1rem;
21
+ }
22
+
23
+ .btn {
24
+ display: inline-flex;
25
+ align-items: center;
26
+ gap: 0.5rem;
27
+ padding: 0.5rem 1rem;
28
+ border-radius: 0.5rem;
29
+ font-size: 0.875rem;
30
+ font-weight: 500;
31
+ cursor: pointer;
32
+ transition: all 0.2s;
33
+ }
34
+
35
+ .btn-primary {
36
+ background: var(--primary-color);
37
+ color: white;
38
+ }
39
+
40
+ .btn-primary:hover {
41
+ background: var(--primary-hover);
42
+ }
43
+
44
+ .btn-secondary {
45
+ background: #f3f4f6;
46
+ color: #4b5563;
47
+ }
48
+
49
+ .btn-secondary:hover {
50
+ background: #e5e7eb;
51
+ }
52
+
53
+ .search-bar {
54
+ display: flex;
55
+ gap: 1rem;
56
+ margin-bottom: 2rem;
57
+ }
58
+
59
+ .search-input {
60
+ flex: 1;
61
+ padding: 0.5rem 1rem;
62
+ border: 1px solid #d1d5db;
63
+ border-radius: 0.5rem;
64
+ font-size: 0.875rem;
65
+ color: #111827;
66
+ transition: border-color 0.2s;
67
+ }
68
+
69
+ .search-input:focus {
70
+ outline: none;
71
+ border-color: var(--primary-color);
72
+ }
73
+
74
+ .filter-select {
75
+ padding: 0.5rem 1rem;
76
+ border: 1px solid #d1d5db;
77
+ border-radius: 0.5rem;
78
+ font-size: 0.875rem;
79
+ color: #111827;
80
+ background: white;
81
+ cursor: pointer;
82
+ }
83
+
84
+ .notes-grid {
85
+ display: grid;
86
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
87
+ gap: 1.5rem;
88
+ }
89
+
90
+ .note-card {
91
+ background: white;
92
+ border-radius: 0.75rem;
93
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
94
+ overflow: hidden;
95
+ transition: transform 0.2s, box-shadow 0.2s;
96
+ }
97
+
98
+ .note-card:hover {
99
+ transform: translateY(-2px);
100
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
101
+ }
102
+
103
+ .note-header {
104
+ padding: 1.5rem;
105
+ border-bottom: 1px solid #e5e7eb;
106
+ }
107
+
108
+ .note-title {
109
+ font-size: 1.25rem;
110
+ font-weight: 600;
111
+ color: #111827;
112
+ margin-bottom: 0.5rem;
113
+ }
114
+
115
+ .note-meta {
116
+ display: flex;
117
+ gap: 1rem;
118
+ font-size: 0.875rem;
119
+ color: #6b7280;
120
+ }
121
+
122
+ .note-meta-item {
123
+ display: flex;
124
+ align-items: center;
125
+ gap: 0.25rem;
126
+ }
127
+
128
+ .note-body {
129
+ padding: 1.5rem;
130
+ }
131
+
132
+ .note-content {
133
+ color: #4b5563;
134
+ margin-bottom: 1rem;
135
+ line-height: 1.5;
136
+ }
137
+
138
+ .note-tags {
139
+ display: flex;
140
+ flex-wrap: wrap;
141
+ gap: 0.5rem;
142
+ margin-bottom: 1rem;
143
+ }
144
+
145
+ .note-tag {
146
+ padding: 0.25rem 0.75rem;
147
+ background: #f3f4f6;
148
+ border-radius: 1rem;
149
+ font-size: 0.875rem;
150
+ color: #4b5563;
151
+ display: flex;
152
+ align-items: center;
153
+ gap: 0.25rem;
154
+ }
155
+
156
+ .note-footer {
157
+ padding: 1rem 1.5rem;
158
+ background: #f9fafb;
159
+ border-top: 1px solid #e5e7eb;
160
+ display: flex;
161
+ justify-content: space-between;
162
+ align-items: center;
163
+ }
164
+
165
+ .note-actions {
166
+ display: flex;
167
+ gap: 0.5rem;
168
+ }
169
+
170
+ .action-btn {
171
+ padding: 0.25rem;
172
+ color: #6b7280;
173
+ border-radius: 0.375rem;
174
+ transition: all 0.2s;
175
+ }
176
+
177
+ .action-btn:hover {
178
+ background: #e5e7eb;
179
+ color: #111827;
180
+ }
181
+
182
+ .note-type {
183
+ display: inline-flex;
184
+ align-items: center;
185
+ gap: 0.5rem;
186
+ padding: 0.25rem 0.75rem;
187
+ border-radius: 1rem;
188
+ font-size: 0.875rem;
189
+ font-weight: 500;
190
+ }
191
+
192
+ .type-interview {
193
+ background: #dbeafe;
194
+ color: #1e40af;
195
+ }
196
+
197
+ .type-observation {
198
+ background: #dcfce7;
199
+ color: #166534;
200
+ }
201
+
202
+ .type-reflection {
203
+ background: #fef3c7;
204
+ color: #92400e;
205
+ }
206
+
207
+ /* Modal styles */
208
+ .modal {
209
+ display: none;
210
+ position: fixed;
211
  top: 0;
212
+ left: 0;
213
+ right: 0;
214
  bottom: 0;
215
+ background: rgba(0, 0, 0, 0.5);
216
+ z-index: 1000;
217
+ align-items: center;
218
+ justify-content: center;
219
  }
220
+
221
+ .modal.active {
222
+ display: flex;
223
+ }
224
+
225
+ .modal-content {
226
+ background: white;
227
+ border-radius: 0.75rem;
228
+ width: 100%;
229
+ max-width: 600px;
230
+ max-height: 90vh;
231
+ overflow-y: auto;
232
+ }
233
+
234
+ .modal-header {
235
+ padding: 1.5rem;
236
+ border-bottom: 1px solid #e5e7eb;
237
+ display: flex;
238
+ justify-content: space-between;
239
+ align-items: center;
240
+ }
241
+
242
+ .modal-title {
243
+ font-size: 1.25rem;
244
+ font-weight: 600;
245
+ color: #111827;
246
+ }
247
+
248
+ .modal-close {
249
+ padding: 0.5rem;
250
+ color: #6b7280;
251
+ border-radius: 0.375rem;
252
+ cursor: pointer;
253
+ transition: all 0.2s;
254
+ }
255
+
256
+ .modal-close:hover {
257
+ background: #f3f4f6;
258
+ color: #111827;
259
+ }
260
+
261
+ .modal-body {
262
+ padding: 1.5rem;
263
+ }
264
+
265
+ .form-group {
266
+ margin-bottom: 1.5rem;
267
+ }
268
+
269
+ .form-label {
270
+ display: block;
271
+ font-size: 0.875rem;
272
+ font-weight: 500;
273
+ color: #374151;
274
+ margin-bottom: 0.5rem;
275
+ }
276
+
277
+ .form-input {
278
+ width: 100%;
279
+ padding: 0.5rem 0.75rem;
280
+ border: 1px solid #d1d5db;
281
+ border-radius: 0.375rem;
282
+ font-size: 0.875rem;
283
+ color: #111827;
284
+ transition: border-color 0.2s;
285
  }
286
+
287
+ .form-input:focus {
288
+ outline: none;
289
+ border-color: var(--primary-color);
290
  }
291
+
292
+ .form-textarea {
293
+ min-height: 200px;
294
+ resize: vertical;
295
  }
296
+
297
+ .form-select {
298
+ width: 100%;
299
+ padding: 0.5rem 0.75rem;
300
+ border: 1px solid #d1d5db;
301
+ border-radius: 0.375rem;
302
+ font-size: 0.875rem;
303
+ color: #111827;
304
+ background: white;
305
+ cursor: pointer;
306
  }
307
+
308
+ .modal-footer {
309
+ padding: 1rem 1.5rem;
310
+ border-top: 1px solid #e5e7eb;
311
+ display: flex;
312
+ justify-content: flex-end;
313
+ gap: 1rem;
314
  }
315
+
316
+ .pagination {
317
+ display: flex;
318
+ justify-content: center;
319
+ align-items: center;
320
+ gap: 0.5rem;
321
+ margin-top: 2rem;
322
  }
323
 
324
+ .page-btn {
325
+ padding: 0.5rem 1rem;
326
+ border: 1px solid #d1d5db;
327
+ border-radius: 0.375rem;
328
+ font-size: 0.875rem;
329
+ color: #4b5563;
330
+ background: white;
331
+ cursor: pointer;
332
+ transition: all 0.2s;
333
  }
334
+
335
+ .page-btn:hover {
336
+ background: #f3f4f6;
337
  }
338
+
339
+ .page-btn.active {
340
+ background: var(--primary-color);
341
+ color: white;
342
+ border-color: var(--primary-color);
343
  }
344
+
345
+ .note-attachments {
346
+ margin-top: 1rem;
347
+ padding-top: 1rem;
348
+ border-top: 1px solid #e5e7eb;
349
  }
350
+
351
+ .attachment-list {
352
+ display: flex;
353
+ flex-direction: column;
354
+ gap: 0.5rem;
355
  }
356
+
357
+ .attachment-item {
358
  display: flex;
359
  align-items: center;
360
  gap: 0.5rem;
361
+ padding: 0.5rem;
362
+ background: #f9fafb;
363
+ border-radius: 0.375rem;
364
+ font-size: 0.875rem;
365
+ color: #4b5563;
366
+ }
367
+
368
+ .attachment-icon {
369
+ color: #6b7280;
370
+ }
371
+
372
+ .attachment-name {
373
+ flex: 1;
374
+ min-width: 0;
375
+ overflow: hidden;
376
+ text-overflow: ellipsis;
377
+ white-space: nowrap;
378
+ }
379
+
380
+ .attachment-size {
381
+ color: #6b7280;
382
  }
383
  </style>
384
  </head>
385
+ <body>
386
+ <div class="app-container">
387
+ <!-- Mobile Menu Button -->
388
+ <button class="mobile-menu-btn">
389
+ <i class="fas fa-bars"></i>
390
+ </button>
391
+
392
  <!-- Sidebar -->
393
+ <aside class="sidebar">
394
+ <div class="sidebar-header">
395
+ <div class="logo">
396
+ <i class="fas fa-microscope"></i>
397
  </div>
398
+ <h1>Quantals Collect</h1>
399
  </div>
400
+
401
+ <nav class="sidebar-nav">
402
+ <a href="dashboard.html" class="nav-item" data-tooltip="Dashboard">
403
  <i class="fas fa-home"></i>
404
  <span>Dashboard</span>
405
  </a>
406
+ <a href="projects.html" class="nav-item" data-tooltip="Projects">
407
  <i class="fas fa-project-diagram"></i>
408
  <span>Projects</span>
409
  </a>
410
+ <a href="participants.html" class="nav-item" data-tooltip="Participants">
411
  <i class="fas fa-users"></i>
412
  <span>Participants</span>
413
  </a>
414
+ <a href="interviews.html" class="nav-item" data-tooltip="Interviews">
415
  <i class="fas fa-microphone"></i>
416
  <span>Interviews</span>
417
  </a>
418
+ <a href="notes.html" class="nav-item" data-tooltip="Notes">
419
  <i class="fas fa-sticky-note"></i>
420
  <span>Notes</span>
421
  </a>
422
+ <a href="codes.html" class="nav-item" data-tooltip="Codes">
423
+ <i class="fas fa-tags"></i>
424
+ <span>Codes</span>
425
+ </a>
426
+ <a href="analysis.html" class="nav-item" data-tooltip="Analysis">
427
  <i class="fas fa-chart-pie"></i>
428
  <span>Analysis</span>
429
  </a>
430
+ <a href="transcriber.html" class="nav-item" data-tooltip="Transcriber">
 
 
 
 
431
  <i class="fas fa-keyboard"></i>
432
  <span>Transcriber</span>
433
  </a>
434
+ <a href="ai-assist.html" class="nav-item" data-tooltip="AI Assist">
435
+ <i class="fas fa-robot"></i>
436
+ <span>AI Assist</span>
 
 
 
437
  </a>
438
+ </nav>
439
+
440
+ <div class="sidebar-footer">
441
+ <div class="user-section">
442
+ <div class="user-avatar">JD</div>
443
+ <div class="user-info">
444
+ <div class="user-name">John Doe</div>
445
+ <div class="user-role">Researcher</div>
446
+ </div>
447
+ </div>
448
  </div>
449
+ </aside>
450
 
451
  <!-- Main Content -->
452
+ <main class="main-content">
453
+ <div class="page-header">
454
+ <h1>Notes</h1>
455
+ <p>Create and manage your research notes.</p>
456
+ </div>
457
+
458
+ <div class="notes-header">
459
+ <div class="search-bar">
460
+ <input type="text" class="search-input" placeholder="Search notes...">
461
+ <select class="filter-select">
462
+ <option value="">All Projects</option>
463
+ <option value="urban">Urban Sustainability</option>
464
+ <option value="healthcare">Healthcare Access</option>
465
+ <option value="education">Education Policy</option>
466
+ </select>
467
+ <select class="filter-select">
468
+ <option value="">All Types</option>
469
+ <option value="interview">Interview Notes</option>
470
+ <option value="observation">Observation Notes</option>
471
+ <option value="reflection">Reflection Notes</option>
472
+ </select>
473
  </div>
474
+ <div class="notes-actions">
475
+ <button class="btn btn-primary" onclick="openNewNoteModal()">
476
+ <i class="fas fa-plus"></i>
477
+ New Note
478
+ </button>
479
+ <button class="btn btn-secondary">
480
+ <i class="fas fa-upload"></i>
481
+ Import
482
  </button>
483
+ </div>
484
+ </div>
485
+
486
+ <div class="notes-grid">
487
+ <!-- Note Card 1 -->
488
+ <div class="note-card">
489
+ <div class="note-header">
490
+ <h2 class="note-title">Urban Development Interview Notes</h2>
491
+ <div class="note-meta">
492
+ <div class="note-meta-item">
493
+ <i class="fas fa-calendar"></i>
494
+ <span>Mar 15, 2024</span>
495
+ </div>
496
+ <div class="note-meta-item">
497
+ <i class="fas fa-user"></i>
498
+ <span>John Doe</span>
499
+ </div>
500
  </div>
 
501
  </div>
502
+ <div class="note-body">
503
+ <div class="note-type type-interview">
 
 
 
 
 
 
 
504
  <i class="fas fa-microphone"></i>
505
+ <span>Interview Notes</span>
506
+ </div>
507
+ <p class="note-content">
508
+ Key insights from the interview with the urban development team. Discussed sustainable practices and community engagement strategies.
509
+ </p>
510
+ <div class="note-tags">
511
+ <div class="note-tag">
512
+ <i class="fas fa-hashtag"></i>
513
+ <span>urban-planning</span>
514
+ </div>
515
+ <div class="note-tag">
516
+ <i class="fas fa-hashtag"></i>
517
+ <span>sustainability</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
518
  </div>
 
519
  </div>
520
+ <div class="note-attachments">
521
+ <div class="attachment-list">
522
+ <div class="attachment-item">
523
+ <i class="fas fa-file-pdf attachment-icon"></i>
524
+ <span class="attachment-name">interview_transcript.pdf</span>
525
+ <span class="attachment-size">2.4 MB</span>
 
526
  </div>
527
+ <div class="attachment-item">
528
+ <i class="fas fa-file-image attachment-icon"></i>
529
+ <span class="attachment-name">site_photos.zip</span>
530
+ <span class="attachment-size">5.1 MB</span>
531
  </div>
532
  </div>
 
533
  </div>
534
+ </div>
535
+ <div class="note-footer">
536
+ <div class="note-actions">
537
+ <button class="action-btn" title="Edit">
538
+ <i class="fas fa-edit"></i>
539
+ </button>
540
+ <button class="action-btn" title="View Details">
541
+ <i class="fas fa-eye"></i>
542
+ </button>
543
+ <button class="action-btn" title="More">
544
+ <i class="fas fa-ellipsis-v"></i>
545
+ </button>
546
+ </div>
547
+ </div>
548
+ </div>
549
 
550
+ <!-- Note Card 2 -->
551
+ <div class="note-card">
552
+ <div class="note-header">
553
+ <h2 class="note-title">Healthcare Facility Observation</h2>
554
+ <div class="note-meta">
555
+ <div class="note-meta-item">
556
+ <i class="fas fa-calendar"></i>
557
+ <span>Mar 14, 2024</span>
558
+ </div>
559
+ <div class="note-meta-item">
560
+ <i class="fas fa-user"></i>
561
+ <span>Jane Smith</span>
562
  </div>
 
563
  </div>
564
+ </div>
565
+ <div class="note-body">
566
+ <div class="note-type type-observation">
567
+ <i class="fas fa-clipboard-list"></i>
568
+ <span>Observation Notes</span>
569
+ </div>
570
+ <p class="note-content">
571
+ Field observations from the rural healthcare facility visit. Noted accessibility challenges and potential improvement areas.
572
+ </p>
573
+ <div class="note-tags">
574
+ <div class="note-tag">
575
+ <i class="fas fa-hashtag"></i>
576
+ <span>healthcare</span>
577
  </div>
578
+ <div class="note-tag">
579
+ <i class="fas fa-hashtag"></i>
580
+ <span>accessibility</span>
581
  </div>
582
  </div>
583
+ <div class="note-attachments">
584
+ <div class="attachment-list">
585
+ <div class="attachment-item">
586
+ <i class="fas fa-file-image attachment-icon"></i>
587
+ <span class="attachment-name">facility_photos.zip</span>
588
+ <span class="attachment-size">8.2 MB</span>
 
 
 
 
589
  </div>
590
  </div>
 
591
  </div>
592
  </div>
593
+ <div class="note-footer">
594
+ <div class="note-actions">
595
+ <button class="action-btn" title="Edit">
596
+ <i class="fas fa-edit"></i>
597
+ </button>
598
+ <button class="action-btn" title="View Details">
599
+ <i class="fas fa-eye"></i>
600
+ </button>
601
+ <button class="action-btn" title="More">
602
+ <i class="fas fa-ellipsis-v"></i>
603
+ </button>
604
+ </div>
605
+ </div>
606
+ </div>
607
 
608
+ <!-- Note Card 3 -->
609
+ <div class="note-card">
610
+ <div class="note-header">
611
+ <h2 class="note-title">Education Policy Reflection</h2>
612
+ <div class="note-meta">
613
+ <div class="note-meta-item">
614
+ <i class="fas fa-calendar"></i>
615
+ <span>Mar 13, 2024</span>
616
+ </div>
617
+ <div class="note-meta-item">
618
+ <i class="fas fa-user"></i>
619
+ <span>Robert Johnson</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
620
  </div>
621
  </div>
622
+ </div>
623
+ <div class="note-body">
624
+ <div class="note-type type-reflection">
625
+ <i class="fas fa-lightbulb"></i>
626
+ <span>Reflection Notes</span>
627
+ </div>
628
+ <p class="note-content">
629
+ Reflections on the impact of recent policy changes on student performance and teacher effectiveness.
630
+ </p>
631
+ <div class="note-tags">
632
+ <div class="note-tag">
633
+ <i class="fas fa-hashtag"></i>
634
+ <span>education</span>
635
+ </div>
636
+ <div class="note-tag">
637
+ <i class="fas fa-hashtag"></i>
638
+ <span>policy</span>
639
+ </div>
640
+ </div>
641
+ <div class="note-attachments">
642
+ <div class="attachment-list">
643
+ <div class="attachment-item">
644
+ <i class="fas fa-file-pdf attachment-icon"></i>
645
+ <span class="attachment-name">policy_analysis.pdf</span>
646
+ <span class="attachment-size">1.8 MB</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
647
  </div>
648
  </div>
649
  </div>
650
  </div>
651
+ <div class="note-footer">
652
+ <div class="note-actions">
653
+ <button class="action-btn" title="Edit">
654
+ <i class="fas fa-edit"></i>
655
+ </button>
656
+ <button class="action-btn" title="View Details">
657
+ <i class="fas fa-eye"></i>
658
+ </button>
659
+ <button class="action-btn" title="More">
660
+ <i class="fas fa-ellipsis-v"></i>
661
+ </button>
662
+ </div>
663
+ </div>
664
  </div>
665
+ </div>
666
+
667
+ <div class="pagination">
668
+ <button class="page-btn">
669
+ <i class="fas fa-chevron-left"></i>
670
+ </button>
671
+ <button class="page-btn active">1</button>
672
+ <button class="page-btn">2</button>
673
+ <button class="page-btn">3</button>
674
+ <button class="page-btn">
675
+ <i class="fas fa-chevron-right"></i>
676
+ </button>
677
+ </div>
678
+ </main>
679
+ </div>
680
+
681
+ <!-- New Note Modal -->
682
+ <div class="modal" id="newNoteModal">
683
+ <div class="modal-content">
684
+ <div class="modal-header">
685
+ <h2 class="modal-title">Create New Note</h2>
686
+ <button class="modal-close" onclick="closeNewNoteModal()">
687
+ <i class="fas fa-times"></i>
688
+ </button>
689
+ </div>
690
+ <div class="modal-body">
691
+ <form id="newNoteForm">
692
+ <div class="form-group">
693
+ <label class="form-label">Note Title</label>
694
+ <input type="text" class="form-input" required>
695
+ </div>
696
+ <div class="form-group">
697
+ <label class="form-label">Note Type</label>
698
+ <select class="form-select" required>
699
+ <option value="interview">Interview Notes</option>
700
+ <option value="observation">Observation Notes</option>
701
+ <option value="reflection">Reflection Notes</option>
702
+ </select>
703
+ </div>
704
+ <div class="form-group">
705
+ <label class="form-label">Project</label>
706
+ <select class="form-select" required>
707
+ <option value="">Select Project</option>
708
+ <option value="urban">Urban Sustainability Study</option>
709
+ <option value="healthcare">Healthcare Access Research</option>
710
+ <option value="education">Education Policy Study</option>
711
+ </select>
712
+ </div>
713
+ <div class="form-group">
714
+ <label class="form-label">Content</label>
715
+ <textarea class="form-input form-textarea" required></textarea>
716
+ </div>
717
+ <div class="form-group">
718
+ <label class="form-label">Tags</label>
719
+ <input type="text" class="form-input" placeholder="Add tags separated by commas">
720
+ </div>
721
+ <div class="form-group">
722
+ <label class="form-label">Attachments</label>
723
+ <input type="file" class="form-input" multiple>
724
+ </div>
725
+ </form>
726
+ </div>
727
+ <div class="modal-footer">
728
+ <button class="btn btn-secondary" onclick="closeNewNoteModal()">Cancel</button>
729
+ <button class="btn btn-primary" onclick="createNewNote()">Create Note</button>
730
+ </div>
731
  </div>
732
  </div>
733
 
734
+ <script src="assets/navigation.js"></script>
735
  <script>
736
+ // Modal functionality
737
+ function openNewNoteModal() {
738
+ document.getElementById('newNoteModal').classList.add('active');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
739
  }
740
 
741
+ function closeNewNoteModal() {
742
+ document.getElementById('newNoteModal').classList.remove('active');
 
 
 
743
  }
744
 
745
+ function createNewNote() {
746
+ // Handle note creation
747
+ const form = document.getElementById('newNoteForm');
748
+ if (form.checkValidity()) {
749
+ // Add your note creation logic here
750
+ closeNewNoteModal();
751
+ } else {
752
+ form.reportValidity();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
753
  }
754
  }
755
 
756
+ // Close modal when clicking outside
757
+ document.getElementById('newNoteModal').addEventListener('click', (e) => {
758
+ if (e.target === e.currentTarget) {
759
+ closeNewNoteModal();
 
 
760
  }
761
  });
762
 
763
+ // Search functionality
764
+ const searchInput = document.querySelector('.search-input');
765
+ searchInput.addEventListener('input', (e) => {
766
+ // Add your search logic here
767
+ console.log('Searching for:', e.target.value);
768
  });
769
 
770
+ // Filter functionality
771
+ const filterSelects = document.querySelectorAll('.filter-select');
772
+ filterSelects.forEach(select => {
773
+ select.addEventListener('change', (e) => {
774
+ // Add your filter logic here
775
+ console.log('Filter changed:', e.target.value);
776
+ });
 
 
 
777
  });
 
 
 
778
  </script>
779
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://deepsite.hf.co/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=dataquantals/quantals-collect" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
780
  </html>