summaryrefslogtreecommitdiff
path: root/2016_lamp_browser/chrome/popup.html
blob: 3aeee38a65bc711b51cf89e0f9f5cd64624ee646 (plain)
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
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: 105px;
	}
	#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>