Harassment and Discrimination Reporting Portal

Harassment & Discrimination Reporting Portal

Your Information

Providing your information is optional but can be helpful for follow-up. You may choose to remain anonymous.

Details of the Incident

Parties Involved

Disclaimer: Submission of this report is for documentation and internal review purposes. It does not constitute a formal legal complaint. All reports are treated with confidentiality.

${conductTypes.join(', ') || 'Not Specified'}

Description of Events:

${incidentDescription}

Involved Parties

Person(s) Engaged in Conduct: ${accusedName}

Witnesses: ${witnesses}

`; reportWrapper.innerHTML = reportHTML; downloadSection.classList.remove('hidden'); } function downloadPDF() { const { jsPDF } = window.jspdf; const contentToCapture = document.getElementById('pdf-content'); if (!contentToCapture) return; html2canvas(contentToCapture, { scale: 2 }).then(canvas => { const imgData = canvas.toDataURL('image/png'); const pdf = new jsPDF({ orientation: 'portrait', unit: 'pt', format: 'a4' }); const pdfWidth = pdf.internal.pageSize.getWidth(); const margin = 40; const contentWidth = pdfWidth - (margin * 2); const contentHeight = (canvas.height * contentWidth) / canvas.width; pdf.addImage(imgData, 'PNG', margin, margin, contentWidth, contentHeight); pdf.save('Incident-Report.pdf'); }); } // --- Event Listeners --- tabs.forEach((tab, index) => tab.addEventListener('click', () => switchTab(index))); nextBtn.addEventListener('click', () => { if (currentTab < tabs.length - 1) switchTab(currentTab + 1); }); prevBtn.addEventListener('click', () => { if (currentTab > 0) switchTab(currentTab - 1); }); anonymousCheckbox.addEventListener('change', toggleReporterFields); document.getElementById('download-pdf-btn').addEventListener('click', downloadPDF); // --- Initial Setup --- updateNavButtons(); toggleReporterFields(); });
Scroll to Top