| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <!DOCTYPE html>
- <html style="width: fit-content">
- <head>
- <link rel="icon" href="favicon.ico" type="image/x-icon">
- <title>jomjol - AI on the edge</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <style>
- .h_iframe iframe {width:995px;height:605px;}
- .h_iframe {width:995px;height:605px;}
- h1 {font-size: 2em; margin-block-end: 0.3em;}
- h2 {font-size: 1.5em;margin-block-start: 0.3em;}
- h3 {font-size: 1.2em;}
- p {font-size: 1em;}
- ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- overflow: hidden;
- background-color: #333;
- width:1000px;
- }
- li {
- float: left;
- font-family: arial;
- font-size: 18px;
- }
- li a, .dropbtn {
- display: inline-block;
- color: white;
- text-align: center;
- padding: 14px 16px;
- text-decoration: none;
- }
- li a:hover, .dropdown:hover .dropbtn {
- background-color: red;
- }
- li.dropdown {
- display: inline-block;
- }
- .dropdown-content {
- display: none;
- position: absolute;
- background-color: #f9f9f9;
- min-width: 160px;
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
- z-index: 1;
- font-family: arial;
- }
- .dropdown-content a {
- color: black;
- padding: 12px 16px;
- text-decoration: none;
- display: block;
- text-align: left;
- }
- .dropdown-content a:hover {background-color: #f1f1f1;}
- .dropdown:hover .dropdown-content {
- display: block;
- }
- </style>
- </head>
- <body style="font-family: arial">
- <table style="border: none">
- <tr><td style="padding-right: 10px;"><img src="favicon.ico"></td>
- <td><h1 id="id_title"> Digitizer - AI on the edge</h1>
- <h2>An ESP32 all inclusive neural network recognition system for meter digitalization</h2>
- </td></tr>
- </table>
- <ul>
- <li><a href="#"onclick="document.getElementById('maincontent').src = '/wasserzaehler_roi.html';">Overview</a></li>
- <li class="dropdown">
- <a href="javascript:void(0)" class="dropbtn">Configuration</a>
- <div class="dropdown-content">
- <a href="#"onclick="document.getElementById('maincontent').src = '/prevalue_set.html';">Set preValue</a>
- <a href="index_configure.html">Edit Configuration</a>
- </div>
- </li>
- <li><a href="#"onclick="document.getElementById('maincontent').src = '/wasserzaehler.html?full';">Recognition</a></li>
- <li><a href="#"onclick="document.getElementById('maincontent').src = '/fileserver/';">File Server</a></li>
- <li class="dropdown">
- <a href="javascript:void(0)" class="dropbtn">System</a>
- <div class="dropdown-content">
- <a href="#"onclick="document.getElementById('maincontent').src = '/backup.html';">Backup/Restore</a>
- <a href="#"onclick="document.getElementById('maincontent').src = '/ota_page.html';">OTA Update</a>
- <a href="#"onclick="document.getElementById('maincontent').src = '/fileserver/log/message/?readonly=true';">Log Viewer</a>
- <a href="#"onclick="document.getElementById('maincontent').src = '/reboot_page.html';">Reboot</a>
- <a href="#"onclick="document.getElementById('maincontent').src = '/info.html';">Info</a>
- </div>
- </ul>
- <p>
- <div class="h_iframe">
- <iframe name="maincontent" id ="maincontent" src="/wasserzaehler_roi.html" title="fileserver" allowfullscreen></iframe>
- </div>
- <script type="text/javascript" src="./gethost.js"></script>
- <script type="text/javascript" src="./readconfigcommon.js"></script>
- <script type="text/javascript" src="./readconfigparam.js"></script>
- <script type="text/javascript">
- var basepath = "http://192.168.178.22";
- function LoadHostname() {
- _basepath = getbasepath();
- var xhttp = new XMLHttpRequest();
- xhttp.addEventListener('load', function(event) {
- if (xhttp.status >= 200 && xhttp.status < 300) {
- hostname = xhttp.responseText;
- document.title = hostname + " - jomjol - AI on the edge";
- document.getElementById("id_title").innerHTML = "Digitizer - AI on the edge - " + hostname;
- } else {
- console.warn(request.statusText, request.responseText);
- }
- });
- // var xhttp = new XMLHttpRequest();
- try {
- url = _basepath + '/version?type=Hostname';
- xhttp.open("GET", url, true);
- xhttp.send();
- }
- catch (error)
- {
- // alert("Loading Hostname failed");
- }
- }
- LoadHostname();
- </script>
- </body>
- </html>
|