Initial commit
This commit is contained in:
50
GetAllGCCodes/popup.html
Normal file
50
GetAllGCCodes/popup.html
Normal file
@@ -0,0 +1,50 @@
|
||||
<!doctype html>
|
||||
<!--
|
||||
This page is shown when the extension button is clicked, because the
|
||||
"browser_action" field in manifest.json contains the "default_popup" key with
|
||||
value "popup.html".
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Getting Started Extension's Popup</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
#container {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!--
|
||||
- JavaScript and HTML must be in separate files: see our Content Security
|
||||
- Policy documentation[1] for details and explanation.
|
||||
-
|
||||
- [1]: https://developer.chrome.com/extensions/contentSecurityPolicy
|
||||
-->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
||||
<script src="getallgccodes.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Background Color Changer</h1>
|
||||
<div id="container">
|
||||
<span>Choose a color</span>
|
||||
<select id="dropdown">
|
||||
<option selected disabled hidden value=''></option>
|
||||
<option value="white">White</option>
|
||||
<option value="pink">Pink</option>
|
||||
<option value="green">Green</option>
|
||||
<option value="yellow">Yellow</option>
|
||||
</select>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user