Download index.html from SMUCox/planner: direct link, hf CLI and curl.
- Browser
- Download file 14.4 kB
-
https://huggingface.co/spaces/SMUCox/planner/resolve/main/index.html
- Command line
-
hf download hf://spaces/SMUCox/planner/index.html
-
curl -L -o index.html https://huggingface.co/spaces/SMUCox/planner/resolve/main/index.html
14.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"/> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
| <title>AI Roundtable Planning Tracker</title> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| *,*::before,*::after{box-sizing:border-box;margin:0;padding:0} | |
| body{font-family:'Inter',sans-serif;background:#f3f4f8;color:#1a1a2e;min-height:100vh;padding:36px 16px 80px} | |
| .container{max-width:680px;margin:0 auto} | |
| /* Header */ | |
| .header{background:#fff;border:1px solid #e2e5f0;border-radius:16px;padding:28px 32px;margin-bottom:20px;box-shadow:0 2px 12px rgba(53,76,161,0.06)} | |
| .header-top{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:20px} | |
| .header h1{font-size:1.35rem;font-weight:700;color:#1a1a2e} | |
| .header .event-date{font-size:0.85rem;color:#5a5f7a;margin-top:3px} | |
| .header .event-date strong{color:#354CA1} | |
| .sync-status{font-size:0.72rem;font-weight:500;padding:4px 12px;border-radius:999px;white-space:nowrap} | |
| .sync-status.synced{background:#e8f5ed;color:#2d7a4f} | |
| .sync-status.syncing{background:#fff7ed;color:#92520a} | |
| .sync-status.error{background:#fde8ed;color:#9b1c3a} | |
| .progress-label{display:flex;justify-content:space-between;font-size:0.85rem;margin-bottom:6px} | |
| .progress-label span:first-child{color:#5a5f7a;font-weight:500} | |
| .progress-label span:last-child{font-weight:700;color:#1a1a2e} | |
| .progress-bar{height:10px;background:#eef0f9;border-radius:999px;overflow:hidden} | |
| .progress-fill{height:100%;background:linear-gradient(90deg,#354CA1,#22c55e);border-radius:999px;transition:width 0.5s ease} | |
| /* Week cards */ | |
| .week{border-radius:14px;margin-bottom:12px;overflow:hidden;box-shadow:0 1px 6px rgba(0,0,0,0.05)} | |
| .week-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;cursor:pointer;border:none;text-align:left;transition:filter 0.15s} | |
| .week-header:hover{filter:brightness(0.97)} | |
| .week-left{display:flex;align-items:center;gap:12px} | |
| .week-badge{font-size:0.68rem;font-weight:700;color:#fff;padding:3px 10px;border-radius:999px;white-space:nowrap} | |
| .week-title{font-size:0.88rem;font-weight:600} | |
| .week-sub{font-size:0.75rem;opacity:0.7;margin-top:1px} | |
| .week-right{display:flex;align-items:center;gap:12px} | |
| .week-progress{text-align:right} | |
| .week-progress-count{font-size:0.72rem;opacity:0.6} | |
| .week-progress-bar{width:72px;height:4px;background:rgba(255,255,255,0.4);border-radius:999px;margin-top:4px;overflow:hidden} | |
| .week-progress-fill{height:100%;border-radius:999px;background:rgba(255,255,255,0.9);transition:width 0.4s} | |
| .chevron{font-size:0.75rem;opacity:0.5;transition:transform 0.2s} | |
| .chevron.open{transform:rotate(90deg)} | |
| .week-body{background:#fff;border:1px solid;border-top:none;border-radius:0 0 14px 14px;padding:16px 20px} | |
| .week-note{font-size:0.78rem;color:#9496a8;font-style:italic;margin-bottom:12px} | |
| /* Tasks */ | |
| .task{display:flex;align-items:flex-start;gap:12px;padding:8px 0;cursor:pointer} | |
| .task:not(:last-child){border-bottom:1px solid #f0f2f8} | |
| .task-check{width:20px;height:20px;border-radius:6px;border:2px solid #d0d4e8;background:#fff;flex-shrink:0;margin-top:1px;display:flex;align-items:center;justify-content:center;transition:all 0.15s} | |
| .task-check.checked{border-color:transparent} | |
| .task-check svg{display:none} | |
| .task-check.checked svg{display:block} | |
| .task-info{flex:1} | |
| .task-day{font-size:0.7rem;font-weight:600;margin-bottom:2px} | |
| .task-text{font-size:0.85rem;color:#3a3d52;line-height:1.45;transition:color 0.15s} | |
| .task-text.done{text-decoration:line-through;color:#b0b5cc} | |
| /* Colors */ | |
| .w1{--c:#354CA1;--cl:#eef0f9;--cb:#d0d6ef} .w2{--c:#6b7280;--cl:#f3f4f6;--cb:#e5e7eb} | |
| .w3{--c:#7c3aed;--cl:#f5f3ff;--cb:#ddd6fe} .w4{--c:#0d9488;--cl:#f0fdfa;--cb:#ccfbf1} | |
| .w5{--c:#d97706;--cl:#fffbeb;--cb:#fde68a} .w6{--c:#0369a1;--cl:#f0f9ff;--cb:#bae6fd} | |
| .w7{--c:#6b7280;--cl:#f3f4f6;--cb:#e5e7eb} .w8{--c:#b45309;--cl:#fffbeb;--cb:#fde68a} | |
| .w9{--c:#16a34a;--cl:#f0fdf4;--cb:#bbf7d0} | |
| .week-header{background:var(--cl);border:1px solid var(--cb)} | |
| .week-badge{background:var(--c)} | |
| .week-title{color:var(--c)} | |
| .week-body{border-color:var(--cb)} | |
| .task-check.checked{background:var(--c)} | |
| .task-day{color:var(--c)} | |
| .task-check:not(.checked):hover{border-color:var(--c)} | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div class="header"> | |
| <div class="header-top"> | |
| <div> | |
| <h1>AI Roundtable Planning Tracker</h1> | |
| <div class="event-date">Event confirmed: <strong>Thursday, April 30 Β· 2:00β3:30 PM</strong></div> | |
| </div> | |
| <span class="sync-status syncing" id="sync-status">β³ Loading...</span> | |
| </div> | |
| <div class="progress-label"> | |
| <span>Overall Progress</span> | |
| <span id="progress-text">0/0 tasks</span> | |
| </div> | |
| <div class="progress-bar"><div class="progress-fill" id="progress-fill" style="width:0%"></div></div> | |
| </div> | |
| <div id="weeks-container"></div> | |
| <p style="text-align:center;font-size:0.75rem;color:#b0b5cc;margin-top:8px">Changes save automatically to Google Sheets</p> | |
| </div> | |
| <script> | |
| const SHEET_URL = "https://script.google.com/macros/s/AKfycbz3PF6uknaO1wphuWB1zQaVLgxgs6bg2ZwM7wVdZL-g3jBKw7VhttiQEirNeQqqYhXW/exec"; | |
| const WEEKS = [ | |
| { id:"w1", label:"Week 1", dates:"Mar 9 β Mar 13", goal:"Nail down the date, time, and participants", note:"", tasks:[ | |
| {id:"1a",day:"Mon Mar 9",text:"Review all who volunteered or expressed interest in leading or participating"}, | |
| {id:"1b",day:"Mon Mar 9",text:"Confirm final facilitator leads β pair or designate backups as needed"}, | |
| {id:"1c",day:"MonβWed",text:"Finalize number of stations (4 or 5)"}, | |
| {id:"1d",day:"Thu Mar 13",text:"Send confirmation email: April 30, 2:00β3:30 PM is the date and time"}, | |
| {id:"1e",day:"Thu Mar 13",text:"Include Station Guide and outline in same email β so they can review over spring break"}, | |
| {id:"1f",day:"Thu Mar 13",text:"Note in email: no response needed until after break"}, | |
| ]}, | |
| { id:"w2", label:"Week 2 β Spring Break", dates:"Mar 16 β Mar 20", goal:"Behind-the-scenes prep only", note:"No faculty responses expected β use this time for behind-the-scenes prep.", tasks:[ | |
| {id:"2a",day:"This week",text:"Contact catering for April 30"}, | |
| {id:"2b",day:"This week",text:"Create Box folder structure for station materials"}, | |
| {id:"2c",day:"This week",text:"Draft faculty participant invitation message and registration link"}, | |
| {id:"2d",day:"This week",text:"Invite day-of volunteers β ask them to block April 30, 2:00β3:30 PM"}, | |
| {id:"2e",day:"This week",text:"Ask faculty leads to formally block April 30, 2:00β3:30 PM on their calendars"}, | |
| ]}, | |
| { id:"w3", label:"Week 3", dates:"Mar 23 β Mar 27", goal:"Kickoff Zoom and alignment", note:"", tasks:[ | |
| {id:"3a",day:"Mon Mar 23",text:"Send kickoff Zoom invite to faculty leads β schedule for Thu Mar 27 or Fri Mar 28"}, | |
| {id:"3b",day:"Mon Mar 23",text:"Send faculty participant invitation with registration link"}, | |
| {id:"3c",day:"ThuβFri",text:"Hold kickoff Zoom: review event plan, go over station guide, answer questions"}, | |
| {id:"3d",day:"ThuβFri",text:"Clarify anything unclear from the station guide or demo expectations"}, | |
| ]}, | |
| { id:"w4", label:"Week 4", dates:"Mar 30 β Apr 3", goal:"Registration push and materials check", note:"", tasks:[ | |
| {id:"4a",day:"This week",text:"Send reminder to faculty participants to register"}, | |
| {id:"4b",day:"This week",text:"Follow up with leads on station material uploads to Box"}, | |
| {id:"4c",day:"This week",text:"Confirm catering details and headcount estimate"}, | |
| {id:"4d",day:"This week",text:"Check in with day-of volunteers β confirm availability"}, | |
| ]}, | |
| { id:"w5", label:"Week 5", dates:"Apr 6 β Apr 10", goal:"2nd Zoom and demo check-ins", note:"", tasks:[ | |
| {id:"5a",day:"This week",text:"Schedule 2nd Zoom meeting with faculty leads to review their demos"}, | |
| {id:"5b",day:"This week",text:"Hold Zoom: each lead walks through their demo β offer to assist where needed"}, | |
| {id:"5c",day:"This week",text:"Note any gaps, missing materials, or tech concerns"}, | |
| {id:"5d",day:"This week",text:"Send reminder to registered attendees"}, | |
| ]}, | |
| { id:"w6", label:"Week 6", dates:"Apr 13 β Apr 17", goal:"Review documents, QR code, volunteer prep", note:"", tasks:[ | |
| {id:"6a",day:"This week",text:"Review all submitted facilitator documents in Box"}, | |
| {id:"6b",day:"This week",text:"Create QR code linking to Box folder"}, | |
| {id:"6c",day:"This week",text:"Confirm volunteer staff roles and assignments for event day"}, | |
| {id:"6d",day:"This week",text:"Begin table signs β confirm content per station"}, | |
| {id:"6e",day:"This week",text:"Confirm room layout and rotation timing plan"}, | |
| ]}, | |
| { id:"w7", label:"Week 7 β OOO", dates:"Apr 20 β Apr 25", goal:"Out of office β wrap up before you leave", note:"You're out of office. Wrap up anything outstanding before you leave.", tasks:[ | |
| {id:"7a",day:"Before leaving",text:"Final check: all Box materials uploaded"}, | |
| {id:"7b",day:"Before leaving",text:"Print or queue table signs and QR code printouts"}, | |
| {id:"7c",day:"Before leaving",text:"Send any outstanding follow-ups to leads or volunteers"}, | |
| ]}, | |
| { id:"w8", label:"Final Run", dates:"Apr 27 β Apr 28", goal:"Final run-through before event day", note:"", tasks:[ | |
| {id:"8a",day:"Apr 27β28",text:"Run final check: confirm demo workflows work on campus WiFi"}, | |
| {id:"8b",day:"Apr 27β28",text:"Confirm backup screenshots prepared at each station"}, | |
| {id:"8c",day:"Apr 27β28",text:"Send final reminder to all attendees and facilitators"}, | |
| {id:"8d",day:"Apr 27β28",text:"Confirm catering, room setup, and volunteer assignments"}, | |
| {id:"8e",day:"Apr 27β28",text:"Brief volunteers on day-of flow and timing signals"}, | |
| ]}, | |
| { id:"w9", label:"Event Day", dates:"Thursday, April 30 Β· 2:00β3:30 PM", goal:"Run the Roundtable!", note:"", tasks:[ | |
| {id:"9a",day:"Before 2 PM",text:"Arrive early β set up station tables and signage"}, | |
| {id:"9b",day:"Before 2 PM",text:"Set up QR code access at each station"}, | |
| {id:"9c",day:"Before 2 PM",text:"Check WiFi at all stations"}, | |
| {id:"9d",day:"Before 2 PM",text:"Brief volunteer staff and confirm rotation timing"}, | |
| {id:"9e",day:"2:00 PM",text:"Welcome attendees and kick off the session"}, | |
| {id:"9f",day:"3:30 PM",text:"Wrap up and collect feedback"}, | |
| ]}, | |
| ]; | |
| let checked = {}; | |
| let collapsed = {}; | |
| let saveTimer = null; | |
| function setStatus(state, msg) { | |
| const el = document.getElementById("sync-status"); | |
| el.className = "sync-status " + state; | |
| el.textContent = msg; | |
| } | |
| async function loadFromSheet() { | |
| setStatus("syncing", "β³ Loading..."); | |
| try { | |
| const res = await fetch(SHEET_URL + "?action=load"); | |
| const data = await res.json(); | |
| if (data && data.checked) checked = data.checked; | |
| setStatus("synced", "β Up to date"); | |
| } catch(e) { | |
| setStatus("error", "β Couldn't load β working offline"); | |
| } | |
| render(); | |
| } | |
| async function saveToSheet() { | |
| setStatus("syncing", "β³ Saving..."); | |
| try { | |
| await fetch(SHEET_URL, { | |
| method: "POST", | |
| mode: "no-cors", | |
| headers: {"Content-Type":"application/json"}, | |
| body: JSON.stringify({ action: "save", checked }) | |
| }); | |
| setStatus("synced", "β Saved"); | |
| } catch(e) { | |
| setStatus("error", "β Save failed"); | |
| } | |
| } | |
| function scheduleSave() { | |
| clearTimeout(saveTimer); | |
| saveTimer = setTimeout(saveToSheet, 800); | |
| } | |
| function toggleTask(id) { | |
| checked[id] = !checked[id]; | |
| scheduleSave(); | |
| render(); | |
| } | |
| function toggleCollapse(id) { | |
| collapsed[id] = !collapsed[id]; | |
| render(); | |
| } | |
| function render() { | |
| const totalTasks = WEEKS.reduce((s,w) => s + w.tasks.length, 0); | |
| const totalDone = Object.values(checked).filter(Boolean).length; | |
| const pct = totalTasks ? Math.round(totalDone/totalTasks*100) : 0; | |
| document.getElementById("progress-text").textContent = `${totalDone}/${totalTasks} tasks Β· ${pct}%`; | |
| document.getElementById("progress-fill").style.width = pct + "%"; | |
| const container = document.getElementById("weeks-container"); | |
| container.innerHTML = ""; | |
| WEEKS.forEach((week, i) => { | |
| const wNum = i + 1; | |
| const doneTasks = week.tasks.filter(t => checked[t.id]).length; | |
| const wPct = week.tasks.length ? Math.round(doneTasks/week.tasks.length*100) : 0; | |
| const isCollapsed = collapsed[week.id]; | |
| const div = document.createElement("div"); | |
| div.className = `week w${wNum}`; | |
| const chevronClass = isCollapsed ? "chevron" : "chevron open"; | |
| div.innerHTML = ` | |
| <button class="week-header" onclick="toggleCollapse('${week.id}')"> | |
| <div class="week-left"> | |
| <span class="week-badge">${week.label}</span> | |
| <div> | |
| <div class="week-title">${week.dates}</div> | |
| <div class="week-sub">${week.goal}</div> | |
| </div> | |
| </div> | |
| <div class="week-right"> | |
| <div class="week-progress"> | |
| <div class="week-progress-count">${doneTasks}/${week.tasks.length}</div> | |
| <div class="week-progress-bar"><div class="week-progress-fill" style="width:${wPct}%"></div></div> | |
| </div> | |
| <span class="${chevronClass}">βΆ</span> | |
| </div> | |
| </button> | |
| ${!isCollapsed ? ` | |
| <div class="week-body"> | |
| ${week.note ? `<div class="week-note">${week.note}</div>` : ""} | |
| ${week.tasks.map(t => ` | |
| <div class="task" onclick="toggleTask('${t.id}')"> | |
| <div class="task-check ${checked[t.id] ? 'checked' : ''}"> | |
| <svg width="11" height="9" viewBox="0 0 11 9" fill="none"> | |
| <path d="M1 4L4 7.5L10 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> | |
| </svg> | |
| </div> | |
| <div class="task-info"> | |
| <div class="task-day">${t.day}</div> | |
| <div class="task-text ${checked[t.id] ? 'done' : ''}">${t.text}</div> | |
| </div> | |
| </div> | |
| `).join("")} | |
| </div>` : ""} | |
| `; | |
| container.appendChild(div); | |
| }); | |
| } | |
| // Boot | |
| loadFromSheet(); | |
| </script> | |
| </body> | |
| </html> d |