Compare commits
3 Commits
e3392d92c4
...
744f8c431c
Author | SHA1 | Date | |
---|---|---|---|
744f8c431c | |||
e9567602d3 | |||
0469b183f2 |
@ -507,6 +507,23 @@
|
|||||||
<!-- Div Tab SystemInfo -->
|
<!-- Div Tab SystemInfo -->
|
||||||
<div id="tab_sysinfo" class="tab-pane fade" role="tabpanel">
|
<div id="tab_sysinfo" class="tab-pane fade" role="tabpanel">
|
||||||
<h3>Systeminfo</h3>
|
<h3>Systeminfo</h3>
|
||||||
|
<!-- Div Group Sysinfo:Geraeteinfo -->
|
||||||
|
<hr />
|
||||||
|
<p>
|
||||||
|
<h4>Gerät</h4>
|
||||||
|
<table class="table">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th class="col-7" scope="col">Parameter</td>
|
||||||
|
<th class="col-5" scope="col">Value</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Hostname</td>
|
||||||
|
<td>%HOSTNAME%</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</p>
|
||||||
|
<!-- Div Group Sysinfo:Geraeteinfo -->
|
||||||
<!-- Div Group Sysinfo:Settings -->
|
<!-- Div Group Sysinfo:Settings -->
|
||||||
<hr />
|
<hr />
|
||||||
<p>
|
<p>
|
||||||
@ -742,7 +759,7 @@
|
|||||||
<footer class="page-footer navbar-dark bg-primary font-small fixed-bottom">
|
<footer class="page-footer navbar-dark bg-primary font-small fixed-bottom">
|
||||||
<div class="container-fluid text-center">
|
<div class="container-fluid text-center">
|
||||||
<div class="footer-copyright text-center py-3">
|
<div class="footer-copyright text-center py-3">
|
||||||
<span class="text-muted">© 2022 -
|
<span class="text-muted">© 2023 -
|
||||||
<a class="text-reset fw-bold" href="https://eventronics.de/">Marcel Peterkau</a></span>
|
<a class="text-reset fw-bold" href="https://eventronics.de/">Marcel Peterkau</a></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -72,6 +72,8 @@ void Webserver_Process()
|
|||||||
|
|
||||||
String processor(const String &var)
|
String processor(const String &var)
|
||||||
{
|
{
|
||||||
|
if (var == "HOSTNAME")
|
||||||
|
return String(globals.DeviceName);
|
||||||
if (var == "TANK_REMAIN_CAPACITY")
|
if (var == "TANK_REMAIN_CAPACITY")
|
||||||
return String((PersistenceData.tankRemain_microL / 10) / LubeConfig.tankCapacity_ml);
|
return String((PersistenceData.tankRemain_microL / 10) / LubeConfig.tankCapacity_ml);
|
||||||
if (var == "LUBE_DISTANCE_NORMAL")
|
if (var == "LUBE_DISTANCE_NORMAL")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user