summaryrefslogtreecommitdiff
path: root/views/pages/details.ejs
blob: 05c94242e55c5175a66e6e437b8ac4c702f4b560 (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
71
72
73
74
<% include ../partials/header %>

<hr>

<div id="details_rapper">
  <div id="details">
    <div class="left">
      <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>
  
    <div class="right">
      <div class="gallery">
        <script class="template" type="text/html">
        </script>
      </div>
      <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>

  </div>
</div>


<% include ../partials/footer %>