diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-11-09 22:33:53 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-11-09 22:59:49 +0100 |
commit | 70289448796f6649d74a2ec22b300c3b0075b762 (patch) | |
tree | 87959c4ef3469070bdb36db2ea1de723553a83ef /views/forum_view.ejs | |
parent | 86ee8f02d4230199378eb055a5a89c15844208c9 (diff) | |
download | server-70289448796f6649d74a2ec22b300c3b0075b762.tar.gz |
Show user profiles.
Diffstat (limited to 'views/forum_view.ejs')
-rw-r--r-- | views/forum_view.ejs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/views/forum_view.ejs b/views/forum_view.ejs index 7c3de75..5f04f3f 100644 --- a/views/forum_view.ejs +++ b/views/forum_view.ejs @@ -3,16 +3,19 @@ table { width: 100%; max-width: 60em; } td a { color: black; text-decoration: none; } tfoot td { background-color: gainsboro; } +th.replies { width: 3em; } +th.time { width: 5em; } +th.author { width: 10em; } </style> <table> <thead> -<tr><th>Subject<th>Author -<th>Replies<th>Time +<tr><th class="subject">Subject<th class="author">Author +<th class="replies">Replies<th class="time">Time </thead> <% threads.forEach((row) => { %> <tr> <td class="ellipsis"><a href="/forum/thread/<%- row.thread_id %>"><%= row.subject %></a> -<td class="nowrap"><%= row.author_name %> +<td class="nowrap"><a href="/user/<%- row.author_name %>"><%= row.author_name %></a> <td><%= row.reply_count %> <td class="nowrap"><%= row.mtime %> <% }); %> |