Skip to content

Commit 8ff1765

Browse files
committed
HTML Update
- Direkt Dropdown-Link "System --> Log Viewer" - Small text corrections - Avoid Scrollbars in Overview in case picture was not loaded
1 parent 5e037d7 commit 8ff1765

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

sd-card/html/edit_digits.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h2>Edit Digits</h2>
8585
<tr>
8686
<td>x: <input type="number" name="refx" id="refx" step=1 onchange="valuemanualchanged()"></td>
8787
<td>dx: <input type="number" name="refdx" id="refdx" step=1 onchange="valuemanualchangeddx()"></td>
88-
<td rowspan="2"><label for="lockAR"> lock aspect ratio </label><input type="checkbox" id="lockAR" name="lockAR" value="1" onclick="changelockAR()" checked></td>
88+
<td rowspan="2"><label for="lockAR"> Lock aspect ratio </label><input type="checkbox" id="lockAR" name="lockAR" value="1" onclick="changelockAR()" checked></td>
8989
</tr>
9090
<tr>
9191
<td>y: <input type="number" name="refy" id="refy" step=1 onchange="valuemanualchanged()"></td>

sd-card/html/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html style="width: fit-content">
33
<head>
44
<title>jomjol - AI on the edge</title>
55
<meta charset="utf-8">
@@ -85,12 +85,13 @@ <h2>An ESP32 all in neural network recognition system</h2>
8585
<a href="index_configure.html">Edit Configuration</a>
8686
</div>
8787
</li>
88-
<li><a href="#"onclick="document.getElementById('maincontent').src = '/wasserzaehler.html?full';">Watermeter</a></li>
88+
<li><a href="#"onclick="document.getElementById('maincontent').src = '/wasserzaehler.html?full';">Recognition</a></li>
8989
<li><a href="#"onclick="document.getElementById('maincontent').src = '/fileserver/';">File Server</a></li>
9090
<li class="dropdown">
9191
<a href="javascript:void(0)" class="dropbtn">System</a>
9292
<div class="dropdown-content">
9393
<a href="#"onclick="document.getElementById('maincontent').src = '/ota_page.html';">OTA Update</a>
94+
<a href="#"onclick="document.getElementById('maincontent').src = '/fileserver/log.txt';">Log Viewer</a>
9495
<a href="#"onclick="document.getElementById('maincontent').src = '/reboot_page.html';">Reboot</a>
9596
</div>
9697
</ul>

sd-card/html/wasserzaehler_roi.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.tg {border-collapse:collapse;border-spacing:0;width:100%;color: darkslategray;border: inset;height:585px;}
99
.tg td{font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
1010
.tg th{height: 55px;font-size:24px;font-weight:bold;text-align:left;padding:0px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;background-color:#f0f0f0}
11-
.tg .tg-1{width:78%;font-size:20px;font-family:Arial, Helvetica, sans-serif !important;border: inset;}
11+
.tg .tg-1{width:77%;font-size:20px;font-family:Arial, Helvetica, sans-serif !important;border: inset;}
1212
.tg .tg-2{font-size:20px;font-family:Arial, Helvetica, sans-serif !important;border: inset;}
1313
.tg .tg-3{height: 15px;font-size:14px;font-family:Arial, Helvetica, sans-serif !important;border: inset;}
1414
</style>
@@ -31,7 +31,7 @@
3131
var m = addZero(d.getMinutes());
3232
var s = addZero(d.getSeconds());
3333

34-
$('#img').html('<img src="/img_tmp/alg_roi.jpg" style="width:740px;max-height:100%"></img>');
34+
$('#img').html('<img src="/img_tmp/alg_roi.jpg" style="width:100%; max-height:555px;"></img>');
3535
$("#raw").load("/wasserzaehler.html?rawvalue=true");
3636
$("#corrected").load("/wasserzaehler.html");
3737
$("#checked").load("/setPreValue.html");
@@ -49,7 +49,7 @@
4949
var m = addZero(d.getMinutes());
5050
var s = addZero(d.getSeconds());
5151
// reassign the url to be like alg_roi.jpg?timestamp=456784512 based on timestamp
52-
$('#img').html('<img src="/img_tmp/alg_roi.jpg?timestamp='+ timestamp +'" style="width:740px;max-height:100%"></img>');
52+
$('#img').html('<img src="/img_tmp/alg_roi.jpg?timestamp='+ timestamp +'" style="width:100%; max-height:555px;"></img>');
5353
$("#raw").load("/wasserzaehler.html?rawvalue=true");
5454
$("#corrected").load("/wasserzaehler.html");
5555
$("#checked").load("/setPreValue.html");

0 commit comments

Comments
 (0)