aboutsummaryrefslogtreecommitdiffstats
path: root/shardweb/lib/templates/identity/view.html.eex
blob: c81caf666e076839a8e519c0fea49997e6418023 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

<!-- Page Heading -->
<div class="row">
  <div class="col-lg-12">
    <h1 class="page-header">
      <%= @view_nick %>
      <small class="shard_uri"><%= @manifest |> ShardURI.from_manifest %></small>
    </h1>
    <ol class="breadcrumb">
      <li>
        <i class="fa fa-users"></i> People
      </li>
      <li class="active">
        <i class="fa fa-user"></i> <%= @view_nick %>
      </li>
    </ol>
  </div>
</div>
<!-- /.row -->

<%= render ShardWeb.LayoutView, "flashes.html", assigns %>

<%= if @view_pk != @pk do %>
  <a class="btn btn-s btn-primary" href="<%= chat_path(@conn, :privchat, @pk |> Base.encode16) %>"><i class="fa fa-comments"></i> PM</a>
<% end %>

  <a class="btn btn-s btn-success" href="<%= directory_path(@conn, :view_pub, @pk |> Base.encode16, "collection") %>"><i class="fa fa-folder"></i> Public stuff</a>

<pre>
  <%= inspect(SApp.Identity.get_info(@pid), pretty: true, width: 40) %>
</pre>