-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpopup.html
51 lines (51 loc) · 2.03 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
<!DOCTYPE html>
<html>
<head>
<title>Weather popup</title>
<link rel="stylesheet" href="dist/main.css" type="text/css">
</head>
<body>
<div id="menu" class="menu">
<span id="location">No location set</span>
<div id="menu-icon" class="menu-icon">
<div></div>
<div></div>
<div></div>
</div>
<div id="sidebar" class="sidebar">
<div class="options">
<button class="units-btn active" data-units="metric" type="button">°C</button>
<button class="units-btn" data-units="imperial" type="button">°F</button>
<button id="refresh">Refresh</button>
</div>
<div class="location-search">
<h3>Change location</h3>
<input id="location-input" type="text" placeholder="e.g. Waterloo, CA">
<button id="search">
<img src="icons/search_glass.svg">
</button>
<p class="instructions">Search for a location and select from those shown below. For increased accuracy, include a two character country code</p>
</div>
<div id="locations" class="locations"></div>
<div class="credits">
<p>Built by Evan Yeung.<br>Powered by <a href="http://openweathermap.org" target="_blank">OpenWeatherMap</a>.</p>
</div>
</div>
</div><!--menu-->
<div id="spinner" class="spinner">
<div></div>
<div></div>
<div></div>
</div>
<div id="main">
<!-- app markup placed here-->
</div>
<div id="no-location">
<p>Please select a location from the menu in the top right corner.</p>
</div>
<div id="error-message">
<p>Unable to update data.</p>
</div>
<script src="dist/main.js"></script>
</body>
</html>