-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
75 lines (64 loc) · 1.67 KB
/
index.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
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
/>
<meta
name="Description"
content="Nabu Casa SkyConnect zigbee firmware flasher"
/>
<base href="/" />
<title>Nabu Casa Zigbee Flasher</title>
<style>
html,
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background-color: #ededed;
font-family: 'Segoe UI', Roboto, sans-serif;
--mdc-theme-primary: #03a9f4;
}
img {
vertical-align: middle;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
font-size: 1em;
padding: 5em;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<main>
<h1>
<img
src="https://skyconnect.home-assistant.io/images/skyconnect-logo.png"
alt="SkyConnect logo"
/>
Flasher
</h1>
<p>To get started, plug your SkyConnect into this computer.</p>
<nabucasa-zigbee-flasher manifest="./assets/manifests/skyconnect.json">
<span slot="button">Connect</span>
</nabucasa-zigbee-flasher>
</main>
<script module>
import(
// In development we import locally.
window.location.hostname === 'localhost'
? '/dist/web/nabucasa-zigbee-flasher.js'
: 'https://unpkg.com/@nabucasa/[email protected]/dist/web/nabucasa-zigbee-flasher.js?module'
);
</script>
</body>
</html>