Skip to content

Commit b720d02

Browse files
authored
Revert "Implement 11ty (#6)" (#8)
This reverts commit 6abdcbd.
1 parent 59798d6 commit b720d02

36 files changed

+1416
-3286
lines changed

.eleventy.js

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>ZWA2 - Device Toolbox</title>
8+
<script type="module" src="../src/pages/zwa2-details.ts"></script>
9+
<script type="module" src="../src/components/app-header.ts"></script>
10+
<script type="module" src="../src/utils/dark-mode.ts"></script>
11+
<link
12+
rel="stylesheet"
13+
href="https://early.webawesome.com/[email protected]/dist/styles/webawesome.css"
14+
/>
15+
<style>
16+
@import url('../src/styles/shoelace.css');
17+
@import url('../src/styles/theme.css');
18+
body {
19+
margin: 0;
20+
}
21+
</style>
22+
</head>
23+
<body class="wa-palette-shoelace wa-theme-shoelace">
24+
<app-header></app-header>
25+
<zwa2-details></zwa2-details>
26+
</body>
27+
</html>
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Install Portable Z-Wave - ZWA2 - Device Toolbox</title>
8+
<script
9+
type="module"
10+
src="https://home-assistant.github.io/zwa2-toolbox/standalone/install-esphome-firmware.js"
11+
></script>
12+
<script type="module" src="../src/components/app-header.ts"></script>
13+
<script type="module" src="../src/pages/zwa2-install-portable.ts"></script>
14+
<script
15+
type="module"
16+
src="../src/components/troubleshooting-portable.ts"
17+
></script>
18+
<script type="module" src="../src/utils/dark-mode.ts"></script>
19+
<link
20+
rel="stylesheet"
21+
href="https://early.webawesome.com/[email protected]/dist/styles/webawesome.css"
22+
/>
23+
<style>
24+
@import url('../src/styles/shoelace.css');
25+
@import url('../src/styles/theme.css');
26+
27+
body {
28+
margin: 0;
29+
font-family:
30+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
31+
--color-blue-600: #03a9f4;
32+
--color-blue-500: #0288d1;
33+
}
34+
.installer-wrapper {
35+
max-width: 1200px;
36+
margin: 0 auto;
37+
}
38+
39+
.installer-card {
40+
background: var(--app-bg-card);
41+
border-radius: 16px;
42+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
43+
margin: 20px 0;
44+
}
45+
46+
.installer-card install-esphome-firmware {
47+
width: 100%;
48+
border: none;
49+
min-height: 600px;
50+
border-radius: 16px;
51+
}
52+
53+
warning-card::part(container) {
54+
margin: 10px 20px 20px;
55+
}
56+
57+
install-esphome-firmware .min-h-screen {
58+
min-height: auto !important;
59+
}
60+
61+
a {
62+
color: #03a9f4;
63+
text-decoration: none;
64+
}
65+
66+
a:hover {
67+
text-decoration: underline;
68+
}
69+
70+
@media (max-width: 1200px) {
71+
.installer-wrapper {
72+
padding: 0 20px;
73+
}
74+
}
75+
</style>
76+
</head>
77+
<body class="wa-palette-shoelace wa-theme-shoelace">
78+
<app-header></app-header>
79+
<zwa2-install-portable></zwa2-install-portable>
80+
<div class="installer-wrapper" id="installer-container">
81+
<div class="installer-card" id="installer">
82+
<install-esphome-firmware></install-esphome-firmware>
83+
</div>
84+
</div>
85+
<script type="module">
86+
import '../src/components/warning-card.js';
87+
import { isSerialUnavailable } from '../src/utils/const.ts';
88+
89+
if (isSerialUnavailable) {
90+
const installerContainer = document.getElementById(
91+
'installer-container'
92+
);
93+
installerContainer.className = '';
94+
installerContainer.innerHTML = '';
95+
96+
const warningCard = document.createElement('warning-card');
97+
installerContainer.appendChild(warningCard);
98+
}
99+
</script>
100+
<troubleshooting-portable></troubleshooting-portable>
101+
</body>
102+
</html>
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Install Original Firmware - ZWA2 - Device Toolbox</title>
8+
<script
9+
type="module"
10+
src="https://home-assistant.github.io/zwa2-toolbox/standalone/install-esp-bridge-firmware.js"
11+
></script>
12+
<script type="module" src="../src/components/app-header.ts"></script>
13+
<script type="module" src="../src/pages/zwa2-install-original.ts"></script>
14+
<script type="module" src="../src/utils/dark-mode.ts"></script>
15+
<link
16+
rel="stylesheet"
17+
href="https://early.webawesome.com/[email protected]/dist/styles/webawesome.css"
18+
/>
19+
<style>
20+
@import url('../src/styles/shoelace.css');
21+
@import url('../src/styles/theme.css');
22+
23+
body {
24+
margin: 0;
25+
font-family:
26+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
27+
--color-blue-600: #03a9f4;
28+
--color-blue-500: #0288d1;
29+
}
30+
31+
.installer-wrapper {
32+
max-width: 1200px;
33+
margin: 0 auto;
34+
}
35+
36+
.installer-card {
37+
background: var(--app-bg-card);
38+
border-radius: 16px;
39+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
40+
margin: 20px 0;
41+
}
42+
43+
.installer-card install-esp-bridge-firmware {
44+
width: 100%;
45+
border: none;
46+
min-height: 600px;
47+
border-radius: 16px;
48+
}
49+
50+
install-esp-bridge-firmware .min-h-screen {
51+
min-height: auto !important;
52+
}
53+
54+
warning-card::part(container) {
55+
margin: -5px 20px 20px;
56+
}
57+
58+
a {
59+
color: #03a9f4;
60+
text-decoration: none;
61+
}
62+
63+
a:hover {
64+
text-decoration: underline;
65+
}
66+
67+
@media (max-width: 1200px) {
68+
.installer-wrapper {
69+
padding: 0 20px;
70+
}
71+
}
72+
</style>
73+
</head>
74+
<body class="wa-palette-shoelace wa-theme-shoelace">
75+
<app-header></app-header>
76+
<zwa2-install-original></zwa2-install-original>
77+
<div class="installer-wrapper" id="installer-container">
78+
<div class="installer-card">
79+
<install-esp-bridge-firmware></install-esp-bridge-firmware>
80+
</div>
81+
</div>
82+
<script type="module">
83+
import '../src/components/warning-card.js';
84+
import { isSerialUnavailable } from '../src/utils/const.ts';
85+
86+
if (isSerialUnavailable) {
87+
const installerContainer = document.getElementById(
88+
'installer-container'
89+
);
90+
installerContainer.className = '';
91+
installerContainer.innerHTML = '';
92+
93+
const warningCard = document.createElement('warning-card');
94+
installerContainer.appendChild(warningCard);
95+
}
96+
</script>
97+
</body>
98+
</html>
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>ZWA2 - Device Toolbox</title>
8+
<script type="module" src="../src/pages/zwa2-install-poe.ts"></script>
9+
<script type="module" src="../src/components/app-header.ts"></script>
10+
<script
11+
type="module"
12+
src="../src/components/troubleshooting-poe.ts"
13+
></script>
14+
<script type="module" src="../src/utils/dark-mode.ts"></script>
15+
<script
16+
type="module"
17+
src="https://home-assistant.github.io/zwa2-toolbox/standalone/install-esp-bridge-firmware.js"
18+
></script>
19+
<link
20+
rel="stylesheet"
21+
href="https://early.webawesome.com/[email protected]/dist/styles/webawesome.css"
22+
/>
23+
<style>
24+
@import url('../src/styles/shoelace.css');
25+
@import url('../src/styles/theme.css');
26+
body {
27+
margin: 0;
28+
font-family:
29+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
30+
--color-blue-600: #03a9f4;
31+
--color-blue-500: #0288d1;
32+
}
33+
.installer-wrapper {
34+
max-width: 1200px;
35+
margin: 0 auto;
36+
}
37+
38+
.installer-card {
39+
background: var(--app-bg-card);
40+
border-radius: 16px;
41+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
42+
margin: 20px 0;
43+
}
44+
45+
.installer-card install-esphome-firmware {
46+
width: 100%;
47+
border: none;
48+
min-height: 600px;
49+
border-radius: 16px;
50+
}
51+
52+
warning-card::part(container) {
53+
margin: 10px 20px 20px;
54+
}
55+
56+
install-esphome-firmware .min-h-screen {
57+
min-height: auto !important;
58+
}
59+
60+
a {
61+
color: #03a9f4;
62+
text-decoration: none;
63+
}
64+
65+
a:hover {
66+
text-decoration: underline;
67+
}
68+
69+
@media (max-width: 1200px) {
70+
.installer-wrapper {
71+
padding: 0 20px;
72+
}
73+
}
74+
</style>
75+
</head>
76+
<body class="wa-palette-shoelace wa-theme-shoelace">
77+
<app-header></app-header>
78+
<zwa2-install-poe></zwa2-install-poe>
79+
<div class="installer-wrapper" id="installer-container">
80+
<div class="installer-card" id="installer">
81+
<install-esp-bridge-firmware
82+
manifest="https://firmware.esphome.io/ha-connect-zwa-2/home-assistant-zwa-2-poe/manifest.json"
83+
device_name="Waveshare PoE"
84+
serialport_label="W4v3"
85+
></install-esp-bridge-firmware>
86+
</div>
87+
</div>
88+
<script type="module">
89+
import '../src/components/warning-card.js';
90+
import { isSerialUnavailable } from '../src/utils/const.ts';
91+
92+
if (isSerialUnavailable) {
93+
const installerContainer = document.getElementById(
94+
'installer-container'
95+
);
96+
installerContainer.className = '';
97+
installerContainer.innerHTML = '';
98+
99+
const warningCard = document.createElement('warning-card');
100+
installerContainer.appendChild(warningCard);
101+
}
102+
</script>
103+
<troubleshooting-poe></troubleshooting-poe>
104+
</body>
105+
</html>

0 commit comments

Comments
 (0)