aboutsummaryrefslogtreecommitdiffhomepage
path: root/views/directory.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/directory.ejs')
-rw-r--r--views/directory.ejs17
1 files changed, 17 insertions, 0 deletions
diff --git a/views/directory.ejs b/views/directory.ejs
new file mode 100644
index 0000000..7317794
--- /dev/null
+++ b/views/directory.ejs
@@ -0,0 +1,17 @@
1<html>
2<head>
3 <title> <%= dirPath %> </title>
4</head>
5
6<body>
7
8Directory <%= dirPath %>:
9
10<ul>
11<% entries.forEach(function (entry) { %>
12 <li><a href="/api/files/<%= dirPath %>/<%= entry %>"><%= entry %></a></li>
13<% }); %>
14</ul>
15
16</body>
17</html> \ No newline at end of file