Value Maps angelegt
This commit is contained in:
1 parent
09c41821c8
commit
7a8758d8cc
2 files changed
+72
-9
No files matched your search
@@ -33,6 +33,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Bezeichnung</th>
|
||||
<th>Wert</th>
|
||||
<th>Adresse</th>
|
||||
{% if table_id == "modbus_coils" %}
|
||||
<th>Write</th>
|
||||
@@ -53,6 +54,7 @@
|
||||
{% for key, row in entry %}
|
||||
<tr data-row="{{ loop.index0 }}">
|
||||
<td><input type='text' class='text-input' data-field='key' value='{{ key }}' /></td>
|
||||
<td>{{ value_map[key] | default(value="-") }}</td>
|
||||
<td><input type='number' class='text-input' data-field='addr' value='{{ row.addr }}' /></td>
|
||||
{% if table_id == "modbus_coils" %}
|
||||
<td>
|
||||
|
||||
Reference in new issue
Block a user