summaryrefslogtreecommitdiff
path: root/views/users.ejs
blob: d6e4d4a93aafd4303b956f31eb3425ab265de18a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<%- include('header', { title: "User list" }) %>
<style>
td.avatar{padding:0;width:80px;}
td.avatar img{display:block;width:80px;height:80px;}
</style>

<table class="wide">
<tr><th>Avatar<th>Name<th>Member since<th>Last seen

<% userList.forEach((row) => { %>
<tr>
<td class="avatar"><img src="<%= row.avatar %>">
<td><a href="/user/<%= row.name %>"><%= row.name %></a>
<td><%= row.ctime %>
<td><%= row.atime %>
<% }); %>