Mercurial > hg > Blog
diff themes/tuxlite_tbs/templates/simple_comments.html @ 10:bd8e75de187a
use the simple_comments plugin instead of juvia now
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 15 Jul 2013 11:43:18 +0200 |
parents | |
children | bb1f035109da |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/tuxlite_tbs/templates/simple_comments.html Mon Jul 15 11:43:18 2013 +0200 @@ -0,0 +1,32 @@ +{% if article.comments %} + {% for comment in article.comments %} + <div style="border-bottom: 1px dotted #CCCCCC; padding: 20px 0px 20px 0px;"> + <div style="font-weight: bold;"> + {{ comment.Author }} + </div> + <div style="font-size: 80%; padding: 0px 0px 10px 0px;"> + {{ comment.Date }} + </div> + <div> + {{ comment.text }} + </div> + </div> + {% endfor %} +{% endif %} +<div style="padding: 20px 0px 0px 0px;"> + <div style="font-size: 120%;"> + Leave a comment + </div> + <form action="http://xanthippe.dyndns.org/blog-comments/simple_comments.php" method="POST"> + <input type="hidden" name="Slug" value="{{ article.slug }}"> + <div style="padding: 10px 0px 0px 0px;"> + Your name: <input type="text" name="Author"> + </div> + <div> + <textarea rows="5" cols="60" name="Comment"></textarea> + </div> + <div> + <input type="submit" value="Submit"> + </div> + </form> +</div> \ No newline at end of file