summaryrefslogtreecommitdiff
path: root/views/partials/threads.ejs
blob: be3e458e2cd240e18a1524644f570d7bcc3fd950 (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
54
55
56
<table class="ledger" id="threads">

  <script class="welcomeTemplate" type="text/html">
    <tr class='keyword'>
      <td>
        <b><i>the&nbsp;latest</i></b>&nbsp;&middot;
      </td>
      <td>
        <a href="/post/">Start a new thread!</a> |
        <a href="/mail">Inbox</a> |
        <a href="/profile">Profile</a> |
        <a href="/logout">Logout</a>
      </td>
    </tr>
  </script>

  <script class="keywordTemplate" type="text/html">
    <tr class='keyword'>
      <td>
        <b>{{keyword}}</b>&nbsp;&middot;
      </td>
      <td>
        <a href="/post/{{keyword}}">post</a>
      </td>
    </tr>
  </script>
  
  <script class="template" type="text/html">
    <tr class='row'>
      <td>
        <a href="/profile/{{username}}">{{username}}</a>&nbsp;{{privacy_dot}}
      </td>
      <td class="{{color}} title">
        <a href="/details/{{id}}">{{title}}</a>
      </td>
      <td class="{{date_class}}">
        {{date}} <small>{{time}}</small>
      </td>
      <td class="{{views_class}}">
        {{views}}
      </td>
      <td class="{{comments_class}}">
        {{comments}}
      </td>
      <td class="{{show_files}}">
        <span class="size">
          <span class="{{size_class}}">{{size}}</span>
          in
        </span>
        <span class="{{files_class}}">{{files}}</span>
      </td>
    </tr>
  </script>
  
</table>