forked from PeachCloud/peach-workspace
add peers list template
This commit is contained in:
16
peach-web/templates/peers_list.html.tera
Normal file
16
peach-web/templates/peers_list.html.tera
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{%- extends "nav" -%}
|
||||||
|
{%- block card %}
|
||||||
|
<div class="card center">
|
||||||
|
<ul class="list">
|
||||||
|
<!-- for peer in peers -->
|
||||||
|
<li>
|
||||||
|
<a class="list-item link light-bg" href="/scuttlebutt/profile?public_key=pub_key">
|
||||||
|
<img id="peerImage" class="icon list-icon" src="{ image_path }" alt="{ peer_name }'s profile image">
|
||||||
|
<p id="peerName" class="list-text">{ name }</p>
|
||||||
|
<label class="label-small label-ellipsis list-label font-gray" for="peerName" title="{ peer_name }'s Public Key">{ public_key }</label>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<!-- end for loop -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{%- endblock card -%}
|
Reference in New Issue
Block a user