Skip to content

Commit

Permalink
Migrate to Material Web 1 (#474)
Browse files Browse the repository at this point in the history
* No port pick

* Use own components again

* Migrate circular progress

* Migrate Icon Button

* Move button labels to text nodes

* Use ew-list for dashboard

* Missed one interactive

* Migrate select

* Migrate textfield

* Migrate checkbox/formfield

* Remove unused ewt-button

* Migrate text field

* Divider + dashboard icons

* Migrate dialog

* Remove mwc components

* Clean up icons

* Remove old comment

* Update connect button

* Align top level dialog icon

* Avoid scrolling when dialog active

* Allow variable for border radius

* Cleanup

* Bump dependencies

* Bump esptool.js to 0.4.1

* Add new device types

* Update readme with new device types

* Tweak launch button look
  • Loading branch information
balloob committed Feb 12, 2024
1 parent e107f0f commit 7de3b6a
Show file tree
Hide file tree
Showing 32 changed files with 2,616 additions and 968 deletions.
29 changes: 20 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
Expand Down Expand Up @@ -79,8 +79,10 @@
}
.screenshot img {
max-width: 100%;
box-shadow: rgb(0 0 0 / 20%) 0px 2px 1px -1px,
rgb(0 0 0 / 14%) 0px 1px 1px 0px, rgb(0 0 0 / 12%) 0px 1px 3px 0px;
box-shadow:
rgb(0 0 0 / 20%) 0px 2px 1px -1px,
rgb(0 0 0 / 14%) 0px 1px 1px 0px,
rgb(0 0 0 / 12%) 0px 1px 3px 0px;
border-radius: 4px;
}
.screenshot i {
Expand Down Expand Up @@ -172,7 +174,7 @@ <h2 id="demo">Try a live demo</h2>
device to your computer and hit the button:
</p>
<esp-web-install-button
manifest="https://firmware.esphome.io/esphome-web/manifest.json"
manifest="https://firmware.esphome.io/esp-web-tools/manifest.json"
>
<i slot="unsupported">
The demo is not available because your browser does not support Web
Expand Down Expand Up @@ -266,9 +268,16 @@ <h2 id="used-by">Products using ESP Web Tools</h2>
</div>
<div class="name">Luciferin</div>
</a>
<a href="https://install.openepaperlink.de" target="_blank" class="project">
<a
href="https://install.openepaperlink.de"
target="_blank"
class="project"
>
<div class="logo">
<img src="static/logos/openepaperlink.png" alt="OpenEpaperLink logo" />
<img
src="static/logos/openepaperlink.png"
alt="OpenEpaperLink logo"
/>
</div>
<div class="name">OpenEpaperLink</div>
</a>
Expand Down Expand Up @@ -366,7 +375,7 @@ <h2 id="add-website">Adding ESP Web Tools to your website</h2>
</p>
<pre>
&lt;esp-web-install-button
manifest="https://firmware.esphome.io/esphome-web/manifest.json"
manifest="https://firmware.esphome.io/esp-web-tools/manifest.json"
>&lt;/esp-web-install-button></pre
>
<p>
Expand Down Expand Up @@ -432,7 +441,8 @@ <h3 id="manifest">Creating your manifest</h3>
Manifests describe the firmware that you want to offer the user to
install. It allows specifying different builds for the different types
of ESP devices. Current supported chip families are
<code>ESP8266</code>, <code>ESP32</code>, <code>ESP32-C3</code>,
<code>ESP8266</code>, <code>ESP32</code>, <code>ESP32-C2</code>,
<code>ESP32-C3</code>, <code>ESP32-C6</code>, <code>ESP32-H2</code>,
<code>ESP32-S2</code> and <code>ESP32-S3</code>. The correct build will
be automatically selected based on the type of the connected ESP device.
</p>
Expand Down Expand Up @@ -526,6 +536,7 @@ <h3 id="customize">Customizing the look and feel</h3>
<ul>
<li><code>--esp-tools-button-color</code></li>
<li><code>--esp-tools-button-text-color</code></li>
<li><code>--esp-tools-button-border-radius</code></li>
</ul>
<p>There are also some attributes that can be used for styling:</p>
<table>
Expand All @@ -549,7 +560,7 @@ <h4>Replace the button and message with a custom one</h4>
</p>
<pre>
&lt;esp-web-install-button
manifest="https://firmware.esphome.io/esphome-web/manifest.json"
manifest="https://firmware.esphome.io/esp-web-tools/manifest.json"
>
&lt;button slot="activate">Custom install button&lt;/button>
&lt;span slot="unsupported">Ah snap, your browser doesn't work!&lt;/span>
Expand Down
Loading

0 comments on commit 7de3b6a

Please sign in to comment.