Add new students, manage their portals, send updates, and mark ChinaGrad tasks complete.
Add New Student
Add this to the STUDENTS object in the portal HTML file:
Active Students
These are the students currently in the portal. To add or update a student, edit the STUDENTS object in the portal HTML file and redeploy.
Send Update to Student
Add this to the student's updates array in the portal HTML:
How to use this admin panel
Adding a student: Fill in their details above → click Generate → copy the code snippet → paste it into the STUDENTS object in portal.html → redeploy to Cloudflare Pages → send the student their unique portal link.
Sending an update: Enter their token → write the message → copy the code → add it to their updates array in portal.html → redeploy.
Marking ChinaGrad tasks complete: The portal automatically shows ChinaGrad tasks as complete when you mark them in the STUDENTS object. Update the checklistState for their token in portal.html and redeploy.