diff options
author | id_ed25519_bbb.git <joak@nospace.at> | 2016-12-19 21:46:26 +0100 |
---|---|---|
committer | id_ed25519_bbb.git <joak@nospace.at> | 2016-12-19 21:46:26 +0100 |
commit | 8e8310fcf99275c2bc42ab3ec56f3ff5a8640505 (patch) | |
tree | 91d702c7f3bc83038313bef9498d5866fb4c3a01 /2016_lamp_browser/firefox/popup.html | |
parent | 26b134161719ca19c5174c9f6524a13280684155 (diff) |
update lamp
Diffstat (limited to '2016_lamp_browser/firefox/popup.html')
-rw-r--r-- | 2016_lamp_browser/firefox/popup.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/2016_lamp_browser/firefox/popup.html b/2016_lamp_browser/firefox/popup.html new file mode 100644 index 0000000..59358f8 --- /dev/null +++ b/2016_lamp_browser/firefox/popup.html @@ -0,0 +1,52 @@ +<!doctype html> +<html> + <head> + <title>Lamp</title> + <style> + body { + font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif; + font-size: 100%; + background: white; + width: 400px; + height: 115px; + } + #button { + text-align: center; + margin-top: 15px; + margin-bottom: 5px; + } + #start { + position: absolute: + top: 50%; + } + #wrapper{ + border: 5px solid black; + padding: 10px; + } + #title{ + text-align: center; + } + #title h2{ + margin-top: 1px; + } + #settings{ + text-align: center; + } + </style> + <script src="lamp.js"></script> + </head> + <body> + <div id="wrapper"> + <div id="title"> + <h2>Lamp</h2> + </div> + <div id="settings"> + <div id="button"> + <button type="button" id="on">On</button> + <button type="button" id="off">Off</button> + </div> + </div> + </div> + </body> +</html> + |