improved WebUI

This commit is contained in:
2025-08-12 14:21:53 +02:00
parent 546e4a1885
commit 8393f24ae2
3 changed files with 382 additions and 164 deletions

View File

@@ -8,11 +8,11 @@
<link rel="stylesheet" href="static/css/bootstrap.min.css">
<link rel="stylesheet" href="static/css/custom.css">
<link rel="stylesheet" href="static/css/tweaks.css">
<script src="static/js/jquery.min.js"></script>
<script src="static/js/bootstrap.min.js"></script>
<script src="static/js/websocket.js"></script>
<script src="static/js/dtc_table.js"></script>
<script src="static/js/script.js"></script>
<script src="static/js/jquery.min.js" defer></script>
<script src="static/js/bootstrap.min.js" defer></script>
<script src="static/js/websocket.js" defer></script>
<script src="static/js/dtc_table.js" defer></script>
<script src="static/js/script.js" defer></script>
<link rel="apple-touch-icon" sizes="180x180" href="static/img/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="static/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="static/img/favicon-16x16.png">
@@ -216,10 +216,7 @@
<div class="form-group row">
<label for="speedsource" class="control-label col-4">Schnittstelle</label>
<div class="col-8">
<select id="speedsource" class="set-wsevent data-speedsource select form-control">
<option value="Impuls">Impuls</option>
<option value="GPS">GPS</option>
<option value="CAN-Bus">CAN-Bus</option>
<select id="speedsource" class="set-wsevent data-speedsource select form-control">
</select>
</div>
</div>
@@ -298,8 +295,6 @@
<label for="cansource" class="control-label col-4">Model</label>
<div class="col-8">
<select id="cansource" class="set-wsevent data-cansource select form-control">
<option value="KTM 890 Adventure R (2021)">KTM 890 Adventure R (2021)</option>
<option value="KTM 1290 Superduke R (2023)">KTM 1290 Superduke R (2023)</option>
</select>
</div>
</div>
@@ -510,21 +505,26 @@
<table class="table">
<tbody>
<tr>
<th class="col-7" scope="col">Parameter</td>
<th class="col-5" scope="col">Value</td>
<th class="col-7" scope="col">Parameter</th>
<th class="col-5" scope="col">Value</th>
</tr>
<tr>
<td>Firmware Version</td>
<td>%SW_VERSION%</td>
<td class="data-fw-version"></td>
</tr>
<tr>
<td>Flash Version</td>
<td>%FS_VERSION%</td>
<td>Benötigte Flash Version</td>
<td class="data-req-flash-version"></td>
</tr>
<tr>
<td>Installierte Flash Version</td>
<td class="data-flash-version"></td>
</tr>
<tr>
<td>Git Revision</td>
<td>%GIT_REV%</td>
<td class="data-git-rev"></td>
</tr>
</tbody>
</table>
</p>
<!-- Div Group VersionInfo -->