add notifs

This commit is contained in:
biglyderv 2025-03-02 04:09:17 -05:00
parent 8c00723e16
commit 729a7b8c56
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
9 changed files with 158 additions and 5 deletions

11
views/message.ejs Normal file
View file

@ -0,0 +1,11 @@
<div class='main'>
<h1 class="header-big">
Message
</h1>
<div>
<span class='commentbox'><a class='link' href='<%= link %>'><%= content %></a> </span>
</div>
<% if (!isNaN(date * 1)) { %>
<div class='sub'><b>Sent on</b> <%= new Date(date).toISOString() %> </div>
<% } %>
</div>

4
views/messages.ejs Normal file
View file

@ -0,0 +1,4 @@
<% for (let reply of messages) { %>
<%- include ('message.ejs', reply || {}) %>
<% } %>