summaryrefslogtreecommitdiff
path: root/views/pages/details.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/pages/details.ejs')
-rw-r--r--views/pages/details.ejs59
1 files changed, 59 insertions, 0 deletions
diff --git a/views/pages/details.ejs b/views/pages/details.ejs
new file mode 100644
index 0000000..ea3333c
--- /dev/null
+++ b/views/pages/details.ejs
@@ -0,0 +1,59 @@
+<% include ../partials/header %>
+
+<hr>
+
+<div id="details">
+ <table id="comments">
+ <script class="template" type="text/html">
+ <tr>
+ <td>
+ <a href="/profile/{{username}}"><img src="//www.carbonpictures.com/bucky/data/profile/.thumb/am.{{username}}.jpg"></a>
+ <a href="/profile/{{username}}">{{username}}</a>
+ <td colspan="2">
+ {{comment}}
+ <br><br>
+ <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>
+
+ <table id="files">
+ <script class="template" type="text/html">
+ <tr>
+ <td>
+ <a href="{{link}}">{{filename}}</a>
+ </td>
+ <td class="{{date_class}}">
+ {{date}}
+ </td>
+ <td class="{{date_class}}">
+ {{time}}
+ </td>
+ <td>
+ {{size}}
+ </td>
+ <td>
+ <a href="/profile/{{username}}">{{username}}</a>
+ </td>
+ </tr>
+ </script>
+ <script class="templateTotal" type="text/html">
+ <tr>
+ <td colspan="5">
+ total size: <span class="{{size_class}}">{{size}}</span>
+ </td>
+ </tr>
+ </script>
+ </table>
+</div>
+
+
+<% include ../partials/footer %>