HTML etwas rumgespielt

This commit is contained in:
sven 2023-09-04 12:43:47 +02:00
parent 7b935706ff
commit 7eb716a555

View file

@ -277,13 +277,11 @@ void webserver() {
client.println("<head><title>Temperatursteuerung</title></head>"); client.println("<head><title>Temperatursteuerung</title></head>");
client.println("<body><h3>Temperatursteuerung</h3>"); client.println("<body><h3>Temperatursteuerung</h3>");
client.println("<svg>"); client.println("<svg width=\"45\" height=\"52\">");
client.println(" <g id=\"layer1\">");
client.println(" <path"); client.println(" <path");
client.println(" style=\"fill:#000000;stroke-width:0.0282222\""); client.println(" style=\"fill:#000000;stroke-width:0.0282222\"");
client.println(" d=\"m 19.642666,46.637223 v -2.441222 h 2.441222 2.441223 v 2.441222 2.441222 H 22.083888 19.642666 Z M 14.722747,44.17734 c -0.01043,-0.01043 -0.01897,-1.115402 -0.01897,-2.455489 V 39.285334 H 12.248444 9.793111 V 36.83 34.374667 H 7.351889 4.910667 V 29.464 24.553334 H 2.455334 0 V 19.642667 14.732 H 2.455334 4.910667 V 12.290778 9.8495558 H 7.366 9.821334 V 12.290778 14.732 H 7.366 4.910667 v 4.910667 4.910667 H 7.351889 9.793111 V 22.098 19.642667 h 2.455177 2.455178 l 0.0072,-2.448278 0.0072,-2.448278 2.462388,-0.0072 2.462389,-0.0072 v 4.910822 4.910822 h 2.441222 2.441223 v 2.441067 2.441067 l 2.462388,0.0072 2.462391,0.0072 0.007,2.462389 0.007,2.462389 h 2.44107 2.44106 V 29.464 24.553334 h -4.89651 -4.896554 V 19.642667 14.732 h 2.455333 2.455331 v 2.455334 2.455333 h 2.45534 2.45533 V 22.098 24.553334 h 2.45533 2.45534 V 19.642667 14.732 h -2.45534 -2.45533 V 12.276667 9.8213338 h -4.91082 -4.910826 l 0.0072,-2.448278 0.0072,-2.448278 4.903616,-0.0071 4.90361,-0.0071 v 2.455413 2.455413 h 2.45533 2.45533 v 2.4553332 2.455333 h 2.45534 2.45533 v 4.910667 4.910667 h -2.45523 -2.45526 l -0.007,4.903611 -0.007,4.903611 -2.46238,0.0072 -2.46239,0.0072 v 2.455178 2.455178 h -2.44114 -2.44107 l -0.007,2.448278 -0.007,2.448277 h -2.45553 -2.455333 l -0.0071,-4.903611 -0.0071,-4.903611 H 22.08398 19.642917 l -0.0071,4.903611 -0.0071,4.903611 -2.443419,0.0072 c -1.343881,0.004 -2.451956,-0.0013 -2.462389,-0.01176 z m -0.01207,-12.265062 0.0072,-2.462389 2.462388,-0.0072 2.462389,-0.0072 V 26.994401 24.553334 H 14.717889 9.793111 V 29.464 34.374667 h 2.455178 2.455179 z M 12.283722,9.8283908 9.821334,9.8209908 V 7.3658118 4.9106338 H 14.732 19.642666 V 2.4553334 0 h 2.441222 2.441223 v 2.4553334 2.4553334 h -2.441223 -2.441222 v 2.469444 2.469445 l -2.448278,-0.0069 c -1.346552,-0.0038 -3.556352,-0.01021 -4.910666,-0.01427 z\""); client.println(" d=\"m 19.642666,46.637223 v -2.441222 h 2.441222 2.441223 v 2.441222 2.441222 H 22.083888 19.642666 Z M 14.722747,44.17734 c -0.01043,-0.01043 -0.01897,-1.115402 -0.01897,-2.455489 V 39.285334 H 12.248444 9.793111 V 36.83 34.374667 H 7.351889 4.910667 V 29.464 24.553334 H 2.455334 0 V 19.642667 14.732 H 2.455334 4.910667 V 12.290778 9.8495558 H 7.366 9.821334 V 12.290778 14.732 H 7.366 4.910667 v 4.910667 4.910667 H 7.351889 9.793111 V 22.098 19.642667 h 2.455177 2.455178 l 0.0072,-2.448278 0.0072,-2.448278 2.462388,-0.0072 2.462389,-0.0072 v 4.910822 4.910822 h 2.441222 2.441223 v 2.441067 2.441067 l 2.462388,0.0072 2.462391,0.0072 0.007,2.462389 0.007,2.462389 h 2.44107 2.44106 V 29.464 24.553334 h -4.89651 -4.896554 V 19.642667 14.732 h 2.455333 2.455331 v 2.455334 2.455333 h 2.45534 2.45533 V 22.098 24.553334 h 2.45533 2.45534 V 19.642667 14.732 h -2.45534 -2.45533 V 12.276667 9.8213338 h -4.91082 -4.910826 l 0.0072,-2.448278 0.0072,-2.448278 4.903616,-0.0071 4.90361,-0.0071 v 2.455413 2.455413 h 2.45533 2.45533 v 2.4553332 2.455333 h 2.45534 2.45533 v 4.910667 4.910667 h -2.45523 -2.45526 l -0.007,4.903611 -0.007,4.903611 -2.46238,0.0072 -2.46239,0.0072 v 2.455178 2.455178 h -2.44114 -2.44107 l -0.007,2.448278 -0.007,2.448277 h -2.45553 -2.455333 l -0.0071,-4.903611 -0.0071,-4.903611 H 22.08398 19.642917 l -0.0071,4.903611 -0.0071,4.903611 -2.443419,0.0072 c -1.343881,0.004 -2.451956,-0.0013 -2.462389,-0.01176 z m -0.01207,-12.265062 0.0072,-2.462389 2.462388,-0.0072 2.462389,-0.0072 V 26.994401 24.553334 H 14.717889 9.793111 V 29.464 34.374667 h 2.455178 2.455179 z M 12.283722,9.8283908 9.821334,9.8209908 V 7.3658118 4.9106338 H 14.732 19.642666 V 2.4553334 0 h 2.441222 2.441223 v 2.4553334 2.4553334 h -2.441223 -2.441222 v 2.469444 2.469445 l -2.448278,-0.0069 c -1.346552,-0.0038 -3.556352,-0.01021 -4.910666,-0.01427 z\"");
client.println(" id=\"path903\" />"); client.println(" id=\"path903\" />");
client.println(" </g>");
client.println("</svg>"); client.println("</svg>");
client.print("<table>"); client.print("<table>");
@ -338,18 +336,17 @@ client.print(" <td></td>");
client.print(" <td></td>"); client.print(" <td></td>");
client.print(" </tr>"); client.print(" </tr>");
client.print(" <tr>"); client.print(" <tr>");
client.print(" <td>EEPROM</td>"); client.print(" <td colspan=\"4\">EEPROM");
client.print(" <td> T1 "); client.print(H_TT1_Sp); client.print("&deg;C</td>"); client.print(" T1 "); client.print(H_TT1_Sp); client.print("&deg;C");
client.print(" <td> T2 "); client.print(H_TT2_Sp); client.print("&deg;C</td>"); client.print(" T2 "); client.print(H_TT2_Sp); client.print("&deg;C");
client.print(" <td> KW "); client.print(H_TKW_Sp); client.print("&deg;C</td>"); client.print(" KW "); client.print(H_TKW_Sp); client.print("&deg;C");
client.print(" <td> Hyst "); client.print(H_Hyst_Sp); client.print("&deg;C</td>"); client.print(" Hyst "); client.print(H_Hyst_Sp); client.print("&deg;C");
client.print(" <td>"); client.print(" </td><td>");
client.print(" <form action=\"/\" method=\"get\">"); client.print(" <form action=\"/\" method=\"get\">");
client.print(" <input id=\"EEPROM\" name=\"EEPROM\" type=\"submit\" value=\"Submit\">"); client.print(" <input id=\"EEPROM\" name=\"EEPROM\" type=\"submit\" value=\"Submit\">");
client.print(" </form>"); client.print(" </form>");
client.print(" </td>"); client.print(" </td>");
client.print(" </tr>"); client.print(" </tr>");
client.print("</table>"); client.print("</table>");
client.println("</body></html>"); client.println("</body></html>");
break; break;