-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
55 lines (53 loc) · 1.92 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LocaleSense</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>LocaleSense</h1>
<div id="content">
<!-- Home Page -->
<div id="home-page">
<button id="getLocationButton">Get Current Location</button>
<button id="logoutButton">Sign Out</button>
<div id="location-info" class="info-section">
<!-- Location coordinates and address will be displayed here -->
</div>
<div id="map" class="info-section">
<!-- Map will be displayed here -->
</div>
<button id="findPlacesButton" style="display: none;">Find Nearby Places</button>
</div>
<!-- Search Page -->
<div id="search-page" style="display: none;">
<button id="backButton">Back</button>
<button id="logoutButton">Sign Out</button>
<div id="search-controls" class="info-section">
<strong>Select Place Type:</strong>
<select id="place-type-select">
<option value="restaurant">Restaurants</option>
<option value="tourist_attraction">Tourist Attractions</option>
<option value="park">Parks</option>
<option value="museum">Museums</option>
<option value="cafe">Cafes</option>
<option value="bar">Bars</option>
<option value="shopping_mall">Shopping Malls</option>
</select>
<!-- Radius Adjustment -->
<div id="radius-section">
<label for="radius-slider">Search Radius: <span id="radius-value">1500</span> meters</label>
<input type="range" id="radius-slider" min="500" max="5000" step="100" value="1500">
</div>
<button id="searchPlacesButton">Search Places</button>
</div>
<!-- Places -->
<div id="places" class="info-section">
<!-- Nearby places will be displayed here -->
</div>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>