Updated NodeCard Design

This commit is contained in:
Logan Cusano
2023-07-16 16:47:42 -04:00
committed by logan
parent 6ffa12911a
commit d7ea6bbbd4

View File

@@ -12,10 +12,6 @@
</div>
</div>
<div class="d-flex align-items-center">
<div>
<img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""
class="avatar-md rounded-circle img-thumbnail" />
</div>
<div class="flex-1 ms-3">
<h5 class="font-size-16 mb-1"><a href="/node/<%=node.id%>" class="text-dark">
<%= node.name %>
@@ -35,21 +31,16 @@
<a href="#" target="_blank">
<%= node.ip %>:<%= node.port %>
</a>
</p>
</p>
<hr>
<p class="text-muted mb-0">
<div class="dropdown">
<i class="bi bi-broadcast-pin font-size-15 align-middle pe-2 text-primary"></i>
<a class="dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
Nearby Systems
</a>
<ul class="dropdown-menu">
<i class="bi bi-broadcast-pin font-size-15 pe-2 text-primary"></i>
Nearby Systems:
<ul>
<% for(const system in node.nearbySystems){ %>
<li>
<%= system %>
</li>
<% } %>
</ul>
</div>
<li><%= system %></li>
<% } %>
</ul>
</p>
</div>
</div>