summaryrefslogtreecommitdiff
path: root/views/message_inbox.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/message_inbox.ejs')
-rw-r--r--views/message_inbox.ejs21
1 files changed, 0 insertions, 21 deletions
diff --git a/views/message_inbox.ejs b/views/message_inbox.ejs
deleted file mode 100644
index 626662d..0000000
--- a/views/message_inbox.ejs
+++ /dev/null
@@ -1,21 +0,0 @@
-<%- include('header', { title: "Inbox" }) -%>
-<style>
-.unread { background-color: lightyellow; }
-</style>
-<p><a href="/message/send">Send message</a>
-<table class="post">
-<tr><th>From<th>Subject<th>Date
-<% if (messages.length > 0) { messages.forEach((row) => { %>
-<% if (row.read) { %>
-<tr class="read">
-<% } else {%>
-<tr>
-<% } %>
-<td><a href="/user/<%- row.from_name %>"><%= row.from_name %></a>
-<td><a href="/message/read/<%- row.message_id %>"><%= row.subject %></a>
-<td><%= row.time %>
-<% }); } else { %>
-<tr><td colspan="3">No messages</td>
-<% } %>
-</table>
-<p><a href="/outbox">Outbox</a>