diff --git a/controllers/HomeController.ts b/controllers/HomeController.ts index 64ea474..a8e5e29 100644 --- a/controllers/HomeController.ts +++ b/controllers/HomeController.ts @@ -18,6 +18,10 @@ export default class HomeController extends Controller { return this.view(); } + public async ImageList_Get() { + return this.view(); + } + public async Upload_Post_AllowAnonymous() { const data = await this.req.file(); if (data && data.type === "file") { diff --git a/models/home/ImageListViewModel.ts b/models/home/ImageListViewModel.ts new file mode 100644 index 0000000..7a5dd56 --- /dev/null +++ b/models/home/ImageListViewModel.ts @@ -0,0 +1,3 @@ +export default interface ImageListViewModel { + +} \ No newline at end of file diff --git a/views/home/imagelist.ejs b/views/home/imagelist.ejs new file mode 100644 index 0000000..6247134 --- /dev/null +++ b/views/home/imagelist.ejs @@ -0,0 +1,22 @@ +<%- include("../base/header", { title: "Home", session }) %> + +
+ +
+
+
+
+
Recent Uploads
+ +
+
+
+
+ +
+
+
+
+
+ +<%- include("../base/footer") %> \ No newline at end of file