-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreport.html
231 lines (221 loc) · 9.66 KB
/
report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Emergency Reporting System</title>
<link rel="stylesheet" href="./css/report.css">
<!-- Add any additional CSS or libraries here -->
<style>
/* Add custom styles here */
</style>
</head>
<body>
<div class="container1">
<!-- Navigation Section -->
<nav class="navbar">
<div class="menu-toggle" onclick="toggleNav()">
<!-- Custom hamburger icon -->
<img src="/img/general/mdi--hamburger-open.svg" alt="Menu" class="hamburger-icon">
</div>
<ul class="nav-list" id="navList">
<li class="nav-item"><a href="#">Home</a></li>
<li class="nav-item dropdown">
<a href="#" class="dropdown-toggle">Alerts▼</a>
<ul class="dropdown-menu">
<li><a href="./pages/alerts/general.html">General Alerts</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a href="#" class="dropdown-toggle">Emergency ▼</a>
<ul class="dropdown-menu" id="emergencyDropdown">
<li><a href="./pages/emergency/fire.html">Fire Emergencies</a></li>
<li><a href="./pages/emergency/medical.html">Medical Emergencies</a></li>
<li><a href="./pages/emergency/accident.html">Accident Emergencies</a></li>
<li><a href="./pages/emergency/security.html">Security Emergencies</a></li>
<li><a href="#">Report Emergency</a></li>
</ul>
</li>
<li class="nav-item"><a href="./report.html">Report</a></li>
<li class="nav-item"><a href="./about.html">About</a></li>
<li class="nav-item"><a href="./contact.html">Contact</a></li>
</ul>
</nav>
</div>
<!-- Header Section -->
<header>
<div class="logo">
<img src="./img/logo.jpg" alt="Logo">
</div>
<h1>SwiftResponse Emergency Reporting System</h1>
<p>Report emergencies and seek assistance in a fast and efficient manner.
</p>
</header>
<!-- Main Content Section -->
<main>
<!-- Container 1: University Emergency Reporting Section -->
<div class="container1">
<section class="university-emergency-section">
<h2>University Emergency Reporting</h2>
<p>Welcome to University Emergency Reporting. We're here to assist you in any emergency situation on campus.</p>
<div class="university-images">
<!-- Add images of the university here -->
</div>
<p>If you're experiencing an emergency, please fill out the form below:</p>
<form id="university-report-form" action="/submit_university_report" method="POST">
<!-- Location Input -->
<div class="form-group">
<label for="university-location">Location:</label>
<input type="text" id="university-location" name="university-location" placeholder="Enter location" required>
</div>
<!-- Incident Details Input -->
<div class="form-group">
<label for="university-details">Incident Details:</label>
<textarea id="university-details" name="university-details" placeholder="Describe the incident" required></textarea>
</div>
<!-- Student Name Input -->
<div class="form-group">
<label for="student-name">Student Name:</label>
<input type="text" id="student-name" name="student-name" placeholder="Enter your name" required>
</div>
<!-- Student ID Input -->
<div class="form-group">
<label for="student-id">Student ID:</label>
<input type="text" id="student-id" name="student-id" placeholder="Enter your student ID" required>
</div>
<!-- Emergency Type Selection -->
<div class="form-group">
<label for="university-emergency-type">Emergency Type:</label>
<select id="university-emergency-type" name="university-emergency-type">
<option value="fire">Fire</option>
<option value="medical">Medical</option>
<option value="security">Security</option>
<option value="accident">Accident</option>
<!-- Add more emergency types as needed -->
</select>
</div>
<!-- Submit Button -->
<button type="submit">Submit Report</button>
</form>
</section>
</div>
<!-- Container 2: General User Reporting Section -->
<div class="container2">
<section class="general-user-section">
<h2>General User Reporting</h2>
<p>If you're not affiliated with the university, you can also report emergencies using the form below:</p>
<form id="general-user-report-form" action="/submit_general_report" method="POST">
<!-- Location Input -->
<div class="form-group">
<label for="general-user-location">Location:</label>
<input type="text" id="general-user-location" name="general-user-location" placeholder="Enter location" required>
</div>
<!-- Incident Details Input -->
<div class="form-group">
<label for="general-user-details">Incident Details:</label>
<textarea id="general-user-details" name="general-user-details" placeholder="Describe the incident" required></textarea>
</div>
<!-- Emergency Type Selection -->
<div class="form-group">
<label for="general-user-emergency-type">Emergency Type:</label>
<select id="general-user-emergency-type" name="general-user-emergency-type">
<option value="fire">Fire</option>
<option value="medical">Medical</option>
<option value="security">Security</option>
<option value="accident">Accident</option>
<!-- Add more emergency types as needed -->
</select>
</div>
<!-- Submit Button -->
<button type="submit">Submit Report</button>
</form>
</section>
</div>
<!-- Container 3: Special Treatment for PWD Section -->
<div class="container3">
<section class="pwd-section">
<h2>Accessibility Options for Persons with Disabilities (PWD)</h2>
<p>We provide accessible ways to report emergencies:</p>
<ul>
<!-- Integration with Screen Readers -->
<li>
<div class="screen-reader-only">
<p>This content is for screen readers only and will be read aloud to visually impaired users.</p>
</div>
</li>
<!-- Option for Voice Commands -->
<li>
<div class="voice-command-input">
<label for="voice-command">Voice Command:</label>
<input type="text" id="voice-command" name="voice-command" placeholder="Speak command...">
<button onclick="startVoiceRecognition()">Start</button>
</div>
</li>
<!-- High-Contrast and Large Font Options -->
<li>
<div class="high-contrast-font">
<div class="btn1">
<button onclick="toggleHighContrast()">Toggle High Contrast</button>
</div>
<div class="btn2">
<button onclick="increaseFontSize()">Increase Font Size</button>
</div>
</div>
</li>
<!-- Support for Alternative Input Devices -->
<li>
<div class="alternative-input">
<p>Connect your alternative input device:</p>
<div class="btns">
<div class="btn3">
<button onclick="connectSwitchDevice()">Connect Switch Device</button>
</div>
<div class="btn4">
<button onclick="connectSipAndPuffDevice()">Connect Sip-and-Puff Device</button>
</div>
</div>
</div>
</li>
<!-- Clear and Intuitive Interface Design -->
<li>
<div class="cognitive-interface">
<p>Clear and simple interface:</p>
<label for="username">Username:</label>
<input type="text" id="username" name="username" placeholder="Enter your username">
</div>
</li>
</ul>
</section>
</div>
<!-- Container 4: Alarms and Community Assistance Section -->
<div class="container4">
<section class="alarms-community-section">
<h2>Alarms and Community Assistance</h2>
<p>Activate alarms and seek community assistance:</p>
<!-- Include options for activating alarms and seeking community assistance -->
<!-- Quick Access Icons -->
<div class="quick-access-icons">
<a href="/help"><img src="./img/report/noto--sos-button.svg" alt="Help Icon"></a>
<a href="/report"><img src="./img/report/octicon--report-16.svg" alt="Report Icon"></a>
<a href="/emergency"><img src="./img/report/fluent--alert-on-16-filled.svg" alt="Alert Icon"></a>
</div>
</section>
</div>
</main>
<!-- Footer Section -->
<footer>
<p>© 2024 Emergency Reporting System</p>
<div class="footer-links">
<a href="./index.html">Home</a>
<a href="/pages/alerts/general.html">Alerts</a>
<a href="./report.html">Report</a>
<a href="./about.html">About</a>
<a href="./contact.html">Contact</a>
</footer>
<!-- Scroll to top button -->
<div class="scroll-to-top">
<a href="#top"><img src="./img/back-to-top-icon-png-7.jpg" alt="Scroll to Top"></a>
</div>
<script src="../js/report.js"></script>
</body>
</html>