-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
71 lines (71 loc) · 1.8 KB
/
popup.html
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html>
<head>
<style>
html, body {
margin: 0;
width: 300px;
}
h1, ul {
margin: 0;
}
h1 {
font-weight: normal;
}
.header {
background: #656;
color: #fff;
padding: 8px;
}
.spinner,
.error {
display: none;
margin: 40px auto;
text-align: center;
}
.error {
color: #a55;
}
.error:before {
background-image: url(error.png);
content: "";
display: block;
height: 48px;
margin: 0 auto 16px auto;
width: 48px;
}
.devices {
display: none;
list-style-type: none;
padding: 0;
width: 100%;
}
.devices li a {
background: #eee;
border-radius: 4px;
color: #333;
display: block;
margin: 4px;
padding: 8px;
text-decoration: none;
}
.devices li a:hover {
background: #ddd;
}
</style>
<script src="jquery.min.js"></script>
<script src="popup.js"></script>
</head>
<body>
<div class="header">
<h1>Send to Device</h1>
</div>
<div class="content">
<div class="spinner">
<img src="loading.gif">
</div>
<div class="error"></div>
<ul class="devices"></ul>
</div>
</body>
</html>