|
|
@@ -5,115 +5,29 @@
|
|
|
<title>AI on the edge</title>
|
|
|
<meta charset="utf-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
-<!-- <link rel="stylesheet" href="style.css" type="text/css" > -->
|
|
|
-<style>
|
|
|
-/* Older Firmware versions (11.2.0 and older) do not support css files, therefore we need to keep it integrated for now! */
|
|
|
-body, html {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- min-height: 800px;
|
|
|
- margin: 0px 0px 0px 2px;
|
|
|
- padding: 0;
|
|
|
- font-family: arial;
|
|
|
- width: fit-content;
|
|
|
-}
|
|
|
-
|
|
|
-.main {
|
|
|
- display: flex;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- flex-direction: column;
|
|
|
- overflow: hidden;
|
|
|
-}
|
|
|
-
|
|
|
-.iframe {
|
|
|
- flex-grow: 1;
|
|
|
- margin: 5px 7px 4px 0px;
|
|
|
- padding: 0;
|
|
|
- border: 2px solid black;
|
|
|
-}
|
|
|
-
|
|
|
-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 {
|
|
|
- color: white;
|
|
|
- background-color: red;
|
|
|
-}
|
|
|
-
|
|
|
-.dropdown:hover .dropdown-content {
|
|
|
- display: block;
|
|
|
-}
|
|
|
-</style>
|
|
|
+<link rel="stylesheet" href="style.css" type="text/css" >
|
|
|
|
|
|
<script type="text/javascript" src="common.js"></script>
|
|
|
<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>
|
|
|
+ async function loadPage(page) {
|
|
|
+ document.getElementById('maincontent').src = page;
|
|
|
+
|
|
|
+ [].forEach.call(document.querySelectorAll('.submenu'), function (el) {
|
|
|
+ el.style.visibility = 'hidden';
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ function resetMenu() {
|
|
|
+ [].forEach.call(document.querySelectorAll('.submenu'), function (el) {
|
|
|
+ el.style.visibility = 'visible';
|
|
|
+ });
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
@@ -126,28 +40,40 @@ li.dropdown {
|
|
|
</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 Previous Value</a>
|
|
|
- <a href="index_configure.html">Edit Configuration</a>
|
|
|
- </div>
|
|
|
+<div class="menu" onmouseover="resetMenu()">
|
|
|
+ <ul>
|
|
|
+ <li><a href="#" onclick="loadPage('wasserzaehler_roi.html');">Overview</a></li>
|
|
|
+ <li><a>Settings <i class="arrow down"></i></a>
|
|
|
+ <ul class="submenu">
|
|
|
+ <li><a href="#" onclick="loadPage('prevalue_set.html');">Set Previous Value</a></li>
|
|
|
+ <li><a href="#" onclick="loadPage('edit_config_param.html');">Configuration</a></li>
|
|
|
+ <li><a>Alignment <i class="arrow right"></i></a>
|
|
|
+ <ul>
|
|
|
+ <li><a href="#" onclick="loadPage('edit_reference.html');">Reference Image</a></li>
|
|
|
+ <li><a href="#" onclick="loadPage('edit_alignment.html');">Alignment Marks</a></li>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
+ <li><a><strong>R</strong>egions <strong>O</strong>f <strong>I</strong>nterest <i class="arrow right"></i></a>
|
|
|
+ <ul>
|
|
|
+ <li><a href="#" onclick="loadPage('edit_digits.html');">Digital ROIs</a></li>
|
|
|
+ <li><a href="#" onclick="loadPage('edit_analog.html');">Analog ROIs</a></li>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ <li><a href="#" onclick="loadPage('wasserzaehler.html?full');">Recognition</a></li>
|
|
|
+ <li><a href="#" onclick="loadPage('fileserver/');">File Server</a></li>
|
|
|
+ <li><a>System <i class="arrow down"></i></a>
|
|
|
+ <ul class="submenu">
|
|
|
+ <li><a href="#" onclick="loadPage('backup.html');">Backup/Restore</a></li>
|
|
|
+ <li><a href="#" onclick="loadPage('ota_page.html');">OTA Update</a></li>
|
|
|
+ <li><a href="#" onclick="loadPage('fileserver/log/message/?readonly=true');">Log Viewer</a></li>
|
|
|
+ <li><a href="#" onclick="loadPage('reboot_page.html');">Reboot</a></li>
|
|
|
+ <li><a href="#" onclick="loadPage('info.html');">Info</a></li>
|
|
|
+ </ul>
|
|
|
</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>
|
|
|
- </li>
|
|
|
-</ul>
|
|
|
+ </ul>
|
|
|
+</div>
|
|
|
|
|
|
<iframe name="maincontent" class="iframe" id="maincontent" src="wasserzaehler_roi.html"></iframe>
|
|
|
|