wasserzaehler_roi.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <html><head>
  2. <title>jomjol - AI on the edge</title>
  3. <meta charset="utf-8">
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <style type="text/css" media="screen">
  6. .tg {border-collapse:collapse;border-spacing:0;width:100%;color: darkslategray;border: inset;}
  7. .tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
  8. .tg th{font-family:Arial, sans-serif;font-size:24px;font-weight:bold;text-align:left;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
  9. .tg .tg-hfl5{font-size:20px;font-family:Arial, Helvetica, sans-serif !important;border: inset;}
  10. </style>
  11. </head>
  12. <script>
  13. function includeHTML() {
  14. var z, i, elmnt, file, xhttp;
  15. /* Loop through a collection of all HTML elements: */
  16. z = document.getElementsByTagName("*");
  17. for (i = 0; i < z.length; i++) {
  18. elmnt = z[i];
  19. /*search for elements with a certain atrribute:*/
  20. file = elmnt.getAttribute("w3-include-html");
  21. if (file) {
  22. /* Make an HTTP request using the attribute value as the file name: */
  23. xhttp = new XMLHttpRequest();
  24. xhttp.onreadystatechange = function() {
  25. if (this.readyState == 4) {
  26. if (this.status == 200) {elmnt.innerHTML = this.responseText;}
  27. if (this.status == 404) {elmnt.innerHTML = "Page not found.";}
  28. /* Remove the attribute, and call this function once more: */
  29. elmnt.removeAttribute("w3-include-html");
  30. includeHTML();
  31. }
  32. }
  33. xhttp.open("GET", file, true);
  34. xhttp.send();
  35. /* Exit the function: */
  36. return;
  37. }
  38. }
  39. }
  40. </script>
  41. <body style="font-family: arial">
  42. <table class="tg">
  43. <tr>
  44. <td class="tg-hfl5" rowspan="8"><img src="/img_tmp/alg_roi.jpg" alt="ROI-Image"></td>
  45. <th class="th">
  46. Raw Value:
  47. </th>
  48. </tr>
  49. <tr>
  50. <td class="tg-hfl5">
  51. <div w3-include-html="/wasserzaehler.html?rawvalue=true"></div>
  52. </td>
  53. </tr>
  54. <tr>
  55. <th class="th">
  56. Corrected Value:
  57. </th>
  58. </tr>
  59. <tr>
  60. <td class="tg-hfl5">
  61. <div w3-include-html="/wasserzaehler.html"></div>
  62. </td>
  63. </tr>
  64. <tr>
  65. <th class="th">
  66. Checked Value:
  67. </th>
  68. </tr>
  69. <tr>
  70. <td class="tg-hfl5">
  71. <div w3-include-html="/setPreValue.html"></div>
  72. </td>
  73. </tr>
  74. <tr>
  75. <th class="th">
  76. Start Time:
  77. </th>
  78. </tr>
  79. <tr>
  80. <td class="tg-hfl5">
  81. <div w3-include-html="/starttime"></div>
  82. </td>
  83. </tr>
  84. </table>
  85. <script>
  86. includeHTML();
  87. </script>
  88. </body></html>