From aecc6ee8009fa70d012510a9babd50e5f364dece Mon Sep 17 00:00:00 2001 From: dan <me@danrh.co.uk> Date: Mon, 15 May 2023 12:54:40 -0400 Subject: feat: add demo html --- client.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 client.html (limited to 'client.html') diff --git a/client.html b/client.html new file mode 100644 index 0000000..ada7604 --- /dev/null +++ b/client.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html> + <head> + <!-- usage demo --> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" href="style.css"> + </head> + <body> + <h5>Comments</h5> + <form class="comment-form" action="javascript:handleCommentFormSubmit()"> + <span width="100%"> + <label for="username">Posting as:</label> + <input id="username" type="text" value="anon"/> + </span> + <span> + <textarea + maxlength="540" + id="commentcontent" + name="content" + value="" + rows="5" + cols="50"></textarea> + </span> + <label for="bot">Are you a bot? Type no if not.</label> + <input id="bot" type="text" value=""/> + <input id="submit" type="submit" value="Post"/> + </form> + + <div id="commentsthread"></div> + <script type="text/javascript" src="client.js"></script> + </body> +</html> -- cgit v1.2.3