diff --git a/src/meshcore_hub/web/templates/nodes.html b/src/meshcore_hub/web/templates/nodes.html index e81d09b..1636fca 100644 --- a/src/meshcore_hub/web/templates/nodes.html +++ b/src/meshcore_hub/web/templates/nodes.html @@ -49,9 +49,8 @@ - + - @@ -65,8 +64,15 @@ {% endif %} {% endfor %} - - - {% else %} - + {% endfor %}
NameNode TypePublic Key Last Seen Tags
- {{ ns.friendly_name or node.name or '-' }} + + + {% if ns.friendly_name or node.name %} +
{{ ns.friendly_name or node.name }}
+
{{ node.public_key[:16] }}...
+ {% else %} + {{ node.public_key[:16] }}... + {% endif %} +
{% if node.adv_type and node.adv_type|lower == 'chat' %} @@ -81,10 +87,7 @@ - {% endif %} - {{ node.public_key[:16] }}... - + {% if node.last_seen %} {{ node.last_seen[:19].replace('T', ' ') }} {% else %} @@ -108,7 +111,7 @@
No nodes found.No nodes found.