html_DE.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /* clang-format off */
  2. static const char html_head_part1[] PROGMEM = R"=====(<html><head>
  3. <meta charset='utf-8'><meta name='viewport' content='width=device-width,initial-scale=1,user-scalable=no'/>
  4. <link rel='stylesheet' href='style.css'>
  5. <title>)=====";
  6. static const char html_head_part2[] PROGMEM = R"=====(</title>)=====";
  7. static const char html_stylesheet[] PROGMEM = R"=====(
  8. body { text-align:center; font-family:verdana,sans-serif; background:#ffffff; }
  9. div,fieldset,input,select { padding:3px; font-size:1em; }
  10. div#main { text-align:left; display:inline-block; min-width:340px;}
  11. div#head { text-align:left; font-weight:bold; font-size:1em; }
  12. div.config { font-weight:bold; font-size:0.9em; }
  13. hr { width: 100%; border: 1px solid black; }
  14. fieldset { background:#ffffff; }
  15. p { margin:0.5em 0; }
  16. input { width:100%; box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; background:#ffffff; color:#000000; }
  17. input[type=checkbox],input[type=radio] { width:1em; margin-right:6px; vertical-align:-1px; }
  18. input[type=range] { width:99%; }
  19. .smallnum { width:100; }
  20. select { width:100%; background:#ffffff; color:#000000; }
  21. textarea { resize:none; width:98%; height:318px; padding:5px; overflow:auto; background:#ffffff; color:#000000;}
  22. td { padding:2px; }
  23. button { border:0; border-radius:0.3rem; color:#ffffff; line-height:2.4rem; font-size:1.2rem; width:100%; -webkit-transition-duration:0.4s; transition-duration:0.4s; cursor:pointer; background:#1fa3ec; }
  24. button:hover { background:#0e70a4; }
  25. .bred { background:#d43535; }
  26. .bred:hover { background:#931f1f; }
  27. .bgrn { background:#47c266; }
  28. .bgrn:hover { background:#5aaf6f;}
  29. .bgrey { background:#909090; }
  30. .bgrey:hover { background:#606060;}
  31. a { color:#1fa3ec; text-decoration:none; }
  32. .p { float:left; text-align:left; font-weight:normal; }
  33. p.n { font-weight:normal; }
  34. .q { float:right; text-align:right; }
  35. .r { border-radius:0.3em; padding:2px; margin:6px 2px; }
  36. .s{ display:inline-block; width:14em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  37. #wl{ line-height:1.5em; }
  38. )=====";
  39. static const char html_head_end[] PROGMEM = R"=====(</head>)====="; // html_head_part3
  40. static const char html_bodytag_jsinit[] PROGMEM = R"=====(
  41. <body onload='init()'>)=====";
  42. static const char html_bodytag[] PROGMEM = R"=====(
  43. <body>)=====";
  44. static const char html_body_pagehead_part1[] PROGMEM = R"=====(
  45. <div id='main'>
  46. <div id='head'>)====="; // html_body_pagehead_part1
  47. static const char html_body_pagehead_part2[] PROGMEM = R"=====(
  48. </div><hr>
  49. <div></div>)====="; // html_body_pagehead_part2
  50. static const char html_body_pagehead_confchangednote[] PROGMEM = R"=====(
  51. <h2 style='color:red'>KONFIGURATION GE&Auml;NDERT. <br>BITTE NEU STARTEN!</h2>
  52. <div></div>)====="; // html_body_pagehead_confchangednote
  53. static const char html_confsaved_body[] PROGMEM = R"=====(
  54. <script>setTimeout(function(){window.location.href = 'conf';}, 2500);</script>
  55. <div>Konfiguration gespeichert.</div>
  56. <table style='width:100%'><tr><td style='width:50%'><form action='conf' method='get'><button class='bgrey'>Konfiguration</button></form></td>
  57. <td><form action='.' method='get'><button class='bgrey'>Haupmen&uuml;</button></form></td></tr></table>
  58. )====="; // html_confsaved_body
  59. //static const char html_confsavedrestart_body[] PROGMEM = R"=====(
  60. //<script>setTimeout(function(){window.location.href = 'conf';}, 10000);</script>
  61. //<div>Configuration saved. Restarting...</div>
  62. //<table style='width:100%'><tr><td style='width:50%'><form action='conf' method='get'><button class='bgrey'>Config</button></form></td>
  63. //<td><form action='.' method='get'><button class='bgrey'>Haupmen&uuml;</button></form></td></tr></table>
  64. //)====="; // html_confsavedreboot_body
  65. static const char html_restarting_body[] PROGMEM = R"=====(
  66. <script>setTimeout(function(){window.location.href = '.';}, 10000);</script>
  67. <div>starte neu...</div>
  68. <p><form action='.' method='get'><button class='bgrey'>Haupmen&uuml;</button></form></p>
  69. )====="; // html_restarting_body
  70. static const char html_clearconf_body[] PROGMEM = R"=====(
  71. <script>setTimeout(function(){window.location.href = '.';}, 9000);</script>
  72. <div>Konfiguration gel&ouml;scht.cleared. Starte neu...</div>
  73. <p><form action='.' method='get'><button class='bgrey'>Haupmen&uuml;</button></form></p>
  74. )====="; // html_clearconf_body
  75. static const char html_footer1[] PROGMEM = R"=====(
  76. <div style='text-align:right;font-size:0.7em;color:#AAA;'><hr/>)=====";
  77. static const char html_footer_a1[] PROGMEM = R"=====(<a href=')=====";
  78. static const char html_footer_a2[] PROGMEM = R"=====(' target='_blank' style='color:#AAA;'>)=====";
  79. static const char html_footer_ae[] PROGMEM = R"=====(</a>)=====";
  80. static const char html_footer2[] PROGMEM = R"=====(</div>
  81. </div></body></html>
  82. )=====";