-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebelos.html
More file actions
686 lines (601 loc) · 35.9 KB
/
webelos.html
File metadata and controls
686 lines (601 loc) · 35.9 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
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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Webelos Den Schedule</title>
<style>
.den-meeting:hover {
background: linear-gradient(90deg, #d4f4dd, #a8e6a3) !important;
}
/* Loading spinner animation */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
}
.container {
background: white;
border-radius: 12px;
padding: 30px;
box-shadow: 0 8px 32px rgba(0,0,0,0.15);
max-width: 1400px;
margin: 0 auto;
}
.header {
text-align: center;
margin-bottom: 30px;
}
h1 {
color: #2c3e50;
margin-bottom: 10px;
font-size: 2.5em;
font-weight: 700;
}
.subtitle {
color: #7f8c8d;
font-size: 1.2em;
margin-bottom: 20px;
}
.summary-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.card {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.card h3 {
margin: 0 0 10px 0;
font-size: 2em;
font-weight: bold;
}
.card p {
margin: 0;
opacity: 0.9;
}
.controls {
display: flex;
justify-content: center;
gap: 15px;
margin-bottom: 25px;
flex-wrap: wrap;
}
.btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 12px 24px;
border: none;
border-radius: 25px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.table-container {
overflow-x: auto;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
table {
width: 100%;
border-collapse: collapse;
background: white;
font-size: 14px;
}
th {
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
color: white;
padding: 15px 12px;
text-align: left;
font-weight: 600;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.5px;
position: sticky;
top: 0;
z-index: 10;
}
td {
padding: 12px;
border-bottom: 1px solid #ecf0f1;
vertical-align: top;
transition: background-color 0.2s ease;
}
tr:hover {
background-color: #f8f9fa;
}
.event-number {
text-align: center;
font-weight: bold;
width: 60px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 50%;
margin: 0 auto;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
}
.date-col {
width: 100px;
font-weight: bold;
color: #2c3e50;
}
.time-col {
width: 80px;
text-align: center;
font-family: 'Courier New', monospace;
color: #7f8c8d;
}
.location-col {
width: 150px;
color: #8e44ad;
font-weight: 500;
}
.event-title {
font-weight: 600;
color: #2c3e50;
min-width: 200px;
}
.adventure-col {
min-width: 180px;
}
.required-adventure {
color: #c0392b;
font-weight: 600;
}
.elective-adventure {
color: #27ae60;
font-weight: 500;
}
.description-col {
color: #555;
line-height: 1.4;
max-width: 300px;
}
.location-tbd {
color: #e74c3c;
font-style: italic;
}
.special-event {
background: linear-gradient(90deg, #fff3cd, #ffeaa7) !important;
border-left: 4px solid #f39c12;
}
.special-event:hover {
background: linear-gradient(90deg, #ffeaa7, #fdcb6e) !important;
}
.den-meeting {
background: linear-gradient(90deg, #e8f5e8, #d4f4dd) !important;
border-left: 4px solid #27ae60;
}
.den-meeting:hover {
background: linear-gradient(90deg, #d4f4dd, #c3f0ca) !important;
}
@media (max-width: 768px) {
.container {
padding: 15px;
}
h1 {
font-size: 2em;
}
.summary-cards {
grid-template-columns: 1fr;
}
.controls {
flex-direction: column;
align-items: center;
}
table {
font-size: 12px;
}
th, td {
padding: 8px 6px;
}
}
@media print {
body {
background: white;
}
.controls {
display: none;
}
.container {
box-shadow: none;
padding: 0;
}
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>🏕️ Webelos Den Schedule</h1>
<p class="subtitle">All Den Meetings, Pack Meetings & Special Events • Sep 2025 - May 2026</p>
<p style="margin: 10px 0; font-size: 1.1em;">
<strong>🔗 Bookmark this page:</strong>
<a href="https://jpfeiffe.github.io/webelos.html" style="color: #495057; text-decoration: none; font-weight: 500; background: #f8f9fa; padding: 5px 10px; border-radius: 5px; border: 1px solid #dee2e6;">jpfeiffe.github.io/webelos.html</a>
</p>
</div>
<div style="margin-bottom: 30px; padding: 20px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 10px; border-left: 5px solid #495057;">
<h2 style="color: #495057; margin-top: 0; font-size: 1.5em;">👥 Den Leadership</h2>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px;">
<div style="background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #495057;">Den Leader:</strong> Joel Pfeiffer
</div>
<div style="background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #495057;">Parent Volunteer Coordinator:</strong> Nicole Shoen
</div>
<div style="background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #495057;">Assistant Den Leader:</strong> Karl Leingang???
</div>
<div style="background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #495057;">Assistant Den Leader:</strong> Nicole Shoen
</div>
</div>
</div>
<div class="controls">
<button class="btn" onclick="window.open('https://docs.google.com/spreadsheets/d/14jO0oW-Xo3POnYAcapSEY_44sG7pz5btCI3zigAml3s/edit?gid=628523915#gid=628523915', '_blank')" title="Opens Google Sheets in a new tab">📅 Edit Calendar (Google Sheets)</button>
</div>
<!-- Loading Message -->
<div id="loadingMessage" style="text-align: center; padding: 40px; background: #f8f9fa; border-radius: 10px; margin: 20px 0;">
<div style="display: inline-block; animation: spin 1s linear infinite; width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid #007bff; border-radius: 50%; margin-bottom: 20px;"></div>
<p style="color: #6c757d; font-size: 1.1em; margin: 0;">Loading schedule from Google Sheets...</p>
</div>
<!-- Schedule Container -->
<div id="scheduleContainer" style="display: none;">
<div class="table-container">
<table id="scheduleTable">
<thead>
<tr>
<th style="width: 60px;">#</th>
<th class="date-col">Date</th>
<th class="time-col">Start</th>
<th class="time-col">End</th>
<th class="event-title">Event Title</th>
<th class="location-col">Location</th>
<th class="adventure-col">Adventure</th>
<th class="description-col">Description</th>
<th class="description-col">Planner</th>
<th class="description-col">Helper1</th>
<th class="description-col">Helper2</th>
<th class="description-col">Snacks</th>
</tr>
</thead>
<tbody id="scheduleTableBody">
<!-- Table will be populated by JavaScript -->
</tbody>
</table>
</div>
</div>
<div style="margin-top: 40px; padding: 25px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 10px; border-left: 5px solid #6c757d;">
<h2 style="color: #495057; margin-top: 0; font-size: 1.8em;">🏆 Webelos Adventures</h2>
<p style="color: #6c757d; margin-bottom: 25px;">Complete adventure guide and requirements overview. <a href="https://www.scouting.org/programs/cub-scouts/adventures/webelos/" target="_blank" style="color: #495057; text-decoration: none; font-weight: 500;">Official BSA Webelos Adventures →</a></p>
<!-- Required Adventures (Do At Home) -->
<div style="margin-bottom: 30px; padding: 20px; background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); border-radius: 8px; border-left: 4px solid #ff9800;">
<h3 style="color: #e65100; margin-top: 0; font-size: 1.4em;">📚 Required Adventures (Do At Home)</h3>
<p style="color: #bf360c; margin-bottom: 20px; font-style: italic;">These required adventures should be completed at home with family:</p>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;">
<div style="background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-left: 4px solid #c0392b;">
<h4 style="color: #c0392b; margin-top: 0;"><a href="https://www.scouting.org/cub-scout-adventures/my-safety/" target="_blank" style="color: #c0392b; text-decoration: none;">My Safety (Required)</a></h4>
<p style="color: #555; margin: 0;">Learn about safety at home, online safety, and emergency procedures. Complete safety checklist with family.</p>
</div>
<div style="background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-left: 4px solid #c0392b;">
<h4 style="color: #c0392b; margin-top: 0;"><a href="https://www.scouting.org/cub-scout-adventures/my-family/" target="_blank" style="color: #c0392b; text-decoration: none;">My Family (Required)</a></h4>
<p style="color: #555; margin: 0;">Explore family history, create family tree, learn about family traditions and values.</p>
</div>
</div>
</div>
<!-- Required Adventures (Do With Den) -->
<div style="margin-bottom: 30px; padding: 20px; background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c8 100%); border-radius: 8px; border-left: 4px solid #4caf50;">
<h3 style="color: #2e7d32; margin-top: 0; font-size: 1.4em;">🏕️ Required Adventures (Do With Den)</h3>
<p style="color: #1b5e20; margin-bottom: 20px; font-style: italic;">These required adventures will be completed during den meetings and activities:</p>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px;">
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); border-left: 3px solid #c0392b;">
<strong style="color: #c0392b;"><a href="https://www.scouting.org/cub-scout-adventures/bobcat-webelos/" target="_blank" style="color: #c0392b; text-decoration: none;">Bobcat Adventure</a></strong><br>
<small style="color: #666;">Foundational Cub Scout skills and values</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); border-left: 3px solid #c0392b;">
<strong style="color: #c0392b;"><a href="https://www.scouting.org/cub-scout-adventures/my-community/" target="_blank" style="color: #c0392b; text-decoration: none;">My Community</a></strong><br>
<small style="color: #666;">Community helpers and local government</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); border-left: 3px solid #c0392b;">
<strong style="color: #c0392b;"><a href="https://www.scouting.org/cub-scout-adventures/stronger-faster-higher/" target="_blank" style="color: #c0392b; text-decoration: none;">Stronger, Faster, Higher</a></strong><br>
<small style="color: #666;">Physical fitness and healthy habits</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); border-left: 3px solid #c0392b;">
<strong style="color: #c0392b;"><a href="https://www.scouting.org/cub-scout-adventures/webelos-walkabout/" target="_blank" style="color: #c0392b; text-decoration: none;">Webelos Walkabout</a></strong><br>
<small style="color: #666;">Outdoor skills and hiking (at Family Camp)</small>
</div>
</div>
</div>
<!-- Elective Adventures -->
<div style="padding: 20px; background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); border-radius: 8px; border-left: 4px solid #2196f3;">
<h3 style="color: #0d47a1; margin-top: 0; font-size: 1.4em;">⭐ Elective Adventures</h3>
<p style="color: #1565c0; margin-bottom: 20px; font-style: italic;">Choose 2 elective adventures for advancement (we'll do Let's Camp Webelos at Family Camp):</p>
<div style="margin-bottom: 20px; padding: 15px; background: white; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); border-left: 3px solid #27ae60;">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/lets-camp-webelos/" target="_blank" style="color: #27ae60; text-decoration: none;">Let's Camp Webelos</a></strong> <em style="color: #666;">(Scheduled at Family Camp)</em><br>
<small style="color: #666;">Camping skills and outdoor cooking</small>
</div>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px;">
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/aquanaut/" target="_blank" style="color: #27ae60; text-decoration: none;">Aquanaut</a></strong><br>
<small style="color: #666;">Swimming and water activities</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/art-explosion/" target="_blank" style="color: #27ae60; text-decoration: none;">Art Explosion</a></strong><br>
<small style="color: #666;">Creative arts and crafts</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/aware-and-care/" target="_blank" style="color: #27ae60; text-decoration: none;">Aware and Care</a></strong><br>
<small style="color: #666;">Community service and helping others</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/build-it/" target="_blank" style="color: #27ae60; text-decoration: none;">Build It</a></strong><br>
<small style="color: #666;">Construction and building projects</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/catch-the-big-one/" target="_blank" style="color: #27ae60; text-decoration: none;">Catch the Big One</a></strong><br>
<small style="color: #666;">Fishing and water safety</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/champions-for-nature-webelos/" target="_blank" style="color: #27ae60; text-decoration: none;">Champions for Nature Webelos</a></strong><br>
<small style="color: #666;">Environmental conservation and nature</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/chefs-knife/" target="_blank" style="color: #27ae60; text-decoration: none;">Chef's Knife</a></strong><br>
<small style="color: #666;">Cooking and kitchen safety</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/earth-rocks/" target="_blank" style="color: #27ae60; text-decoration: none;">Earth Rocks</a></strong><br>
<small style="color: #666;">Geology and earth science</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/math-on-the-trail/" target="_blank" style="color: #27ae60; text-decoration: none;">Math on the Trail</a></strong><br>
<small style="color: #666;">Outdoor math activities</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/modular-design/" target="_blank" style="color: #27ae60; text-decoration: none;">Modular Design</a></strong><br>
<small style="color: #666;">Building and engineering</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/paddle-onward/" target="_blank" style="color: #27ae60; text-decoration: none;">Paddle Onward</a></strong><br>
<small style="color: #666;">Canoeing and paddling</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/pedal-away/" target="_blank" style="color: #27ae60; text-decoration: none;">Pedal Away</a></strong><br>
<small style="color: #666;">Bicycling and bike safety</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/race-time-webelos/" target="_blank" style="color: #27ae60; text-decoration: none;">Race Time Webelos</a></strong><br>
<small style="color: #666;">Pinewood derby and racing</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/summertime-fun-webelos/" target="_blank" style="color: #27ae60; text-decoration: none;">Summertime Fun Webelos</a></strong><br>
<small style="color: #666;">Summer activities and games</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/tech-on-the-trail/" target="_blank" style="color: #27ae60; text-decoration: none;">Tech on the Trail</a></strong><br>
<small style="color: #666;">Technology and outdoor activities</small>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);">
<strong style="color: #27ae60;"><a href="https://www.scouting.org/cub-scout-adventures/yo-yo/" target="_blank" style="color: #27ae60; text-decoration: none;">Yo-yo</a></strong><br>
<small style="color: #666;">Yo-yo tricks and physics</small>
</div>
</div>
</div>
</div>
<div style="margin-top: 30px; padding: 25px; background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%); border-radius: 10px; border-left: 5px solid #f39c12;">
<h2 style="color: #856404; margin-top: 0; font-size: 1.8em;">🏕️ Camp Pigott Webelos Camp</h2>
<p style="color: #856404; margin-bottom: 20px;">Additional camping opportunity for Webelos scouts:</p>
<div style="background: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-left: 4px solid #f39c12;">
<h3 style="color: #f39c12; margin-top: 0;">Session: July 9th - 12th, 2025</h3>
<p style="color: #555; margin: 10px 0;"><strong>Location:</strong> Camp Pigott, 24225 Woods Creek Road, Snohomish, WA</p>
<p style="color: #555; margin: 10px 0;"><strong>Cost:</strong> $345 per Scout</p>
<p style="color: #555; margin: 10px 0;"><strong>More Info:</strong> <a href="https://scoutingseattle.org/camp-pigott/webelos-camp/" target="_blank" style="color: #f39c12; text-decoration: none;">https://scoutingseattle.org/camp-pigott/webelos-camp/</a></p>
</div>
</div>
</div>
<script>
// Google Sheets configuration
const GOOGLE_SHEET_ID = '14jO0oW-Xo3POnYAcapSEY_44sG7pz5btCI3zigAml3s';
const SHEET_NAME = 'Sheet1'; // Change this if your sheet has a different name
const GOOGLE_SHEET_CSV_URL = `https://docs.google.com/spreadsheets/d/${GOOGLE_SHEET_ID}/gviz/tq?tqx=out:csv&sheet=${SHEET_NAME}`;
// Global variable to store schedule data
let completeSchedule = [];
// Function to parse CSV data
function parseCSV(csvText) {
const lines = csvText.split('\n');
const headers = lines[0].split(',').map(header => header.replace(/"/g, '').trim());
const data = [];
for (let i = 1; i < lines.length; i++) {
if (lines[i].trim()) {
const values = [];
let currentValue = '';
let inQuotes = false;
for (let j = 0; j < lines[i].length; j++) {
const char = lines[i][j];
if (char === '"') {
inQuotes = !inQuotes;
} else if (char === ',' && !inQuotes) {
values.push(currentValue.trim());
currentValue = '';
} else {
currentValue += char;
}
}
values.push(currentValue.trim());
const rowData = {};
headers.forEach((header, index) => {
rowData[header] = values[index] || '';
});
data.push(rowData);
}
}
return data;
}
// Function to load data from Google Sheets
async function loadFromGoogleSheet() {
try {
const response = await fetch(GOOGLE_SHEET_CSV_URL);
const csvText = await response.text();
const data = parseCSV(csvText);
// Transform data to match expected format
completeSchedule = data.map(row => ({
"Event #": row["Event #"] || row["Event"] || '',
"Date": row["Date"] || '',
"Start Time": row["Start Time"] || row["Start"] || '',
"End Time": row["End Time"] || row["End"] || '',
"Event Title": row["Event Title"] || row["Title"] || '',
"Location": row["Location"] || '',
"Adventure": row["Adventure"] || '',
"Adventure Type": row["Adventure Type"] || row["Type"] || '',
"Planner": row["Planner"] || '',
"Helper1": row["Helper1"] || row["Helper 1"] || '',
"Helper2": row["Helper2"] || row["Helper 2"] || '',
"Snacks": row["Snacks"] || '',
"Description": row["Description"] || ''
}));
populateTable();
document.getElementById('loadingMessage').style.display = 'none';
document.getElementById('scheduleContainer').style.display = 'block';
} catch (error) {
console.error('Error loading from Google Sheet:', error);
document.getElementById('loadingMessage').innerHTML =
'<p style="color: red;">Error loading schedule data. Please check the Google Sheet URL and permissions.</p>';
}
}
// Populate the table dynamically
function populateTable() {
const tableBody = document.getElementById('scheduleTableBody');
tableBody.innerHTML = '';
// Helper to format Sign-Up
function formatSignUp(val) {
if (typeof val === 'string' && val.trim().toLowerCase() === 'sign-up') {
return '<span style="color: #ff0000; font-weight: bold;"><Sign-Up!></span>';
}
return val;
}
completeSchedule.forEach(event => {
const row = document.createElement('tr');
// Determine styling
let rowClass = '';
if (event["Event Title"].toLowerCase().includes('den meeting')) {
rowClass = 'den-meeting';
} else if (event["Event Title"].toLowerCase().includes('camp') ||
event["Event Title"].toLowerCase().includes('blue & gold') ||
event["Event Title"].toLowerCase().includes('crossover')) {
rowClass = 'special-event';
}
if (rowClass) {
row.className = rowClass;
}
// Determine adventure styling
let adventureClass = '';
let adventureStyle = '';
let adventureDisplay = event["Adventure"];
if (event["Adventure Type"] === 'Required') {
adventureClass = 'required-adventure';
adventureStyle = 'color: #c0392b; font-weight: 600;';
adventureDisplay = `${event["Adventure"]} (${event["Adventure Type"]})`;
} else if (event["Adventure Type"] === 'Elective') {
adventureClass = 'elective-adventure';
adventureStyle = 'color: #27ae60; font-weight: 500;';
adventureDisplay = `${event["Adventure"]} (${event["Adventure Type"]})`;
} else if (event["Adventure Type"] === 'Required & Elective') {
adventureDisplay = `Webelos Walkabout (<span class="required-adventure">Required</span>) & Let's Camp Webelos (<span class="elective-adventure">Elective</span>)`;
} else {
adventureDisplay = event["Adventure"];
}
// Format cells for Helper1, Helper2, Snacks, Planner
const plannerCell = formatSignUp(event["Planner"] || event["Event Coordinators"] || "N/A");
const helper1Cell = formatSignUp(event["Helper1"] || "N/A");
const helper2Cell = formatSignUp(event["Helper2"] || "N/A");
const snacksCell = formatSignUp(event["Snacks"] || "N/A");
row.innerHTML = `
<td style="text-align: center;">
<div class="event-number">${event["Event #"]}</div>
</td>
<td class="date-col">${event["Date"]}</td>
<td class="time-col">${event["Start Time"]}</td>
<td class="time-col">${event["End Time"]}</td>
<td class="event-title">${event["Event Title"]}</td>
<td class="location-col ${event["Location"] === 'TBD' ? 'location-tbd' : ''}">${event["Location"]}</td>
<td class="adventure-col" style="${adventureStyle}">${adventureDisplay}</td>
<td class="description-col">${event["Description"]}</td>
<td class="description-col" style="font-size: 12px;">${plannerCell}</td>
<td class="description-col" style="font-size: 12px;">${helper1Cell}</td>
<td class="description-col" style="font-size: 12px;">${helper2Cell}</td>
<td class="description-col" style="font-size: 12px;">${snacksCell}</td>
`;
tableBody.appendChild(row);
});
}
// Export to CSV function
function exportToCSV() {
const headers = ['Event #', 'Date', 'Start Time', 'End Time', 'Event Title', 'Location', 'Adventure', 'Adventure Type', 'Description', 'Planner'];
let csvContent = headers.join(',') + '\n';
completeSchedule.forEach(event => {
const row = [
event["Event #"],
`"${event["Date"]}"`,
`"${event["Start Time"]}"`,
`"${event["End Time"]}"`,
`"${event["Event Title"]}"`,
`"${event["Location"]}"`,
`"${event["Adventure"]}"`,
`"${event["Adventure Type"]}"`,
`"${(event["Description"] || "").replace(/"/g, '""')}"`,
`"${(event["Planner"] || "N/A").replace(/<br>/g, '; ').replace(/"/g, '""')}"`
];
csvContent += row.join(',') + '\n';
});
const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });
const link = document.createElement('a');
const url = URL.createObjectURL(blob);
link.setAttribute('href', url);
link.setAttribute('download', 'Pack_584_Complete_Schedule.csv');
link.style.visibility = 'hidden';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}
// Print function
function printSchedule() {
window.print();
}
// Show summary function
function showSummary() {
const denCount = completeSchedule.filter(e => e["Event Title"].includes('Den Meeting')).length;
const packCount = completeSchedule.filter(e => e["Event Title"].includes('Pack Meeting')).length;
const specialCount = completeSchedule.filter(e =>
e["Event Title"].includes('Camp') || e["Event Title"].includes('Blue & Gold')).length;
const requiredCount = completeSchedule.filter(e => e["Adventure Type"] === 'Required').length;
const electiveCount = completeSchedule.filter(e => e["Adventure Type"] === 'Elective').length;
alert(`Pack 584 Schedule Summary:\n\n• ${denCount} Den Meetings\n• ${packCount} Pack Meetings\n• ${specialCount} Special Events\n• ${completeSchedule.length} Total Events\n\nAdventures Planned:\n• ${requiredCount} Required Adventures\n• ${electiveCount} Elective Adventures\n\nSeptember 2025 - May 2026`);
}
// Initialize everything when page loads
document.addEventListener('DOMContentLoaded', function() {
loadFromGoogleSheet();
});
</script>