summaryrefslogtreecommitdiff
path: root/views/partials/files.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials/files.ejs')
-rw-r--r--views/partials/files.ejs29
1 files changed, 29 insertions, 0 deletions
diff --git a/views/partials/files.ejs b/views/partials/files.ejs
new file mode 100644
index 0000000..d72dcdc
--- /dev/null
+++ b/views/partials/files.ejs
@@ -0,0 +1,29 @@
+<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>