From 283c31564a9d5dab4b8b71d7498886b0cd20a999 Mon Sep 17 00:00:00 2001 From: Jan Wolff Date: Fri, 12 Sep 2025 09:34:01 +0200 Subject: initial commit --- controller/template/404.html | 7 ++++++ controller/template/base.html | 49 +++++++++++++++++++++++++++++++++++++++ controller/template/index.html | 28 ++++++++++++++++++++++ controller/template/uploaded.html | 10 ++++++++ 4 files changed, 94 insertions(+) create mode 100644 controller/template/404.html create mode 100644 controller/template/base.html create mode 100644 controller/template/index.html create mode 100644 controller/template/uploaded.html (limited to 'controller/template') diff --git a/controller/template/404.html b/controller/template/404.html new file mode 100644 index 0000000..fa19547 --- /dev/null +++ b/controller/template/404.html @@ -0,0 +1,7 @@ +{{define "404"}} +{{template "header" .}} +
+

no such file

+
+{{template "footer" .}} +{{end}} diff --git a/controller/template/base.html b/controller/template/base.html new file mode 100644 index 0000000..c91245d --- /dev/null +++ b/controller/template/base.html @@ -0,0 +1,49 @@ +{{define "header"}} + + + + drop.janw.name + + + + + + + +{{end}} + +{{define "footer"}} + + +{{end}} diff --git a/controller/template/index.html b/controller/template/index.html new file mode 100644 index 0000000..f50be97 --- /dev/null +++ b/controller/template/index.html @@ -0,0 +1,28 @@ +{{define "index"}} +{{template "header" .}} +
+

drop.janw.name

+
+
+ + +
+
+ + +
+
+ + +
+ +
+
+{{template "footer" .}} +{{end}} diff --git a/controller/template/uploaded.html b/controller/template/uploaded.html new file mode 100644 index 0000000..1324082 --- /dev/null +++ b/controller/template/uploaded.html @@ -0,0 +1,10 @@ +{{define "uploaded"}} +{{template "header" .}} +
+

File uploaded successfully

+

+ {{.DownloadURL}} +

+
+{{template "footer" .}} +{{end}} -- cgit v1.2.3