Add student and parent management for trip admins

This commit is contained in:
Ian Gulliver
2026-02-14 22:21:36 -08:00
parent 7cc73fe02c
commit 7afbb1efa2
4 changed files with 390 additions and 1 deletions

View File

@@ -27,7 +27,10 @@ async function loadTrips() {
const header = document.createElement('div');
header.className = 'trip-header';
const h3 = document.createElement('h3');
h3.textContent = trip.name;
const tripLink = document.createElement('a');
tripLink.href = '/trip/' + trip.id;
tripLink.textContent = trip.name;
h3.appendChild(tripLink);
const deleteBtn = document.createElement('wa-button');
deleteBtn.variant = 'danger';
deleteBtn.size = 'small';