aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/templates/page
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-10-12 18:16:46 +0200
committerAlex Auvolat <alex@adnab.me>2018-10-12 18:16:46 +0200
commit574b572fac144135c4381581351445bf5d0de81c (patch)
tree1ad2fa0157583a955069332e6a957250ff362967 /shardweb/lib/templates/page
parent7bc609a85b43ed86eccb9cd40d9db31f15aaba1d (diff)
downloadshard-574b572fac144135c4381581351445bf5d0de81c.tar.gz
shard-574b572fac144135c4381581351445bf5d0de81c.zip
Clean up interface to shards0.0.3
Diffstat (limited to 'shardweb/lib/templates/page')
-rw-r--r--shardweb/lib/templates/page/peer_list.html.eex4
-rw-r--r--shardweb/lib/templates/page/shard_list.html.eex2
2 files changed, 3 insertions, 3 deletions
diff --git a/shardweb/lib/templates/page/peer_list.html.eex b/shardweb/lib/templates/page/peer_list.html.eex
index ff6479f..09060a7 100644
--- a/shardweb/lib/templates/page/peer_list.html.eex
+++ b/shardweb/lib/templates/page/peer_list.html.eex
@@ -10,7 +10,7 @@
<i class="fa fa-dashboard"></i> Dashboard
</li>
<li class="active">
- <i class="fa fa-globe"></i> Peer list
+ <i class="fa fa-server"></i> Peer list
</li>
</ol>
</div>
@@ -29,7 +29,7 @@
<tr>
<td>
<%= case auth do %>
- <% nil -> %>(anonymous)
+ <% nil -> %><i class="fa fa-globe"></i> (anonymous)
<% %SNet.Auth{his_pk: his_pk} -> %>
<i class="fa fa-user"></i>
<%= SApp.Identity.get_nick(his_pk) %>
diff --git a/shardweb/lib/templates/page/shard_list.html.eex b/shardweb/lib/templates/page/shard_list.html.eex
index 012223a..cc23205 100644
--- a/shardweb/lib/templates/page/shard_list.html.eex
+++ b/shardweb/lib/templates/page/shard_list.html.eex
@@ -30,7 +30,7 @@
<td>
<%= case manifest do %>
<% %SApp.Identity.Manifest{pk: pk} -> %><i class="fa fa-user"></i>
- <%= GenServer.call(pid, :get_info).nick %>
+ <%= SApp.Identity.get_info(pid).nick %>
<a href="<%= identity_path(@conn, :view, pk|>Base.encode16) %>">
<small><%= Shard.Keys.pk_display pk %></small>
</a>