Update templates/index.html
Browse files- templates/index.html +35 -0
templates/index.html
CHANGED
|
@@ -35,6 +35,9 @@
|
|
| 35 |
<a href="#map" class="nav-item" data-section="map">
|
| 36 |
<span class="nav-icon">🗺️</span><span class="nav-label">Colleges Map</span>
|
| 37 |
</a>
|
|
|
|
|
|
|
|
|
|
| 38 |
<a href="#table" class="nav-item" data-section="table">
|
| 39 |
<span class="nav-icon">📋</span><span class="nav-label">Participants</span>
|
| 40 |
</a>
|
|
@@ -282,6 +285,29 @@
|
|
| 282 |
<div class="map-legend-grid" id="mapLegendGrid"></div>
|
| 283 |
</section>
|
| 284 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 285 |
<!-- ── Participants Table ─────────────────────────────────────── -->
|
| 286 |
<section id="table" class="section">
|
| 287 |
<div class="section-header">
|
|
@@ -342,6 +368,15 @@
|
|
| 342 |
</div>
|
| 343 |
</div>
|
| 344 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 345 |
<script src="/static/js/main.js"></script>
|
| 346 |
</body>
|
| 347 |
</html>
|
|
|
|
| 35 |
<a href="#map" class="nav-item" data-section="map">
|
| 36 |
<span class="nav-icon">🗺️</span><span class="nav-label">Colleges Map</span>
|
| 37 |
</a>
|
| 38 |
+
<a href="#gallery" class="nav-item" data-section="gallery">
|
| 39 |
+
<span class="nav-icon">🖼️</span><span class="nav-label">Gallery</span>
|
| 40 |
+
</a>
|
| 41 |
<a href="#table" class="nav-item" data-section="table">
|
| 42 |
<span class="nav-icon">📋</span><span class="nav-label">Participants</span>
|
| 43 |
</a>
|
|
|
|
| 285 |
<div class="map-legend-grid" id="mapLegendGrid"></div>
|
| 286 |
</section>
|
| 287 |
|
| 288 |
+
<!-- ── Image Gallery ─────────────────────────────────────────── -->
|
| 289 |
+
<section id="gallery" class="section">
|
| 290 |
+
<div class="section-header">
|
| 291 |
+
<h2 class="section-title">Photo Gallery</h2>
|
| 292 |
+
<span class="section-badge">Group Photographs</span>
|
| 293 |
+
</div>
|
| 294 |
+
|
| 295 |
+
<div class="gallery-grid">
|
| 296 |
+
<div class="gallery-card" onclick="openLightbox('/static/images/DTE Batch-1 group photo_page-0001.jpg', 'Batch 1 - Group Photo')">
|
| 297 |
+
<img src="/static/images/DTE Batch-1 group photo_page-0001.jpg" alt="Batch 1 Group Photo" loading="lazy">
|
| 298 |
+
<div class="gallery-caption">Batch 1 (09th Feb - 13th Feb 2026)</div>
|
| 299 |
+
</div>
|
| 300 |
+
<div class="gallery-card" onclick="openLightbox('/static/images/DTE Batch-2 group photo_page-0001.jpg', 'Batch 2 - Group Photo')">
|
| 301 |
+
<img src="/static/images/DTE Batch-2 group photo_page-0001.jpg" alt="Batch 2 Group Photo" loading="lazy">
|
| 302 |
+
<div class="gallery-caption">Batch 2 (16th Feb - 20th Feb 2026)</div>
|
| 303 |
+
</div>
|
| 304 |
+
<div class="gallery-card" onclick="openLightbox('/static/images/DTE Batch-3 group photo_page-0001.jpg', 'Batch 3 - Group Photo')">
|
| 305 |
+
<img src="/static/images/DTE Batch-3 group photo_page-0001.jpg" alt="Batch 3 Group Photo" loading="lazy">
|
| 306 |
+
<div class="gallery-caption">Batch 3 (23rd Feb - 27th Feb 2026)</div>
|
| 307 |
+
</div>
|
| 308 |
+
</div>
|
| 309 |
+
</section>
|
| 310 |
+
|
| 311 |
<!-- ── Participants Table ─────────────────────────────────────── -->
|
| 312 |
<section id="table" class="section">
|
| 313 |
<div class="section-header">
|
|
|
|
| 368 |
</div>
|
| 369 |
</div>
|
| 370 |
|
| 371 |
+
<!-- Image Lightbox Modal -->
|
| 372 |
+
<div id="lightboxModal" class="modal-overlay" style="display:none; z-index: 9999;">
|
| 373 |
+
<div class="lightbox-content" style="position: relative; max-width: 90%; max-height: 90%; display: flex; flex-direction: column; align-items: center;">
|
| 374 |
+
<button class="modal-close" id="lightboxClose" style="position: absolute; top: -40px; right: 0; color: white; background: transparent; border: none; font-size: 1.5rem; width: auto; height: auto;">✕</button>
|
| 375 |
+
<img id="lightboxImage" src="" alt="Gallery Image" style="max-width: 100%; max-height: 80vh; border-radius: var(--radius); object-fit: contain; box-shadow: var(--shadow);">
|
| 376 |
+
<div id="lightboxCaption" style="color: white; text-align: center; margin-top: 12px; font-weight: 600; font-size: 1rem; letter-spacing: 0.5px;"></div>
|
| 377 |
+
</div>
|
| 378 |
+
</div>
|
| 379 |
+
|
| 380 |
<script src="/static/js/main.js"></script>
|
| 381 |
</body>
|
| 382 |
</html>
|