diff --git a/src/c3nav/mesh/templates/mesh/node_detail.html b/src/c3nav/mesh/templates/mesh/node_detail.html index 7dbbb886..fcfd19e6 100644 --- a/src/c3nav/mesh/templates/mesh/node_detail.html +++ b/src/c3nav/mesh/templates/mesh/node_detail.html @@ -6,13 +6,11 @@ {% block subcontent %}
-

General

+

Connection

Address: {{ node.address }}
- Name: {% if node.name %}{{ node.name }}{% else %}{% trans '(no name)' %}{% endif %}

- {% comment %}todo: more details{% endcomment %} Uplink: {% with uplink=node.get_uplink %} {% if uplink %} @@ -53,6 +51,7 @@

+

Hardware

Board: {{ node.last_messages.CONFIG_BOARD.parsed.content.board_config.board.pretty_name }} @@ -67,13 +66,13 @@
UWB: {{ node.last_messages.CONFIG_BOARD.parsed.content.led }} {% endif %} -

{% trans 'Chaange board settings' %}

+

Firmware

{% if node.firmware_description.build %} @@ -86,18 +85,6 @@ SHA256: {{ node.firmware_description.sha256_hash }}
{% endif %}

-
-
-

Node configuration

-

- Number: {{ node.last_messages.CONFIG_NODE.parsed.content.number }}
- Name: {{ node.last_messages.CONFIG_NODE.parsed.content.name }} -

-

- - {% trans 'Change' %} - -

Uplink configuration

@@ -114,15 +101,15 @@ {% trans 'Change' %}

- -

iBeacon configuration

+
+
+

Node configuration

- UUID: {{ node.last_messages.CONFIG_IBEACON.parsed.content.uuid }}
- Major: {{ node.last_messages.CONFIG_IBEACON.parsed.content.major }}
- Minor: {{ node.last_messages.CONFIG_IBEACON.parsed.content.minor }} + Number: {{ node.last_messages.CONFIG_NODE.parsed.content.number }}, + Name: {{ node.last_messages.CONFIG_NODE.parsed.content.name }}

- + {% trans 'Change' %}

@@ -159,6 +146,18 @@

{% endif %} {% endwith %} + +

iBeacon configuration

+

+ UUID: {{ node.last_messages.CONFIG_IBEACON.parsed.content.uuid }}
+ Major: {{ node.last_messages.CONFIG_IBEACON.parsed.content.major }}, + Minor: {{ node.last_messages.CONFIG_IBEACON.parsed.content.minor }} +

+

+ + {% trans 'Change' %} + +

{% endblock %} diff --git a/src/c3nav/mesh/templates/mesh/nodes.html b/src/c3nav/mesh/templates/mesh/nodes.html index 49961b99..467148aa 100644 --- a/src/c3nav/mesh/templates/mesh/nodes.html +++ b/src/c3nav/mesh/templates/mesh/nodes.html @@ -12,7 +12,7 @@ {% trans 'Firmware' %} {% trans 'Last msg' %} {% trans 'Last signin' %} - {% trans 'Uplink' %} + {% trans 'Connection' %} {% for node in nodes %}