How advaitharivoli/dps-safety-hub works
School Safety Hub is a browser-based bullying report and case registry. Students look up their admission record and submit an incident; school staff review it through role-specific dashboards, escalate it across authority levels, and record a final resolution. Principal-level statistics and simulated CCTV evidence are additional capabilities. The runtime is concentrated in app.js, with shared role views in index.html and presentation in style.css. Several feature links are documented in the README; unsampled implementation details are not inferred.
Main entry points: app.js Incident registry · index.html Incident reporting · style.css Responsive styling
Components 18
Student intake
- Incident reporting
index.html - Admission lookup
app.js - Incident capture
app.js
Case management
- Incident registry
app.js - Teacher triage
index.html - Case escalation
app.js - Case resolution
app.js - Mock CCTV evidence
app.js
Authority oversight
- Senior Mistress
index.html - Head Mistress
index.html - Vice Principal
index.html - Principal decisions
index.html - School-wide statistics
app.js
Browser interface
- Role sign-in
app.js - Role dashboards
index.html - Responsive styling
style.css
Other components
- Student reporter
- School staff
Connections 18
- Student reporter → Incident reporting: submits report
README.md - Incident reporting → Admission lookup: looks up student
README.md - Incident reporting → Incident capture: documents incident
README.md - Incident capture → Incident registry: creates case
app.js - School staff → Role sign-in: signs in
app.js - Role sign-in → Role dashboards: switches role view
app.js - Incident registry → Teacher triage: feeds review
README.md - Teacher triage → Senior Mistress: escalates cases
README.md - Senior Mistress → Head Mistress: escalates cases
README.md - Head Mistress → Vice Principal: escalates cases
README.md - Vice Principal → Principal decisions: escalates cases
README.md - School staff → Case escalation: escalates case
README.md - Case escalation → Incident registry: updates case
README.md - School staff → Case resolution: records outcome
README.md - Case resolution → Incident registry: updates status
app.js - Incident registry → School-wide statistics: supplies case data
README.md - Incident capture → Mock CCTV evidence: links by location
README.md - Role dashboards → Responsive styling: styled by
README.md