Update ESP Web Tools script and add browser note

This commit is contained in:
Eiswolf
2026-08-05 19:24:09 +02:00
committed by GitHub
parent 9d52c564a8
commit cd116ff6a6

View File

@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eiswolfs Flightradar CYD - Web Installer</title>
<!-- ESP Web Tools Installer Script -->
<script type="module" src="https://unpkg.com"></script>
<script type="module" src="https://unpkg.com/esp-web-tools@10/dist/web/install-button.js?module"></script>
<style>
:root {
@@ -75,6 +75,11 @@
margin-bottom: 30px;
border-left: 3px solid var(--accent-color);
}
.browser-note {
font-size: 11px;
color: #6a8f6a;
margin-top: 20px;
}
/* Customizing the ESP Web Tools button */
esp-web-install-button {
@@ -85,7 +90,6 @@
</style>
</head>
<body>
<div class="container">
<h1>FLIGHTRADAR CYD</h1>
<div class="subtitle">Firmware Flash Utility</div>
@@ -99,10 +103,10 @@
3. Select the correct COM port<br>
4. Sit back and wait for the process to finish
</div>
<!-- References the manifest.json in the same folder -->
<esp-web-install-button manifest="manifest.json"></esp-web-install-button>
</div>
<div class="browser-note">Requires Chrome, Edge, or Opera (Web Serial API)</div>
</div>
</body>
</html>