relay/templates/admin.rs.html
2020-03-25 22:26:45 -05:00

15 lines
410 B
HTML

@use crate::data::Contact;
@(contact: &Contact)
<div class="admin">
<div class="left">
<figure class="avatar">
<img src="@contact.avatar" alt="@contact.display_name's avatar">
</figure>
</div>
<div class="right">
<p class="display-name"><a href="@contact.url">@contact.display_name</a></p>
<p class="username">@@@contact.username</p>
</div>
</div>