diff options
author | Martin Ashby <martin@ashbysoft.com> | 2023-08-22 10:49:17 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2023-08-22 10:49:17 +0100 |
commit | 7ed589a06539fcc91ab779a1e6de0a995f8238b5 (patch) | |
tree | f23bd017d43af4714280aea2d152379370393214 /zig-comments/src/templates | |
parent | 8f7f272d68b4197f17d1e76c97546017b8ebea90 (diff) | |
download | mfashby.net-7ed589a06539fcc91ab779a1e6de0a995f8238b5.tar.gz mfashby.net-7ed589a06539fcc91ab779a1e6de0a995f8238b5.tar.bz2 mfashby.net-7ed589a06539fcc91ab779a1e6de0a995f8238b5.tar.xz mfashby.net-7ed589a06539fcc91ab779a1e6de0a995f8238b5.zip |
Replace comments with zig version
Diffstat (limited to 'zig-comments/src/templates')
-rw-r--r-- | zig-comments/src/templates/badrequest.html | 6 | ||||
-rw-r--r-- | zig-comments/src/templates/capchainvalid.html | 6 | ||||
-rw-r--r-- | zig-comments/src/templates/comments.html | 9 | ||||
-rw-r--r-- | zig-comments/src/templates/form.html | 11 | ||||
-rw-r--r-- | zig-comments/src/templates/notfound.html | 6 | ||||
-rw-r--r-- | zig-comments/src/templates/notification.txt | 5 |
6 files changed, 0 insertions, 43 deletions
diff --git a/zig-comments/src/templates/badrequest.html b/zig-comments/src/templates/badrequest.html deleted file mode 100644 index 927e908..0000000 --- a/zig-comments/src/templates/badrequest.html +++ /dev/null @@ -1,6 +0,0 @@ -<doctype HTML> -<html> -<body> - <p>Bad Request!</p> -</body> -</html>
\ No newline at end of file diff --git a/zig-comments/src/templates/capchainvalid.html b/zig-comments/src/templates/capchainvalid.html deleted file mode 100644 index f13899b..0000000 --- a/zig-comments/src/templates/capchainvalid.html +++ /dev/null @@ -1,6 +0,0 @@ -<doctype HTML> -<html> -<body> - <p>Capcha invalid!</p> -</body> -</html>
\ No newline at end of file diff --git a/zig-comments/src/templates/comments.html b/zig-comments/src/templates/comments.html deleted file mode 100644 index e2fc6da..0000000 --- a/zig-comments/src/templates/comments.html +++ /dev/null @@ -1,9 +0,0 @@ -<ul class="comments"> -{{#comments}} - <li class="comment"> - <span class="comment author">{{author}}</span> - <p class="comment content">{{comment}}</p> - <span class="comment timestamp">{{ts}}</span> - </li> -{{/comments}} -</ul> diff --git a/zig-comments/src/templates/form.html b/zig-comments/src/templates/form.html deleted file mode 100644 index e7a836f..0000000 --- a/zig-comments/src/templates/form.html +++ /dev/null @@ -1,11 +0,0 @@ -<form action="/api/comment" method="post"> - <input type="hidden" name="url" value="{{url}}"><br> - <input type="hidden" name="capcha_id" value="{{capcha_id}}"><br> - <label for="author">Name:</label><br> - <input type="text" id="author" name="author"><br> - <label for="comment">Comment:</label><br> - <input type="text" id="comment" name="comment"><br> - <label for="capcha">{{ capcha_question }}</label><br> - <input type="text" id="capcha" name="capcha_answer"><br> - <input type="submit" value="Submit"> -</form> diff --git a/zig-comments/src/templates/notfound.html b/zig-comments/src/templates/notfound.html deleted file mode 100644 index 795d262..0000000 --- a/zig-comments/src/templates/notfound.html +++ /dev/null @@ -1,6 +0,0 @@ -<!doctype HTML> -<html> -<body> - <p>Not found!</p> -</body> -</html>
\ No newline at end of file diff --git a/zig-comments/src/templates/notification.txt b/zig-comments/src/templates/notification.txt deleted file mode 100644 index ba85056..0000000 --- a/zig-comments/src/templates/notification.txt +++ /dev/null @@ -1,5 +0,0 @@ -New comment on {{ url }}: - -Author: {{ author }} - -Comment: {{ comment }}
\ No newline at end of file |