mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-03-21 05:33:24 +00:00
Imrpove site
This commit is contained in:
@@ -24,7 +24,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.main a {
|
.main a {
|
||||||
color: #F00;
|
color: #F44;
|
||||||
|
}
|
||||||
|
|
||||||
|
.install {
|
||||||
|
margin-bottom: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.install .iconify {
|
.install .iconify {
|
||||||
@@ -46,13 +50,22 @@
|
|||||||
document.getElementById("changelog-header-version").innerText += data.tag_name;
|
document.getElementById("changelog-header-version").innerText += data.tag_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function setInstallButton(esp){
|
||||||
|
document.getElementById("install-btn").innerHTML = `<esp-web-install-button manifest="https://suchmememanyskill.github.io/CYD-Klipper/${esp}.json"></esp-web-install-button>`;
|
||||||
|
}
|
||||||
|
|
||||||
|
function setInstallButtonDefault(){
|
||||||
|
setInstallButton("esp32-2432S028R")
|
||||||
|
}
|
||||||
|
|
||||||
fetchChangelog();
|
fetchChangelog();
|
||||||
|
window.onload = setInstallButtonDefault;
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<section class="main">
|
<section class="main">
|
||||||
<h2>CYD-Klipper <span class="iconify" data-icon="mdi-printer-3d" style="color: orange;"></span></h2>
|
<h2>CYD-Klipper <span class="iconify" data-icon="mdi-printer-3d" style="color: #F44;"></span></h2>
|
||||||
<p>An implementation of a Klipper status display on an ESP32 + screen.<br>Uses Moonraker to fetch data.<br><a href="https://github.com/suchmememanyskill/CYD-Klipper">Source code is available on GitHub</a>.</p>
|
<p>An implementation of a Klipper status display on an ESP32 + screen.<br>Uses Moonraker to fetch data.<br><a href="https://github.com/suchmememanyskill/CYD-Klipper">Source code is available on GitHub</a>.</p>
|
||||||
|
|
||||||
<section class="changelog">
|
<section class="changelog">
|
||||||
@@ -65,17 +78,23 @@
|
|||||||
<p>If you found this project helpful, please consider a donation to <a href="https://ko-fi.com/suchmememanyskill">my Ko-Fi</a>.<br>It would help out a lot in the development of this project, due to the need to buy the screens.<br>Thank you!</p>
|
<p>If you found this project helpful, please consider a donation to <a href="https://ko-fi.com/suchmememanyskill">my Ko-Fi</a>.<br>It would help out a lot in the development of this project, due to the need to buy the screens.<br>Thank you!</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="install">
|
<section class="issues">
|
||||||
<h3><span class="iconify" data-icon="mdi-download"></span> Install on ESP32-2432S028 (2.8" Resistive)</h3>
|
<h3><span class="iconify" data-icon="mdi-github" style="color: white; filter: drop-shadow(0 0 0.75rem gray);"></span> Report Issues</h3>
|
||||||
<p>Note: You may need to hold the 'BOOT' button on the device while pressing install.</p>
|
<p>If you experience any issues with this project, or any feature requests for the project, please report them on the <a href="https://github.com/suchmememanyskill/CYD-Klipper/issues">issues tab on Github</a>.</p>
|
||||||
<esp-web-install-button
|
|
||||||
manifest="https://suchmememanyskill.github.io/CYD-Klipper/esp32-2432S028R.json"></esp-web-install-button>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="install">
|
<section class="install">
|
||||||
<h3><span class="iconify" data-icon="mdi-download"></span> Install on ESP32-3248S035 (3.5" Capacitive)</h3>
|
<h3><span class="iconify" data-icon="mdi-download"></span> Install</h3>
|
||||||
<p>Note: You may need to hold the 'BOOT' button on the device while pressing install.</p>
|
<p>Select your device from the list below and click 'Connect'.<br>Note: You may need to hold the 'BOOT' button on the device while pressing install.<br>The 2.8" Resistive and 3.5" Capacitive models are best suited (in my opinion) for CYD-Klipper.</p>
|
||||||
<esp-web-install-button
|
<select id="select-install-btn" onchange="setInstallButton(getElementById('select-install-btn').value)">
|
||||||
manifest="https://suchmememanyskill.github.io/CYD-Klipper/esp32-3248S035C.json"></esp-web-install-button>
|
<option value="esp32-2432S024C-SD">ESP32-2432S024 (2.4" Capacitive)</option>
|
||||||
|
<option selected value="esp32-2432S028R">ESP32-2432S028 (2.8" Resistive)</option>
|
||||||
|
<option value="esp32-2432S032C-SD">ESP32-2432S032 (3.2" Capacitive)</option>
|
||||||
|
<option value="esp32-3248S035C">ESP32-3248S035 (3.5" Capacitive)</option>
|
||||||
|
<option value="esp32-4827S043C-SD">ESP32-4827S043 (4.3" 480x270 Capacitive)</option>
|
||||||
|
<option value="esp32-8048S043C-SD">ESP32-8048S043 (4.3" 800x480 Capacitive)</option>
|
||||||
|
</select>
|
||||||
|
<span id="install-btn"></span>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</body>
|
</body>
|
||||||
Reference in New Issue
Block a user