diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-11-09 23:02:02 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-11-09 23:02:02 +0100 |
commit | 023c7e0c87ee0ff96b17cd4e4a3b0915d1c223d1 (patch) | |
tree | 9cc72d0a267b3080667e633a1934de2799567b16 /views/user.ejs | |
parent | 696c2c03269135a6e3cf9d802da30e2152d2664c (diff) | |
download | server-023c7e0c87ee0ff96b17cd4e4a3b0915d1c223d1.tar.gz |
Add missing files.
Diffstat (limited to 'views/user.ejs')
-rw-r--r-- | views/user.ejs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/views/user.ejs b/views/user.ejs new file mode 100644 index 0000000..aa5d00f --- /dev/null +++ b/views/user.ejs @@ -0,0 +1,16 @@ +<%- include('header', { title: who.name }) %> +<style> +.logo { width: 80px; height: 80px; } +</style> +<img class="logo" src="<%= who.avatar %>" width="80" height="80"> +<% if (who.about) { %> +<p style="white-space:pre-wrap;font-style:italic"><%= who.about %></p> +<% } else { %> +<br clear="left"> +<% } %> +<p> +Member since <%= who.ctime %>. +<p> +Was last seen <%= who.atime %>. +<p> +<a href="/message/send/<%- who.name %>">Send message</a> |