summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-22 07:46:52 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-22 07:47:41 +0100
commitfe7ee50baa8f96836ecefa2088d129b90705125c (patch)
treed148e031ac882a1af0ea35629d6cd27c560d50fb /views
parentfa4ed0f3b1ce5decfc6ee59d38e63e78a7793de4 (diff)
new mail alert
Diffstat (limited to 'views')
-rw-r--r--views/pages/index.ejs1
-rw-r--r--views/pages/mailbox.ejs4
2 files changed, 3 insertions, 2 deletions
diff --git a/views/pages/index.ejs b/views/pages/index.ejs
index 8b4e033..1a6255b 100644
--- a/views/pages/index.ejs
+++ b/views/pages/index.ejs
@@ -8,6 +8,7 @@
<div id="sidebar">
<% include ../partials/searchform %>
+ <div class="bluebox alert"></div>
<span class="lastlog bluebox">
<script class="template" type="text/html">
<a href="/profile/{{username}}">{{username}}</a>
diff --git a/views/pages/mailbox.ejs b/views/pages/mailbox.ejs
index d06bd7a..a0304d7 100644
--- a/views/pages/mailbox.ejs
+++ b/views/pages/mailbox.ejs
@@ -6,7 +6,7 @@
</div>
<div id="content">
-
+
<h3 id="no_messages">
No messages
</h3>
@@ -19,7 +19,7 @@
{{to}} <a href="/profile/{{username}}">{{username}}</a> &middot;
</td>
<td class="ivory">
- <a href="/mail/read/{{id}}">{{subject}}</a>
+ <a href="/mail/read/{{id}}" class="{{unread}}">{{subject}}</a>
</td>
<td class="{{date_class}}">
{{date}} <small>{{time}}</small>