diff options
Diffstat (limited to 'views/message_read.ejs')
-rw-r--r-- | views/message_read.ejs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/views/message_read.ejs b/views/message_read.ejs index 7b32eda..b2f8227 100644 --- a/views/message_read.ejs +++ b/views/message_read.ejs @@ -1,4 +1,7 @@ <%- include('header', { title: message.subject }) %> +<style> +th{font-weight:normal;width:4em;} +</style> <script> function delete_message(id) { let warning = "Are you sure you want to DELETE this message?"; @@ -9,10 +12,10 @@ function reply_message(id) { window.location.href = "/message/reply/" + id; } </script> -<table class="post"> -<tr><th>From:<td> <a href="/user/<%- message.from_name %>"><%= message.from_name %></a> -<tr><th>To:<td> <a href="/user/<%- message.to_name %>"><%= message.to_name %></a> -<tr><th>Date:<td> <%= message.time %> +<table> +<tr><th>From:<td><a href="/user/<%- message.from_name %>"><%= message.from_name %></a> +<tr><th>To:<td><a href="/user/<%- message.to_name %>"><%= message.to_name %></a> +<tr><th>Date:<td><%= message.time %> <tr><td colspan="2" class="body"><%- message.body %></td> </table> <p> |