aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordan <[email protected]>2023-05-15 12:54:40 -0400
committerdan <[email protected]>2023-05-15 12:54:40 -0400
commitaecc6ee8009fa70d012510a9babd50e5f364dece (patch)
tree83dd6bbb5f64bc3ddbcec920c16f72107ef8c26c
parentbee64e69fd73729123989348c8008caf8443ad98 (diff)
downloadsimple-comments-widget-aecc6ee8009fa70d012510a9babd50e5f364dece.tar.gz
simple-comments-widget-aecc6ee8009fa70d012510a9babd50e5f364dece.tar.bz2
simple-comments-widget-aecc6ee8009fa70d012510a9babd50e5f364dece.zip
feat: add demo html
-rw-r--r--client.html32
1 files changed, 32 insertions, 0 deletions
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>