From fb536c2bcb8c4a99dc386fc40ecd76b6a2ccbfc5 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 28 Mar 2023 09:41:27 +0200 Subject: [PATCH] didn't commit template --- Makefile | 4 +- templates/formtemplate.html | 99 +++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+), 2 deletions(-) create mode 100644 templates/formtemplate.html diff --git a/Makefile b/Makefile index 671fefc..57bd194 100644 --- a/Makefile +++ b/Makefile @@ -81,9 +81,9 @@ show-versions: buildlocal goupdate: go get -t -u=patch ./... -cmd/%.go: templates/%.tpl +cmd/%.go: templates/%.html echo "package cmd" > cmd/$*.go echo >> cmd/$*.go echo "const formtemplate = \`" >> cmd/$*.go - cat templates/$*.tpl >> cmd/$*.go + cat templates/$*.html >> cmd/$*.go echo "\`" >> cmd/$*.go diff --git a/templates/formtemplate.html b/templates/formtemplate.html new file mode 100644 index 0000000..bdb7a22 --- /dev/null +++ b/templates/formtemplate.html @@ -0,0 +1,99 @@ + + + + + + + + + + File upload form + + + + + +
+

Upload form {{ .Id }}

+ +
+ + +
+
+ +
+

+ Use this form to upload one or more files. The creator of the form will automatically get notified. +

+
+
+ +
+ +
+
+ +
+ +
+ +
+
+
+ + +
+
+
+ + + + + + +