show better metadata in node overview
This commit is contained in:
parent
e75896d44c
commit
499dc628bf
2 changed files with 15 additions and 4 deletions
|
@ -42,8 +42,19 @@
|
||||||
|
|
||||||
<h4>Hardware</h4>
|
<h4>Hardware</h4>
|
||||||
<p>
|
<p>
|
||||||
<strong>Chip:</strong> {{ node.last_messages.CONFIG_HARDWARE.parsed.get_chip_display }}
|
<strong>Board:</strong> {{ node.last_messages.CONFIG_BOARD.parsed.board.name }}
|
||||||
rev{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_major }}.{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_minor }}
|
(with {{ node.last_messages.CONFIG_HARDWARE.parsed.chip.name }} rev{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_major }}.{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_minor }})
|
||||||
|
|
||||||
|
{% if node.last_messages.CONFIG_BOARD.parsed.led %}
|
||||||
|
<br>
|
||||||
|
<strong>Status LED:</strong> {{ node.last_messages.CONFIG_BOARD.parsed.led }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if node.last_messages.CONFIG_BOARD.parsed.uwb %}
|
||||||
|
<br>
|
||||||
|
<strong>UWB:</strong> {{ node.last_messages.CONFIG_BOARD.parsed.led }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<h4>Firmware</h4>
|
<h4>Firmware</h4>
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -45,8 +45,8 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{% url "control.mesh.node.detail" pk=node.address %}">{{ node }}</a></td>
|
<td><a href="{% url "control.mesh.node.detail" pk=node.address %}">{{ node }}</a></td>
|
||||||
<td>
|
<td>
|
||||||
{{ node.last_messages.CONFIG_HARDWARE.parsed.get_chip_display }}
|
{{ node.last_messages.CONFIG_BOARD.parsed.board.name }}
|
||||||
<small>rev{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_major }}.{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_minor }}</small>
|
({{ node.last_messages.CONFIG_HARDWARE.parsed.get_chip_display }} <small>rev{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_major }}.{{ node.last_messages.CONFIG_HARDWARE.parsed.revision_minor }}</small>)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ node.last_messages.CONFIG_FIRMWARE.parsed.app_desc.version }}
|
{{ node.last_messages.CONFIG_FIRMWARE.parsed.app_desc.version }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue