-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb5b6a0
commit 556c6cc
Showing
1 changed file
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Neighborhood Safety Reporting</title> | ||
<link rel="stylesheet" href="styles.css"> | ||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" /> | ||
</head> | ||
<body> | ||
<header> | ||
<h1>Neighborhood Safety Reporting</h1> | ||
<nav> | ||
<ul> | ||
<li><a href="#login" id="nav-login">Login</a></li> | ||
<li><a href="#report" id="nav-report">Report Issue</a></li> | ||
<li><a href="#map" id="nav-map">View Map</a></li> | ||
<li><a href="#discuss" id="nav-discuss">Discuss</a></li> | ||
<li><a href="#" id="nav-logout" style="display:none;">Logout</a></li> | ||
</ul> | ||
</nav> | ||
</header> | ||
|
||
<main> | ||
<section id="login"> | ||
<h2>Login</h2> | ||
<form id="login-form"> | ||
<label for="username">Username:</label> | ||
<input type="text" id="username" name="username" required> | ||
|
||
<label for="password">Password:</label> | ||
<input type="password" id="password" name="password" required> | ||
|
||
<button type="submit">Login</button> | ||
</form> | ||
</section> | ||
|
||
<section id="report" style="display:none;"> | ||
<h2>Report an Issue</h2> | ||
<form id="report-form"> | ||
<label for="location">Location:</label> | ||
<input type="text" id="location" name="location" required> | ||
|
||
<label for="description">Description:</label> | ||
<textarea id="description" name="description" required></textarea> | ||
|
||
<button type="submit">Submit</button> | ||
</form> | ||
</section> | ||
|
||
<section id="map" style="display:none;"> | ||
<h2>Map of Incidents</h2> | ||
<div id="map-container"></div> | ||
</section> | ||
|
||
<section id="discuss" style="display:none;"> | ||
<h2>Discussion Forum</h2> | ||
<div id="discussion-container"> | ||
<textarea id="discussion-input" placeholder="Share your thoughts..."></textarea> | ||
<button id="post-button">Post</button> | ||
<div id="discussion-feed"></div> | ||
</div> | ||
</section> | ||
</main> | ||
|
||
<footer> | ||
<p>© 2024 Neighborhood Safety Reporting</p> | ||
</footer> | ||
|
||
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script> | ||
<script src="script.js"></script> | ||
</body> | ||
</html> |