mirror of
https://github.com/me-no-dev/ESPAsyncWebServer.git
synced 2025-10-01 00:30:54 +02:00
- fixed index.html to be minifyable
- added index.min.htm.gz
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||||
<title>Smart Switch</title>
|
<title>Smart Switch</title>
|
||||||
@@ -24,7 +25,7 @@
|
|||||||
padding-inline: 2%
|
padding-inline: 2%
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=text] {
|
[id^="input-"] {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
@@ -143,11 +144,7 @@
|
|||||||
float: left
|
float: left
|
||||||
}
|
}
|
||||||
|
|
||||||
#g1 {
|
#g1, #g2 {
|
||||||
width: 50%
|
|
||||||
}
|
|
||||||
|
|
||||||
#g2 {
|
|
||||||
width: 50%
|
width: 50%
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -166,6 +163,7 @@
|
|||||||
-webkit-animation: blinkingText 1.2s infinite;
|
-webkit-animation: blinkingText 1.2s infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@keyframes blinkingText {
|
@keyframes blinkingText {
|
||||||
0% {
|
0% {
|
||||||
color: #ec0b0b;
|
color: #ec0b0b;
|
||||||
@@ -265,15 +263,15 @@
|
|||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td onclick="ent1Click();">
|
<td onclick="ent1Click();">
|
||||||
<label for="input-temperature">Temp °C</label>
|
<label for="input-temperature">Temp °C</label>
|
||||||
<input type="text" readonly="readonly" id="input-temperature" />
|
<input readonly="readonly" id="input-temperature" />
|
||||||
</td>
|
</td>
|
||||||
<td onclick="ent2Click();">
|
<td onclick="ent2Click();">
|
||||||
<label for="input-popup-start">Time On</label>
|
<label for="input-popup-start">Time On</label>
|
||||||
<input type="text" readonly="readonly" id="input-popup-start" />
|
<input readonly="readonly" id="input-popup-start" />
|
||||||
</td>
|
</td>
|
||||||
<td onclick="ent2Click();">
|
<td onclick="ent2Click();">
|
||||||
<label for="input-popup-stop">Time Off</label>
|
<label for="input-popup-stop">Time Off</label>
|
||||||
<input type="text" readonly="readonly" id="input-popup-stop" />
|
<input readonly="readonly" id="input-popup-stop" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
|
BIN
examples/SmartSwitch/data/index.min.htm.gz
Normal file
BIN
examples/SmartSwitch/data/index.min.htm.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user