diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-05-01 00:48:35 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-05-01 00:48:35 +0200 |
commit | 652852e3104ce4020de53231ee7691a4970439d6 (patch) | |
tree | 57a053cb2104520e240cd44a4dfb9f92fd5ede07 /views/users.ejs | |
parent | 156f7f8546890c6406001061dae199f8320ca83b (diff) | |
download | server-652852e3104ce4020de53231ee7691a4970439d6.tar.gz |
Add server and lobby code.
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 %> +<% }); %> |