Fix missing esp32 images (#201)

This commit is contained in:
J. Nick Koston 2024-01-23 12:04:27 -10:00 committed by GitHub
parent 454a53ac61
commit c869aad0ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 19 additions and 12 deletions

View File

@ -151,7 +151,7 @@
width: 150px; width: 150px;
border-radius: 10px; border-radius: 10px;
} }
div.radios .note{ div.radios .note{
font-size: 80%; font-size: 80%;
color: #DDD; color: #DDD;
@ -190,7 +190,7 @@
round yellow learn button<br/> round yellow learn button<br/>
<span class="note">excluding models 8500/RJ020 &amp; 8500C/RJ020C</span> <span class="note">excluding models 8500/RJ020 &amp; 8500C/RJ020C</span>
</label> </label>
<label> <label>
<img src="./purple_learn_button.jpg" alt="Security + 1.0, purple, orange, or red learn button." /> <img src="./purple_learn_button.jpg" alt="Security + 1.0, purple, orange, or red learn button." />
<input type="radio" name="protocol" value="secplusv1" /> <input type="radio" name="protocol" value="secplusv1" />
@ -199,14 +199,14 @@
<span class="note">or jackshaft models 8500/RJ020 &amp; 8500C/RJ020C</span><br/> <span class="note">or jackshaft models 8500/RJ020 &amp; 8500C/RJ020C</span><br/>
<span class="note">Security + 1.0 support is experimental and may not work for all openers/wall panels.</span> <span class="note">Security + 1.0 support is experimental and may not work for all openers/wall panels.</span>
</label> </label>
<label> <label>
<img src="./dry_contact.jpg" alt="Dry contact control." /> <img src="./dry_contact.jpg" alt="Dry contact control." />
<input type="radio" name="protocol" value="dry_contact" /> <input type="radio" name="protocol" value="dry_contact" />
Dry Contact control<br/> (coming soon) Dry Contact control<br/> (coming soon)
</label> </label>
</div> </div>
<h2>Choose your ratgdo control board:</h2> <h2>Choose your ratgdo control board:</h2>
<div class="hardware radios"> <div class="hardware radios">
<label> <label>
@ -214,21 +214,28 @@
<input type="radio" name="hardware" value="v25iboard" checked /> <input type="radio" name="hardware" value="v25iboard" checked />
ratgdo v2.5x<br/> ratgdo v2.5x<br/>
v2.5, v2.5i, v2.52i, v2.53i (black PCB) v2.5, v2.5i, v2.52i, v2.53i (black PCB)
</label> </label>
<label> <label>
<img src="./ratgdo_v2.0.jpg" alt="v2.0" /> <img src="./ratgdo_v2.0.jpg" alt="v2.0" />
<input type="radio" name="hardware" value="v2board_esp8266_d1_mini" /> <input type="radio" name="hardware" value="v2board_esp8266_d1_mini" />
ratgdo v2.0<br/> ratgdo v2.0<br/>
ESP8266 / D1 Mini (white PCB) ESP8266 / D1 Mini (white PCB)
</label> </label>
<label> <label>
<img style="background-color: #555;" alt="v2.5 esp32" /> <img src="./v25board_esp32_d1_mini.png" alt="v2.5 esp32" />
<input type="radio" name="hardware" value="v25board_esp32_d1_mini" /> <input type="radio" name="hardware" value="v25board_esp32_d1_mini" />
ratgdo v2.5<br/> ratgdo v2.5<br/>
ESP32 (black PCB) ESP32 (black PCB)
</label> </label>
<label>
<img src="./v2board_esp32_d1_mini.png" alt="v2.0 esp32" />
<input type="radio" name="hardware" value="v2board_esp32_d1_mini" />
ratgdo v2.0<br/>
ESP32 (white PCB)
</label>
</div> </div>
<p> <p>
@ -265,7 +272,7 @@
> >
</li> </li>
<li> <li>
The YAML configuration is on The YAML configuration for additional boards and chips is available on
<a href="https://github.com/RATGDO/esphome-ratgdo/tree/main/static">GitHub</a> <a href="https://github.com/RATGDO/esphome-ratgdo/tree/main/static">GitHub</a>
</li> </li>
</ul> </ul>
@ -277,7 +284,7 @@
</div> </div>
</div> </div>
<script> <script>
document.querySelectorAll('div.radios input').forEach((radio) => document.querySelectorAll('div.radios input').forEach((radio) =>
radio.addEventListener("change", () => { radio.addEventListener("change", () => {
const button = document.querySelector("esp-web-install-button"); const button = document.querySelector("esp-web-install-button");
var protocol = document.querySelector('input[name="protocol"]:checked').value; var protocol = document.querySelector('input[name="protocol"]:checked').value;