-
Notifications
You must be signed in to change notification settings - Fork 0
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
0129940
commit 5a35690
Showing
5 changed files
with
178 additions
and
43 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 |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
"default_popup": "popup.html" | ||
}, | ||
"permissions": [ | ||
"activeTab", | ||
"geolocation", | ||
"topSites" | ||
], | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,53 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="with=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ei=edge"> | ||
<link rel="stylesheet" href="css/rotate.css"> | ||
<title>Earth Weather</title> | ||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"> | ||
</head> | ||
|
||
<body> | ||
<div class="card" style="width: 24rem;"> | ||
<div class="container" | ||
style="padding: 0px; position: relative; text-align: center; color: #fff; background-color: black;"> | ||
|
||
<img id="geoImage" class="card-img-top" src="img/misc/earthspinning.gif" alt="Location"> | ||
<script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap" | ||
type="text/javascript"></script> | ||
<div id="geoLocation" style="position: absolute; bottom: 8px; left: 16px;">Loading</div> | ||
</div> | ||
<div class="card-body"> | ||
<div class="row"> | ||
<div class="col-7"> | ||
<h5 id="city" class="card-title" style="margin-top: 0; margin-bottom: 2px;"></h5> | ||
<h5 id="description" class="card-subtitle text-muted" style="margin-top: 0; margin-bottom: 2px;"> | ||
</h5> | ||
<p id='sunrise' style="margin-top: 0; margin-bottom: 2px;"></p> | ||
<p id='sunset' style="margin-top: 0; margin-bottom: 2px;"></p> | ||
</div> | ||
<div class="col-5" style="margin-left: 0;"> | ||
<h5 id="cel" class="card-title text-right" | ||
style="margin-top: 0; margin-bottom: 2px; font-size: 275%"></h5> | ||
<h5 id="far" class="card-title text-right" | ||
style="margin-top: 0; margin-bottom: 2px; font-size: 275%"></h5> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
<script src="node_modules/jquery/dist/jquery.slim.min.js"></script> | ||
<script src="node_modules/popper.js/dist/umd/popper.min.js"></script> | ||
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script> | ||
<script src="node_modules/psl/dist/psl.min.js"></script> | ||
|
||
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css"> | ||
<link rel="stylesheet" href="node_modules/bootstrap-social/bootstrap-social.css"> | ||
|
||
<script src="src/popup.js"></script> | ||
|
||
</html> |
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