File tree Expand file tree Collapse file tree
src/meshcore_hub/web/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ <h2 class="card-title">
9090 < thead >
9191 < tr >
9292 < th > Node</ th >
93- < th > Type</ th >
9493 < th class ="text-right "> Received</ th >
9594 </ tr >
9695 </ thead >
@@ -103,7 +102,6 @@ <h2 class="card-title">
103102 < div class ="text-xs opacity-50 font-mono "> {{ ad.public_key[:12] }}...</ div >
104103 {% endif %}
105104 </ td >
106- < td > {{ ad.adv_type or '-' }}</ td >
107105 < td class ="text-right text-sm opacity-70 "> {{ ad.received_at.split('T')[1][:8] if ad.received_at else '-' }}</ td >
108106 </ tr >
109107 {% endfor %}
Original file line number Diff line number Diff line change @@ -51,10 +51,8 @@ <h1 class="text-3xl font-bold">Nodes</h1>
5151 < tr >
5252 < th > Name</ th >
5353 < th > Public Key</ th >
54- < th > Type</ th >
5554 < th > Last Seen</ th >
5655 < th > Tags</ th >
57- < th > </ th >
5856 </ tr >
5957 </ thead >
6058 < tbody >
@@ -66,17 +64,12 @@ <h1 class="text-3xl font-bold">Nodes</h1>
6664 {% endif %}
6765 {% endfor %}
6866 < tr class ="hover ">
69- < td class ="font-medium "> {{ ns.friendly_name or node.name or '-' }}</ td >
67+ < td class ="font-medium ">
68+ < a href ="/nodes/{{ node.public_key }} " class ="link link-hover "> {{ ns.friendly_name or node.name or '-' }}</ a >
69+ </ td >
7070 < td class ="font-mono text-xs truncate-cell " title ="{{ node.public_key }} ">
7171 {{ node.public_key[:16] }}...
7272 </ td >
73- < td >
74- {% if node.adv_type %}
75- < span class ="badge badge-outline badge-sm "> {{ node.adv_type }}</ span >
76- {% else %}
77- < span class ="opacity-50 "> -</ span >
78- {% endif %}
79- </ td >
8073 < td class ="text-sm ">
8174 {% if node.last_seen %}
8275 {{ node.last_seen[:19].replace('T', ' ') }}
@@ -98,15 +91,10 @@ <h1 class="text-3xl font-bold">Nodes</h1>
9891 < span class ="opacity-50 "> -</ span >
9992 {% endif %}
10093 </ td >
101- < td >
102- < a href ="/nodes/{{ node.public_key }} " class ="btn btn-ghost btn-xs ">
103- View
104- </ a >
105- </ td >
10694 </ tr >
10795 {% else %}
10896 < tr >
109- < td colspan ="6 " class ="text-center py-8 opacity-70 "> No nodes found.</ td >
97+ < td colspan ="4 " class ="text-center py-8 opacity-70 "> No nodes found.</ td >
11098 </ tr >
11199 {% endfor %}
112100 </ tbody >
You can’t perform that action at this time.
0 commit comments