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

<hr>

<div id="details">
  <table id="comments">
    <script class="template" type="text/html">
      <tr>
        <td class="user">
          <a href="/profile/{{username}}"><img src="//www.carbonpictures.com/bucky/data/profile/.thumb/al.{{username}}.jpg"></a><br>
          <a href="/profile/{{username}}">{{username}}</a>
        </td>
        <td colspan="2" class="comment">
          <div>
            {{comment}}
          </div>
          <span class="date">
            {{date}} {{time}}
          </span>
          <span class="edit-links">
            <a href="/comment/{{id}}/edit">edit</a> &middot;
            <a href="/comment/{{id}}/remove">remove</a> &middot;
            <a href="/comment/{{id}}/reply">reply</a>
          </span>
        </td>
      </tr>
    </script>
  </table>

  <div id="audio"></div>
  
  <table id="files">
    <script class="template" type="text/html">
      <tr class="row">
        <td>
          <a href="{{link}}" class="file">{{filename}}</a>
        </td>
        <td class="{{date_class}}">
          {{date}}
        </td>
        <td class="{{date_class}}">
          {{time}}
        </td>
        <td>
          {{size}}
        </td>
        <td class="user">
          <a href="/profile/{{username}}">{{username}}</a>
        </td>
      </tr>
    </script>
    <script class="templateTotal" type="text/html">
      <tr class="total">
        <td colspan="5">
          total size: <span class="{{size_class}}">{{size}}</span>
        </td>
      </tr>
    </script>
  </table>
</div>


<% include ../partials/footer %>