aboutsummaryrefslogblamecommitdiff
path: root/shardweb/lib/templates/identity/view.html.eex
blob: cc58ed58f7eaa8e740246ca8bbeb6975599e4757 (plain) (tree)
1
2
3
4
5
6



                            

                                                                                 














                                                          
                            
                                                                                                                                             

         
                                                                                                                                                                        
 
     
                                                                       


      
<!-- 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, @view_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, @view_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>