From 7ed589a06539fcc91ab779a1e6de0a995f8238b5 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Tue, 22 Aug 2023 10:49:17 +0100 Subject: Replace comments with zig version --- comments/src/templates/badrequest.html | 6 ++++++ comments/src/templates/capchainvalid.html | 6 ++++++ comments/src/templates/comments.html | 9 +++++++++ comments/src/templates/form.html | 11 +++++++++++ comments/src/templates/notfound.html | 6 ++++++ comments/src/templates/notification.txt | 5 +++++ 6 files changed, 43 insertions(+) create mode 100644 comments/src/templates/badrequest.html create mode 100644 comments/src/templates/capchainvalid.html create mode 100644 comments/src/templates/comments.html create mode 100644 comments/src/templates/form.html create mode 100644 comments/src/templates/notfound.html create mode 100644 comments/src/templates/notification.txt (limited to 'comments/src/templates') diff --git a/comments/src/templates/badrequest.html b/comments/src/templates/badrequest.html new file mode 100644 index 0000000..927e908 --- /dev/null +++ b/comments/src/templates/badrequest.html @@ -0,0 +1,6 @@ + + + +

Bad Request!

+ + \ No newline at end of file diff --git a/comments/src/templates/capchainvalid.html b/comments/src/templates/capchainvalid.html new file mode 100644 index 0000000..f13899b --- /dev/null +++ b/comments/src/templates/capchainvalid.html @@ -0,0 +1,6 @@ + + + +

Capcha invalid!

+ + \ No newline at end of file diff --git a/comments/src/templates/comments.html b/comments/src/templates/comments.html new file mode 100644 index 0000000..e2fc6da --- /dev/null +++ b/comments/src/templates/comments.html @@ -0,0 +1,9 @@ +
    +{{#comments}} +
  • + {{author}} +

    {{comment}}

    + {{ts}} +
  • +{{/comments}} +
diff --git a/comments/src/templates/form.html b/comments/src/templates/form.html new file mode 100644 index 0000000..e7a836f --- /dev/null +++ b/comments/src/templates/form.html @@ -0,0 +1,11 @@ +
+
+
+
+
+
+
+
+
+ +
diff --git a/comments/src/templates/notfound.html b/comments/src/templates/notfound.html new file mode 100644 index 0000000..795d262 --- /dev/null +++ b/comments/src/templates/notfound.html @@ -0,0 +1,6 @@ + + + +

Not found!

+ + \ No newline at end of file diff --git a/comments/src/templates/notification.txt b/comments/src/templates/notification.txt new file mode 100644 index 0000000..ba85056 --- /dev/null +++ b/comments/src/templates/notification.txt @@ -0,0 +1,5 @@ +New comment on {{ url }}: + +Author: {{ author }} + +Comment: {{ comment }} \ No newline at end of file -- cgit v1.2.3-ZIG