summaryrefslogtreecommitdiff
path: root/views/partials/threads.ejs
blob: 710989ad2d05160cb476b5ea9b413c62def9d53d (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<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 colspan="4">
        <a href="/post">New thread!</a> |
        <a href="/stream">Stream</a> |
        <a href="/keywords">Keywords</a> |
        <a href="/users">Users</a> |
        <a href="/mail">Inbox</a> |
        <a href="/profile">Profile</a> |
        <a href="/logout" class="logout">Logout</a>
      </td>
    </tr>
  </script>

  <script class="profileTemplate" type="text/html">
    <tr class='keyword'>
      <td>
      </td>
      <td colspan="4">
      </td>
    </tr>
  </script>

  <script class="keywordTemplate" type="text/html">
    <tr class='keyword'>
      <td>
        <b><a href="/stream/{{keyword}}">{{keyword}}</a></b>&nbsp;&middot;
      </td>
      <td>
        <a href="/post/{{keyword}}">post</a>&nbsp;&middot;
        <a href="/stream/keyword/{{keyword}}">stream</a>&nbsp;&middot;
        <a href="/index/keyword/{{keyword}}">index</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 {{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>