From 0ed802601812acd6ad764e6ffd5aacfd7e674553 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 12 Oct 2018 22:39:38 +0200 Subject: Connection management improvement, stuff --- shardweb/assets/css/app.css | 4 ++++ shardweb/lib/templates/page/peer_list.html.eex | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'shardweb') diff --git a/shardweb/assets/css/app.css b/shardweb/assets/css/app.css index e8d40d2..93cba41 100644 --- a/shardweb/assets/css/app.css +++ b/shardweb/assets/css/app.css @@ -9,3 +9,7 @@ color: #fff; font-weight: bold; } + +.conn_establishing { + color: #999; +} 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 @@ Address Port - <%= for {{:inet, ip, port}, _pid, auth} <- conn_list() do %> - + <%= for {{:inet, ip, port}, _pid, auth, state} <- conn_list() do %> + "> <%= case auth do %> <% nil -> %> (anonymous) -- cgit v1.2.3