-
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.
feat: added popup to display current version and links for troublesho…
…oting
- Loading branch information
1 parent
7aefdc8
commit b5d5808
Showing
4 changed files
with
62 additions
and
3 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
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,22 @@ | ||
body { | ||
font-family: 'Roboto', sans-serif; | ||
min-width: 400px; | ||
padding: 20px; | ||
font-size: 16px; | ||
} | ||
|
||
.main_container { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 20px; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
align-items: center; | ||
gap: 20px; | ||
} | ||
|
||
ul { | ||
padding-inline-start: 1.5em; | ||
} |
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,32 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="./popup.css" /> | ||
</head> | ||
<body> | ||
|
||
<div classname="main_container"> | ||
|
||
<div classname="container"> | ||
<img src="../images/icon-48.png" /> | ||
<h1>Firebase Fullscreen</h1> | ||
</div> | ||
|
||
<p id="insert_version"></p> | ||
|
||
<br/> | ||
|
||
<h3>Having trouble?</h3> | ||
|
||
<ul> | ||
<li>Make sure you are running the <a href="https://chrome.google.com/webstore/detail/firestore-fullscreen/gemkoopkmgjeegmkoceojgflbpfibnbb" target="_blank">latest version</a></li> | ||
<li>Submit an issue on <a href="https://github.com/clementlize/firestore-fullscreen" target="_blank">Github</a></li> | ||
</ul> | ||
|
||
</div> | ||
|
||
<script src="./popup.js" type="module"></script> | ||
</body> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const manifestData = chrome.runtime.getManifest(); | ||
const insertVersion = document.querySelector('#insert_version'); | ||
insertVersion.innerHTML = `Version ${manifestData.version}`; |