mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 19:56:30 +00:00
Revert "Add friendlyname to tab and show it's name"
This reverts commit 2fa96e9b506e6b61607cc28758981f321abb04cd.
This commit is contained in:
parent
2fa96e9b50
commit
02ed2c09ba
@ -33,7 +33,7 @@ const char HTTP_HEAD[] PROGMEM =
|
|||||||
"<head>"
|
"<head>"
|
||||||
"<meta charset='utf-8'>"
|
"<meta charset='utf-8'>"
|
||||||
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
|
"<meta name=\"viewport\" content=\"width=device-width,initial-scale=1,user-scalable=no\"/>"
|
||||||
"<title>{h} - {v}</title>"
|
"<title>{v}</title>"
|
||||||
|
|
||||||
"<script>"
|
"<script>"
|
||||||
"var cn,x,lt;"
|
"var cn,x,lt;"
|
||||||
@ -85,7 +85,6 @@ const char HTTP_HEAD[] PROGMEM =
|
|||||||
"td{padding:0px;}"
|
"td{padding:0px;}"
|
||||||
"button{border:0;border-radius:0.3rem;background-color:#1fa3ec;color:#fff;line-height:2.4rem;font-size:1.2rem;width:100%;-webkit-transition-duration:0.4s;transition-duration:0.4s;}"
|
"button{border:0;border-radius:0.3rem;background-color:#1fa3ec;color:#fff;line-height:2.4rem;font-size:1.2rem;width:100%;-webkit-transition-duration:0.4s;transition-duration:0.4s;}"
|
||||||
"button:hover{background-color:#006cba;}"
|
"button:hover{background-color:#006cba;}"
|
||||||
"a{text-decoration:none;}"
|
|
||||||
".p{float:left;text-align:left;}"
|
".p{float:left;text-align:left;}"
|
||||||
".q{float:right;text-align:right;}"
|
".q{float:right;text-align:right;}"
|
||||||
"</style>"
|
"</style>"
|
||||||
@ -277,14 +276,6 @@ const char HTTP_TABLE100[] PROGMEM =
|
|||||||
const char HTTP_COUNTER[] PROGMEM =
|
const char HTTP_COUNTER[] PROGMEM =
|
||||||
"<br/><div id='t' name='t' style='text-align:center;'></div>";
|
"<br/><div id='t' name='t' style='text-align:center;'></div>";
|
||||||
const char HTTP_END[] PROGMEM =
|
const char HTTP_END[] PROGMEM =
|
||||||
"<br/>"
|
|
||||||
|
|
||||||
// "<div style='text-align:right;font-size:11px;color:#ccc;'><hr/><a href='https://github.com/arendst/Sonoff-Tasmota' target='_blank'>Sonoff-Tasmota {a} by Theo Arends</a></div>"
|
|
||||||
|
|
||||||
|
|
||||||
"<div style='text-align:right;font-size:11px;'><hr/><a href='https://github.com/arendst/Sonoff-Tasmota' target='_blank' style='color:#aaa;'>Sonoff-Tasmota {a} by Theo Arends</a></div>"
|
|
||||||
|
|
||||||
|
|
||||||
"</div>"
|
"</div>"
|
||||||
"</body>"
|
"</body>"
|
||||||
"</html>";
|
"</html>";
|
||||||
@ -428,7 +419,6 @@ void ShowPage(String &page)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
page += FPSTR(HTTP_END);
|
page += FPSTR(HTTP_END);
|
||||||
page.replace(F("{a}"), version);
|
|
||||||
SetHeader();
|
SetHeader();
|
||||||
WebServer->send(200, FPSTR(HDR_CTYPE_HTML), page);
|
WebServer->send(200, FPSTR(HDR_CTYPE_HTML), page);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user