summaryrefslogtreecommitdiff
path: root/views/pages/mailbox.ejs
blob: 62cf718762f56bfd19f0c1ece50218e5e1898537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<% include ../partials/header %>

<hr>

<div id="sidebar">
  <div class="bluebox">
    <b><big>message center</big></b>
  </div>
  <div class="bluebox" id="boxes">
    <table>
      <tr>
        <th>Folders</th>
        <td>msgs</td>
      </tr>
    </table>
    <script type="text/html" class="template">
      <tr>
        <td><a href="/mail/{{box}}">{{box}}</a></td>
        <td>{{count}}</td>
      </tr>
    </script>
  </div>
</div>

<div id="content">

  <table class="messages">
    <script class="template" type="text/html">
      <tr>
        <td>
          <a href="/profile/{{username}}">{{username}}</a>
          {{privacy_dot}}
        </td>
        <td>
          <a href="/mail/read/{{id}}">{{subject}}</a>
        </td>
        <td class="{{date_class}}">
          {{date}} <small>{{time}}</small>
        </td>
        <td>
          <span class="{{size_class}}">{{size}}</span>
        </td>
        <td>
          [reply]
          [delete]
        </td>
      </tr>
    </script>
  </table>

</div>

<% include ../partials/footer %>