2020-06-10 12:45:44 +02:00
|
|
|
/*
|
|
|
|
* More web UI HTML source arrays.
|
|
|
|
* This file is auto generated, please don't make any changes manually.
|
|
|
|
* Instead, see https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#web-ui
|
|
|
|
* to find out how to easily modify the web UI source!
|
|
|
|
*/
|
2020-05-17 20:09:39 +02:00
|
|
|
|
|
|
|
// Autogenerated from wled00/data/usermod.htm, do not edit!!
|
|
|
|
const char PAGE_usermod[] PROGMEM = R"=====(<!DOCTYPE html><html><body>No usermod custom web page set.</body></html>)=====";
|
|
|
|
|
|
|
|
|
|
|
|
// Autogenerated from wled00/data/msg.htm, do not edit!!
|
|
|
|
const char PAGE_msg[] PROGMEM = R"=====(<!DOCTYPE html><html><head><meta content="width=device-width" name="viewport">
|
|
|
|
<title>WLED Message</title><script>
|
|
|
|
function B(){window.history.back()}function RS(){window.location="/settings"}function RP(){top.location.href="/"}
|
|
|
|
</script><style>
|
2020-05-17 20:59:00 +02:00
|
|
|
.bt{background:#333;color:#fff;font-family:Verdana,sans-serif;border:.3ch solid #333;display:inline-block;font-size:20px;margin:8px;margin-top:12px}body{font-family:Verdana,sans-serif;text-align:center;background:#222;color:#fff;line-height:200%%;margin:0}
|
|
|
|
</style></head><body><h2>%MSG%</body></html>)=====";
|
2020-05-17 20:09:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef WLED_ENABLE_DMX
|
|
|
|
|
|
|
|
// Autogenerated from wled00/data/dmxmap.htm, do not edit!!
|
|
|
|
const char PAGE_dmxmap[] PROGMEM = R"=====(<!DOCTYPE html><html><head><meta content="width=device-width" name="viewport">
|
|
|
|
<title>DMX Map</title><script>
|
2020-05-17 20:59:00 +02:00
|
|
|
function B(){window.history.back()}function RS(){window.location="/settings"}function RP(){top.location.href="/"}function FM() {%DMXVARS%
|
|
|
|
var t=["SET 0","RED","GREEN","BLUE","WHITE","SHUTTER","SET 255","DISABLED"],n=[];for(i=0;i<512;i++)n.push(7);for(i=0;i<LC;i++)for(FS=CS+CG*i,j=0;j<CN;j++)DA=FS+j,n[DA-1]=CH[j];for(DMXMap="",i=0;i<512;i++)isstart="",(i+1)%10==0&&(isstart="S"),DMXMap+='<div class="anytype '+isstart+" type"+n[i]+'">'+String(i+1)+"<br />"+t[n[i]]+"</div>";document.getElementById("map").innerHTML=DMXMap}
|
|
|
|
</script><style>
|
2020-05-17 20:09:39 +02:00
|
|
|
.anytype{border:1px solid #fff;margin:1px;float:left;width:100px;height:100px}.S{margin:0;border:2px solid #fff}.type7{color:#888;border:1px dotted grey}.type6{color:#fff}.type4{color:#fff;font-weight:700}.type3{color:#00f;font-weight:700}.type2{color:#0f0;font-weight:700}.type1{color:red;font-weight:700}.bt{background:#333;color:#fff;font-family:Verdana,sans-serif;border:.3ch solid #333;display:inline-block;font-size:20px;margin:8px;margin-top:12px}body{font-family:Verdana,sans-serif;text-align:center;background:#222;color:#fff;line-height:200%%;margin:0}
|
|
|
|
</style></head><body onload="FM()"><div id="map">...</div></body></html>)=====";
|
2020-02-23 22:24:51 +01:00
|
|
|
|
2018-09-17 11:15:08 +02:00
|
|
|
|
2020-05-17 20:09:39 +02:00
|
|
|
#else
|
|
|
|
const char PAGE_dmxmap[] PROGMEM = R"=====()=====";
|
|
|
|
#endif
|
2019-03-09 21:41:23 +01:00
|
|
|
|
2020-05-17 20:09:39 +02:00
|
|
|
// Autogenerated from wled00/data/update.htm, do not edit!!
|
|
|
|
const char PAGE_update[] PROGMEM = R"=====(<!DOCTYPE html><html><head><meta content="width=device-width" name="viewport">
|
2020-05-17 20:59:00 +02:00
|
|
|
<title>WLED Update</title><script>function B(){window.history.back()}</script>
|
2020-05-17 20:09:39 +02:00
|
|
|
<style>
|
2020-05-17 20:59:00 +02:00
|
|
|
.bt{background:#333;color:#fff;font-family:Verdana,sans-serif;border:.3ch solid #333;display:inline-block;font-size:20px;margin:8px;margin-top:12px}input[type=file]{font-size:16px}body{font-family:Verdana,sans-serif;text-align:center;background:#222;color:#fff;line-height:200%}
|
2020-08-31 17:03:07 +02:00
|
|
|
</style></head><body><h2>WLED Software Update</h2>Installed version: 0.10.2<br>
|
2020-05-17 20:59:00 +02:00
|
|
|
Download the latest binary: <a
|
2020-09-07 21:04:21 +02:00
|
|
|
href="https://github.com/Aircoookie/WLED/releases" target="_blank"><img
|
2020-05-17 20:09:39 +02:00
|
|
|
src="https://img.shields.io/github/release/Aircoookie/WLED.svg?style=flat-square">
|
|
|
|
</a><br><form method="POST" action="/update" enctype="multipart/form-data">
|
|
|
|
<input type="file" class="bt" name="update" required><br><input type="submit"
|
|
|
|
class="bt" value="Update!"></form><button type="button" class="bt"
|
|
|
|
onclick="B()">Back</button></body></html>)=====";
|
2019-03-09 21:41:23 +01:00
|
|
|
|
2018-09-17 11:15:08 +02:00
|
|
|
|
2020-05-17 20:09:39 +02:00
|
|
|
// Autogenerated from wled00/data/welcome.htm, do not edit!!
|
|
|
|
const char PAGE_welcome[] PROGMEM = R"=====(<!DOCTYPE html><html><head><meta charset="utf-8"><meta
|
|
|
|
content="width=device-width" name="viewport"><meta name="theme-color"
|
2020-09-12 21:16:31 +02:00
|
|
|
content="#222222"><title>Welcome!</title><style>
|
|
|
|
body{font-family:Verdana,Helvetica,sans-serif;text-align:center;background-color:#222;margin:0;color:#fff}button{outline:0;cursor:pointer;padding:8px;margin:10px;width:230px;text-transform:uppercase;font-family:helvetica;font-size:19px;background-color:#333;color:#fff;border:0 solid #fff;border-radius:25px;filter:drop-shadow(0 0 1px #000)}img{width:999px;max-width:85%;image-rendering:pixelated;image-rendering:crisp-edges;margin:25px 0 -10px 0;animation:fi 1s}@keyframes fi{from{opacity:0}to{opacity:1}}.main{animation:fi 1.5s .7s both}
|
|
|
|
</style></head><body><img alt=""
|
|
|
|
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHEAAAAjCAYAAACjOOUsAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsAAAA7AAWrWiQkAAATfSURBV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uUmo3mHavvKTUb3DtX2lZtM3jtUWRqQ3TRMBrLMjMgVkAiB2waX/1nwgURygTv885BICOzrH+BjPpBICBzo38nHfJBFksDFxUU2NjaWjhMNAwSJ1Ems/n2RDQ0NsQNzn4sVjF1vvyGWGOvp6cmsk+frJLpWISFXo1cVElI1+lQhIVejTxUSajVCYp5AoB0k6AhIRQqJo7OnGRe87gIfxl9N1Y8nlpcTKpUK+/rlSdFLDghpft5fUTho0GJD5WW0RetUWi1PgwMNmbtTFdhXaRBowdj2H3kuVGQeyIkg5GVQtE6mFfPoPMgUSqSjgo4Gdqk/whfxpGeSaqJIxjFGsbCwkF2fBHJh3ZH5RpE2RxtBedJtkmi1PLSMdXwgh0KJAIkBEiLQV5MODw9ndiBvp/I2VIwZd5T4EPJQLvRNGCVSYgr0xSotIyMjYkkPfV7eUFNOHa2cx+X3BkaJAIkoxJAWCBwfHxc9PdhBbFzSRgixzHfahVbNA2x/b8JKoi0QaKpE7KC8cVjGmOha06p5fAgq0aYSS8ITROLk5GRUq9UyAt/XUVgSGNyl0kNrMyBHchCUeSwJejotKSkp+VBh7F9fIy7OdlOyMwAAAABJRU5ErkJggg==">
|
|
|
|
<div class="main"><h1>Welcome to WLED!</h1><h3>
|
|
|
|
Thank you for installing my application!</h3><b>Next steps:</b><br><br>
|
|
|
|
Connect the module to your local WiFi here!<br><button
|
|
|
|
onclick='window.location.href="/settings/wifi"'>WiFi settings</button><br><i>
|
|
|
|
Just trying this out in AP mode?</i><br><button
|
|
|
|
onclick='window.location.href="/sliders"'>To the controls!</button><br></div>
|
|
|
|
</body></html>)=====";
|
2018-09-17 11:15:08 +02:00
|
|
|
|
2020-05-17 20:09:39 +02:00
|
|
|
|
|
|
|
// Autogenerated from wled00/data/liveview.htm, do not edit!!
|
|
|
|
const char PAGE_liveview[] PROGMEM = R"=====(<!DOCTYPE html><html><head><meta name="viewport"
|
|
|
|
content="width=device-width,initial-scale=1,minimum-scale=1"><meta
|
|
|
|
charset="utf-8"><meta name="theme-color" content="#222222"><title>
|
|
|
|
WLED Live Preview</title><style>
|
|
|
|
body{margin:0}#canv{background:#000;filter:brightness(175%);width:100%;height:100%;position:absolute}
|
|
|
|
</style></head><body><div id="canv"><script>update();
|
|
|
|
|
|
|
|
var tmout = null;
|
|
|
|
function update()
|
|
|
|
{
|
|
|
|
if (document.hidden) {
|
|
|
|
clearTimeout(tmout);
|
|
|
|
tmout = setTimeout(update, 250);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
fetch('/json/live')
|
|
|
|
.then(res => {
|
|
|
|
if (!res.ok) {
|
|
|
|
clearTimeout(tmout);
|
|
|
|
tmout = setTimeout(update, 2500);
|
|
|
|
}
|
|
|
|
return res.json();
|
|
|
|
})
|
|
|
|
.then(json => {
|
|
|
|
var str = "linear-gradient(90deg,";
|
|
|
|
var len = json.leds.length;
|
|
|
|
for (i = 0; i < len; i++) {
|
|
|
|
var leddata = json.leds[i];
|
|
|
|
if (leddata.length > 6) leddata = leddata.substring(2);
|
|
|
|
str += "#" + leddata;
|
|
|
|
if (i < len -1) str += ","
|
|
|
|
}
|
|
|
|
str += ")";
|
|
|
|
document.getElementById("canv").style.background = str;
|
|
|
|
clearTimeout(tmout);
|
|
|
|
tmout = setTimeout(update, 40);
|
|
|
|
})
|
|
|
|
.catch(function (error) {
|
|
|
|
clearTimeout(tmout);
|
|
|
|
tmout = setTimeout(update, 2500);
|
|
|
|
})
|
|
|
|
|
|
|
|
}</script></body></html>)=====";
|
|
|
|
|
|
|
|
|
|
|
|
// Autogenerated from wled00/data/favicon.ico, do not edit!!
|
|
|
|
const uint16_t favicon_length = 954;
|
2019-02-16 00:21:22 +01:00
|
|
|
const uint8_t favicon[] PROGMEM = {
|
2020-05-17 20:09:39 +02:00
|
|
|
0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x10, 0x10, 0x00, 0x00, 0x01, 0x00, 0x18, 0x00, 0x86, 0x00,
|
|
|
|
0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00,
|
|
|
|
0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x08, 0x06,
|
|
|
|
0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff, 0x61, 0x00, 0x00, 0x00, 0x4d, 0x49, 0x44, 0x41, 0x54, 0x38,
|
|
|
|
0x8d, 0x63, 0xfc, 0xff, 0xff, 0x3f, 0x03, 0xb1, 0x80, 0xd1, 0x9e, 0x01, 0x43, 0x31, 0x13, 0xd1,
|
|
|
|
0xba, 0x71, 0x00, 0x8a, 0x0d, 0x60, 0x21, 0xa4, 0x00, 0xd9, 0xd9, 0xff, 0x0f, 0x32, 0x30, 0x52,
|
|
|
|
0xdd, 0x05, 0xb4, 0xf1, 0x02, 0xb6, 0xd0, 0xa6, 0x99, 0x0b, 0x68, 0x1f, 0x0b, 0xd8, 0x42, 0x9e,
|
|
|
|
0xaa, 0x2e, 0xa0, 0xd8, 0x00, 0x46, 0x06, 0x3b, 0xcc, 0xcc, 0x40, 0xc8, 0xd9, 0x54, 0x75, 0x01,
|
|
|
|
0xe5, 0x5e, 0x20, 0x25, 0x3b, 0x63, 0x03, 0x00, 0x3e, 0xb7, 0x11, 0x5a, 0x8d, 0x1c, 0x07, 0xb4,
|
|
|
|
0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
|
2018-01-27 23:28:20 +01:00
|
|
|
};
|
2020-05-17 20:09:39 +02:00
|
|
|
|