summaryrefslogtreecommitdiff
path: root/views/pages/mailbox.ejs
blob: e4e0302a270f46a8b0c5e572b58a88146de5e408 (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
<% include ../partials/header %>

<div id="content">

  <table id="messages" class="ledger">
    <script class="template" type="text/html">
      <tr class='row'>
        <td>
          {{to}} <a href="/profile/{{username}}">{{username}}</a> &middot;
        </td>
        <td class="ivory">
          <a href="/message/{{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>

<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>

<% include ../partials/footer %>