Moznost nadefinovat vlastni titulek pro webovou stranku a popisku v prohlizeci
This commit is contained in:
parent
dd4204c7a1
commit
170af78f28
@ -10,9 +10,9 @@
|
||||
"repository":
|
||||
{
|
||||
"type": "git",
|
||||
"url": "http://git.xpablo.cz/pablo2048/WiFiConfig.git"
|
||||
"url": "https://git.xpablo.cz/pablo2048/WiFiConfig.git"
|
||||
},
|
||||
"version": "6.3.4",
|
||||
"version": "6.3.5",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"platforms": ["espressif8266", "espressif32"],
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=WiFiConfig
|
||||
version=6.3.4
|
||||
version=6.3.5
|
||||
author=Pavel Brychta
|
||||
maintainer=Pavel Brychta <Pablo@xpablo.cz>
|
||||
sentence=Enables seamless module configuration.
|
||||
|
@ -1,4 +1,6 @@
|
||||
/*
|
||||
* v6.3.5-28.11.2020 - moznost nadefinovat titulek webove stranky a popisek okna v prohlizeci pomoci WIFICONFIG_TITLE a WIFICONFIG_WEBTITLE
|
||||
*
|
||||
* v6.3.4-23.3.2020 - staticka konfigurace v AP rezimu funkcni
|
||||
*
|
||||
* v6.3.3-27.10.2019 - volani WS_CONNECTED i v pripade, ze bezi AP
|
||||
|
@ -1,10 +1,18 @@
|
||||
// HTML data
|
||||
#ifndef WIFICONFIG_WEBTITLE
|
||||
# define WIFICONFIG_WEBTITLE "xPablo.cz Setup"
|
||||
#endif
|
||||
|
||||
#ifndef WIFICONFIG_TITLE
|
||||
# define WIFICONFIG_TITLE "ESP WiFiConfig"
|
||||
#endif
|
||||
|
||||
static const char TEXTHTML[] PROGMEM = "text/html";
|
||||
static const char TEXTPLAIN[] PROGMEM = "text/plain";
|
||||
|
||||
static const char PAGE_INDEX1[] PROGMEM = R"=====(
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset= "utf-8"><meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<title>xPablo.cz Setup</title>
|
||||
<title>)=====" WIFICONFIG_WEBTITLE R"=====(</title>
|
||||
<style>
|
||||
.c{text-align: center;}
|
||||
div,input{padding:5px;font-size:1em;}
|
||||
@ -21,7 +29,7 @@ function c(l){document.getElementById('_s').value=l.innerText||l.textContent;doc
|
||||
function hAP(){if (document.getElementById('_a').checked){document.getElementById('apconfig').style.display = 'block';}else{document.getElementById('apconfig').style.display = 'none';}}
|
||||
function hSC(){if (document.getElementById('_st').checked){document.getElementById('staticip').style.display = 'block';}else{document.getElementById('staticip').style.display = 'none';}}
|
||||
</script>
|
||||
</head><body><h1>ESP WiFiConfig</h1><div style='text-align:left;display:inline-block;min-width:260px;'>
|
||||
</head><body><h1>)=====" WIFICONFIG_TITLE R"=====(</h1><div style='text-align:left;display:inline-block;min-width:260px;'>
|
||||
)=====";
|
||||
|
||||
/* Polozky nalezenych SSID
|
||||
|
Loading…
Reference in New Issue
Block a user