diff options
Diffstat (limited to 'views/users.ejs')
-rw-r--r-- | views/users.ejs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/views/users.ejs b/views/users.ejs new file mode 100644 index 0000000..a8f5c7d --- /dev/null +++ b/views/users.ejs @@ -0,0 +1,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><%= row.name %> +<td><%= row.ctime %> +<td><%= row.atime %> +<% }); %> |