-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
114 lines (107 loc) · 4.07 KB
/
index.html
File metadata and controls
114 lines (107 loc) · 4.07 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SafeNeighbor</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>SafeNeighbor</h1>
<div id="auth-container">
<button id="auth-button">Log In / Sign Up</button>
</div>
</header>
<main>
<section id="dashboard">
<h2>Dashboard</h2>
<div class="stats-container">
<div class="stat-card">
<h3>Total Reports</h3>
<p class="stat-value">254</p>
<p class="stat-change">+20% from last month</p>
</div>
<div class="stat-card">
<h3>Open Issues</h3>
<p class="stat-value">45</p>
<p class="stat-change">-5% from last month</p>
</div>
<div class="stat-card">
<h3>Resolved Issues</h3>
<p class="stat-value">209</p>
<p class="stat-change">+15% from last month</p>
</div>
<div class="stat-card">
<h3>Average Resolution Time</h3>
<p class="stat-value">3.2 days</p>
<p class="stat-change">-0.5 days from last month</p>
</div>
</div>
</section>
<section id="report-section">
<h2>Report an Issue</h2>
<form id="report-form">
<div class="form-group">
<label for="issue-type">Issue Type:</label>
<select id="issue-type" required>
<option value="">Select issue type</option>
<option value="pothole">Pothole</option>
<option value="streetlight">Broken Streetlight</option>
<option value="graffiti">Graffiti</option>
<option value="suspicious">Suspicious Activity</option>
<option value="other">Other</option>
</select>
</div>
<div class="form-group">
<label for="location">Location:</label>
<input type="text" id="location" required>
</div>
<div class="form-group">
<label for="description">Description:</label>
<textarea id="description" required></textarea>
</div>
<button type="submit">Submit Report</button>
</form>
</section>
<section id="map-section">
<h2>Issue Map</h2>
<div id="map-placeholder">Map View Placeholder</div>
</section>
<section id="list-section">
<h2>Recent Reports</h2>
<table id="reports-table">
<thead>
<tr>
<th>Type</th>
<th>Location</th>
<th>Status</th>
<th>Date Reported</th>
</tr>
</thead>
<tbody>
<!-- Table rows will be populated by JavaScript -->
</tbody>
</table>
</section>
</main>
<div id="auth-modal" class="modal">
<div class="modal-content">
<h2 id="auth-modal-title">Log In</h2>
<form id="auth-form">
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" required>
</div>
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" required>
</div>
<button type="submit">Submit</button>
</form>
<button id="toggle-auth">Don't have an account? Sign Up</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>