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> </div>
<div class="d-flex align-items-center"> <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"> <div class="flex-1 ms-3">
<h5 class="font-size-16 mb-1"><a href="/node/<%=node.id%>" class="text-dark"> <h5 class="font-size-16 mb-1"><a href="/node/<%=node.id%>" class="text-dark">
<%= node.name %> <%= node.name %>
@@ -35,21 +31,16 @@
<a href="#" target="_blank"> <a href="#" target="_blank">
<%= node.ip %>:<%= node.port %> <%= node.ip %>:<%= node.port %>
</a> </a>
</p> </p>
<hr>
<p class="text-muted mb-0"> <p class="text-muted mb-0">
<div class="dropdown"> <i class="bi bi-broadcast-pin font-size-15 pe-2 text-primary"></i>
<i class="bi bi-broadcast-pin font-size-15 align-middle pe-2 text-primary"></i> Nearby Systems:
<a class="dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false"> <ul>
Nearby Systems
</a>
<ul class="dropdown-menu">
<% for(const system in node.nearbySystems){ %> <% for(const system in node.nearbySystems){ %>
<li> <li><%= system %></li>
<%= system %> <% } %>
</li> </ul>
<% } %>
</ul>
</div>
</p> </p>
</div> </div>
</div> </div>