summaryrefslogtreecommitdiff
path: root/views/user.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/user.ejs')
-rw-r--r--views/user.ejs16
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>