mirror of https://github.com/arendst/Tasmota.git
23 lines
802 B
C
23 lines
802 B
C
const char HTTP_HEADER1[] PROGMEM =
|
|
"<!DOCTYPE html><html lang=\"%s\" class=\"\">"
|
|
"<head>"
|
|
"<meta charset='utf-8'>"
|
|
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
|
|
"<title>%s - %s</title>"
|
|
|
|
"<script>"
|
|
"var x=null,lt,to,tp,pc='';" // x=null allow for abortion
|
|
|
|
"function eb(s){"
|
|
"return document.getElementById(s);" // Alias to save code space
|
|
"}"
|
|
"function qs(s){" // Alias to save code space
|
|
"return document.querySelector(s);"
|
|
"}"
|
|
"function sp(i){" // Toggle password visibility
|
|
"eb(i).type=(eb(i).type==='text'?'password':'text');"
|
|
"}"
|
|
"function wl(f){" // Execute multiple window.onload
|
|
"window.addEventListener('load',f);"
|
|
"}";
|