diff options
Diffstat (limited to 'shardweb/lib')
-rw-r--r-- | shardweb/lib/templates/page/peer_list.html.eex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shardweb/lib/templates/page/peer_list.html.eex b/shardweb/lib/templates/page/peer_list.html.eex index 09060a7..8b8b322 100644 --- a/shardweb/lib/templates/page/peer_list.html.eex +++ b/shardweb/lib/templates/page/peer_list.html.eex @@ -25,8 +25,8 @@ <th>Address</th> <th>Port</th> </tr> - <%= for {{:inet, ip, port}, _pid, auth} <- conn_list() do %> - <tr> + <%= for {{:inet, ip, port}, _pid, auth, state} <- conn_list() do %> + <tr class="<%= if state == :establishing do "conn_establishing" else "" end %>"> <td> <%= case auth do %> <% nil -> %><i class="fa fa-globe"></i> (anonymous) |