aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/templates/page/peer_list.html.eex
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-10-12 22:39:38 +0200
committerAlex Auvolat <alex@adnab.me>2018-10-12 22:39:38 +0200
commit0ed802601812acd6ad764e6ffd5aacfd7e674553 (patch)
tree1b7fccb7fbf81a6822dd3313f00a940e441b90ed /shardweb/lib/templates/page/peer_list.html.eex
parenteab3f9483b3659b1ad3572393d24652cac71c8b6 (diff)
downloadshard-0ed802601812acd6ad764e6ffd5aacfd7e674553.tar.gz
shard-0ed802601812acd6ad764e6ffd5aacfd7e674553.zip
Connection management improvement, stuff
Diffstat (limited to 'shardweb/lib/templates/page/peer_list.html.eex')
-rw-r--r--shardweb/lib/templates/page/peer_list.html.eex4
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)