Improved data column title

This commit is contained in:
Ziver Koc 2023-10-04 23:44:43 +02:00
parent 8a5267b0f8
commit c818d5bcc7
3 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@
<table class="table table-hover table-condensed">
<thead>
<th class="col-md-6">Timestamp</th>
<th class="col-md-2">Data</th>
<th class="col-md-2">Raw Data</th>
</thead>
{{#history}}
<tr>

View file

@ -56,7 +56,7 @@
if (row.dataset.deviceId != deviceData.id || row.dataset.timestamp != deviceData.data?.timestamp) {
// Only update if data has changed
row.dataset.deviceId = deviceData.id;
row.cells[0].innerHTML = deviceData.name;
row.cells[0].innerHTML = "<a href='?id=" + deviceData.id + "'>" + deviceData.name + "</a>";
row.cells[1].innerHTML = deviceData.config?.typeConfig;
row.cells[2].innerHTML = deviceData.data?.valueStr;

View file

@ -57,7 +57,7 @@
<table class="table table-hover table-condensed">
<thead>
<th class="col-md-6">Timestamp</th>
<th class="col-md-2">Data</th>
<th class="col-md-2">Raw Data</th>
</thead>
{{#history}}
<tr>